# SKILL.md

> Canonical: https://skillalmanac.com/glossary/skills-md | Last verified: 2026-11-24 | Index status: not offered to search engines

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.

## How it shows up when you use agents

When you install or write an [agent skill](/glossary/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](/glossary/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](/learn/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.

## Worked examples in this catalogue

### [What are Claude skills? Definition, SKILL.md format and where they work](https://skillalmanac.com/learn/what-are-claude-skills)

Status: illustrative example from the item's own documentation, not executed for this page.

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-authoring-and-evals](https://skillalmanac.com/skills/skill-almanac/skill-authoring-and-evals)

Status: illustrative example from the item's own documentation, not executed for this page.

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-creator](https://skillalmanac.com/skills/anthropic/skill-creator)

Status: illustrative example from the item's own documentation, not executed for this page.

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.

### [Claude Code](https://skillalmanac.com/tools/claude-code)

```
/reload-skills
```

Status: illustrative example from the item's own documentation, not executed for this page.

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.

## Related terms

- [Agent skill](https://skillalmanac.com/glossary/agent-skill.md)
- [Agent instruction file](https://skillalmanac.com/glossary/agent-instruction-file.md)
- [Agent harness](https://skillalmanac.com/glossary/agent-harness.md)
- [Context window](https://skillalmanac.com/glossary/context-window.md)
- [Model Context Protocol (MCP)](https://skillalmanac.com/glossary/model-context-protocol.md)
- [Agent plugin](https://skillalmanac.com/glossary/agent-plugin.md)

## Sources

- [Specification - Agent Skills](https://agentskills.io/specification), Agent Skills (agentskills.io) (accessed 2026-11-24)
- [Extend Claude with skills](https://code.claude.com/docs/en/skills), Anthropic (Claude Code Docs) (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
