-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
What feature would you like to see?
https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills
Of course, I can just tell codex to read the SKILL.md file, but a more automatic indexing of the name and description from the frontmatter would be nice, too.
Additional information
At its simplest, a skill is a directory that contains a SKILL.md file. This file must start with YAML frontmatter that contains some required metadata: name and description. At startup, the agent pre-loads the name and description of every installed skill into its system prompt.
This metadata is the first level of progressive disclosure: it provides just enough information for Claude to know when each skill should be used without loading all of it into context. The actual body of this file is the second level of detail. If Claude thinks the skill is relevant to the current task, it will load the skill by reading its full SKILL.md into context.
As skills grow in complexity, they may contain too much context to fit into a single SKILL.md, or context that’s relevant only in specific scenarios. In these cases, skills can bundle additional files within the skill directory and reference them by name from SKILL.md. These additional linked files are the third level (and beyond) of detail, which Claude can choose to navigate and discover only as needed.
…
Skills can also include code for Claude to execute as tools at its discretion.