AI GLOSSARY · AGENTS AND AGENT TOOLING
SKILL.md
Definition
SKILL.md is the required file in an agent skill's folder. It holds YAML frontmatter, which includes a name and a description, followed by Markdown instructions that an agent follows when it decides the skill applies.
Also called: skill md, skill md file, SKILL.md file, agent skill file.
In plain language
SKILL.md is the instruction sheet inside a skill. A skill is a folder, and this file is the one part every skill must have. The top of the file is a short label: the skill's name and a sentence saying what it does and when to use it. Below that, in ordinary writing, are the steps the AI should follow. The assistant reads only the label at first, like scanning book spines, and opens the full file when a task matches. Its limitation is that it is text the assistant follows, so a vague label means the skill may not be picked up, and a skill from a stranger can tell the assistant to do things you did not intend.
Technical definition
The Agent Skills specification requires a skill directory to contain SKILL.md with YAML frontmatter followed by Markdown. The required name field is 1 to 64 characters of lowercase letters, numbers and hyphens that matches the directory name; the required description is 1 to 1024 characters. Optional fields are license, compatibility, metadata and an experimental allowed-tools. Optional scripts, references and assets directories sit beside the file. Agents load skills progressively: name and description at startup, the body when the skill is activated, other files when needed. Claude Code reads skills from .claude/skills/<skill-name>/SKILL.md in a project or ~/.claude/skills/ for personal use, and adds fields of its own beyond the standard.
Worked examples in this catalogue
Catalogue examples point at a skill, guide or coding tool listed on this site, with what to run and what you see. An example marked illustrative describes the item from its own documentation; it was not executed for this page. Platform Scores are our assessment under a published method, not a safety guarantee.
Guide · Illustrative, not executed
What are Claude skills? Definition, SKILL.md format and where they work
- What you see
- Defines a Claude skill as a folder with a SKILL.md file, shows the layout and frontmatter fields, explains three loading levels and lists where skills run: Claude Code, claude.ai and the Claude API.
- Why it exercises the concept
- It is the plainest walk-through of the file this entry defines, including what the frontmatter must contain and when the body is loaded.
Skill by Skill Almanac · Illustrative, not executed
skill-authoring-and-evals 62/100 · grade CScored · Method v0.2 · How we score
- What you see
- Writes a SKILL.md from what a plain agent gets wrong, then proves it works with trigger and with-versus-without evals.
- Why it exercises the concept
- It is the authoring side of the file: writing the description so the skill triggers, then testing that the body changes the result.
Skill by Anthropic · Illustrative, not executed
skill-creator 28/100 · Provisional, not yet measuredScored · Method v0.2 · How we score
- What you see
- Creates new skills, improves existing ones and measures how well they perform.
- Why it exercises the concept
- Published by Anthropic, it is one route to producing a correct SKILL.md without writing the frontmatter by hand.
Coding tool · Illustrative, not executed
Claude Code
- What to try
/reload-skills- What you see
- Claude Code's skills documentation says changes to skill directories apply within the current session, and that /reload-skills is the command to run if a new skill does not appear.
- Why it exercises the concept
- Claude Code is a host that reads SKILL.md files from the .claude/skills folders, so it is where a missing or malformed file shows up.
How it shows up when you use agents
When you install or write an agent skill, SKILL.md is the file the agent actually reads. Your tool keeps the name and description of each skill in context so the agent knows what is available, and loads the rest when a task matches. Claude Code's documentation describes it this way, and adds that you can also invoke a skill by typing its name after a slash.
Two practical consequences follow.
- The description decides whether the skill fires. The specification says it should say both what the skill does and when to use it, with keywords that help an agent recognise relevant tasks. A line such as "Helps with PDFs" is the specification's own example of a poor description.
- The body costs [context window](/glossary/context-window) once it loads. Both documents recommend keeping SKILL.md under 500 lines and moving detail into separate reference files.
What breaks when this is misunderstood: a file with the wrong folder name, a name that does not match its directory, or YAML that does not parse. Claude Code's documentation says that if the YAML does not parse, the skill still loads with no fields set, so a typo can fail quietly. If a new skill does not show up, check the path and the first line of the file before you rewrite the instructions.
SKILL.md is also an instruction file the agent follows, so read a third-party one before installing. It differs from a project-wide agent instruction file such as CLAUDE.md or AGENTS.md, which is loaded as general project guidance.
Common confusions
- SKILL.md versus a skill. The skill is the whole folder. SKILL.md is the required file inside it, beside optional scripts, references and assets.
- SKILL.md versus CLAUDE.md or AGENTS.md. Those files hold general project guidance. SKILL.md describes one task-specific capability that is loaded when it matches. See the agents-md-vs-claude-md guide for the first pair.
- Standard versus Claude Code extras. Claude Code's documentation says it adds fields beyond the open standard, and that outside Claude Code only a smaller set of fields is accepted on upload.
- Myth: the file name is flexible. The specification names SKILL.md as the required file in the directory.
Related terms
Terms that mention SKILL.md
2 terms mention this one
Guides that mention SKILL.md
More in Agents and agent tooling
Sources
- Specification - Agent Skills, Agent Skills (agentskills.io) (accessed 2026-11-24)
- Extend Claude with skills, Anthropic (Claude Code Docs) (accessed 2026-11-24)
Definitions are written by Skill Almanac from these sources and were checked against them on 2026-11-24. Wikipedia is never the only source.
Review record
Last verified
Drafted by claude-sonnet-5-5; sources and example targets checked by claude-haiku-5-5 source check; claude-sonnet-5-5 editor pass on 2026-11-24. Last verified .
This entry is still in review, so it is not listed in search engines yet.
Change log (1)
- : First version.