Claude Code skills:the SKILL.md format, the folders, and how to review one.
A skill is a folder with a Markdown file that tells Claude Code how to do one job. This page shows where the files live, what goes in them and how to check a skill before you rely on it.
macOS 14 or later. Reading is free; editing and reviews are one payment.
Quick answer
Claude Code skills are folders that each hold a SKILL.md file: YAML front matter, then Markdown instructions. Personal skills live in ~/.claude/skills/<skill-name>/SKILL.md and apply to all your projects. Project skills live in .claude/skills/<skill-name>/SKILL.md, and you can commit them. No front matter field is required, but description is recommended so Claude knows when to use the skill. Open the folder in DotMD to read your skills rendered and review changes to them.
What Claude Code skills are
A skill is a set of instructions that Claude adds to its toolkit. You write them in a SKILL.md file. Claude uses the skill when it is relevant, or you run it yourself by typing /skill-name.
The Claude Code docs suggest a skill when you keep pasting the same checklist or procedure into the chat, or when a section of CLAUDE.md has turned into a procedure instead of a fact. The body of a skill loads only when the skill is used, so a long reference costs almost nothing until it is needed.
Where Claude Code skills are stored
Each skill is a folder named after the skill, with SKILL.md inside. The location decides who gets the skill:
- Personal:
~/.claude/skills/<skill-name>/SKILL.md. All your projects on this machine. - Project:
.claude/skills/<skill-name>/SKILL.md. Sessions in this repository. Commit it to share it with your team. - Nested:
<subdir>/.claude/skills/<skill-name>/SKILL.md. Sessions started in or below that subfolder. - Plugin:
<plugin>/skills/<skill-name>/SKILL.md. Wherever the plugin is enabled, as/plugin-name:skill-name. - Enterprise: deployed by an organization through its managed settings.
When an enterprise, a personal and a project skill share a name, enterprise wins over personal, and personal wins over project. Claude Code watches the personal and project skills folders, so adding or editing a skill takes effect without a restart. If you create a top-level skills folder that did not exist when the session started, run /reload-skills.
The SKILL.md format
A SKILL.md has two parts. First comes YAML front matter between --- lines, which must start on the first line of the file. After it comes the Markdown body with the instructions. If the YAML cannot be parsed, the skill still loads, with no fields set.
Per the docs, no field is required, and unknown field names are ignored. The ones you will use most:
name: the command name shown in the/menu. It defaults to the folder name.description: what the skill does and when to use it. Recommended. If you leave it out, the first non-empty line of the content is used.disable-model-invocation: set totrueto stop Claude from loading the skill by itself, so only you can run it.user-invocable: set tofalseto hide the skill from the/menu, so only Claude uses it.allowed-tools: tools Claude can use without asking while the skill runs.paths: glob patterns. Claude loads the skill automatically only when it works with matching files.
The docs list more fields, including argument-hint, model, effort and context. See the Claude Code skills page for the full table.
How to write a Claude Code skill: a small example
Save this as ~/.claude/skills/release-notes/SKILL.md:
---
name: release-notes
description: Drafts release notes from the commits since the last tag. Use when the user asks for release notes or a changelog entry.
---
# Release notes
1. Find the last tag with `git describe --tags --abbrev=0`.
2. List the commits since it with `git log <tag>..HEAD --oneline`.
3. Group them under Added, Changed and Fixed.
4. Write one short line per item, in the past tense.
5. Save the draft to `docs/release-notes-draft.md`.
Ask Claude Code for release notes, or type /release-notes. Claude reads the description to decide whether the skill fits a request, so say what the skill does and when to use it.
Supporting files next to SKILL.md
A skill folder can hold more than one file. Keep SKILL.md short and point to the rest from it. The docs recommend staying under 500 lines.
release-notes/
├── SKILL.md
├── reference.md
├── examples.md
└── scripts/
└── helper.py
Link to a supporting file from SKILL.md in plain Markdown, such as [examples.md](examples.md). Claude loads it when it is needed. A script in scripts/ is run, not read into the context.
How Claude decides to use a skill
In a normal session Claude Code loads the description of every available skill into the context, so Claude knows what exists. The full skill loads only when it is used. You can start a skill yourself by putting its name at the start of a message, such as /release-notes.
Two fields change this. With disable-model-invocation: true the description is not in the context and only you can run the skill. With user-invocable: false the skill is hidden from the menu and only Claude can use it.
Skills, CLAUDE.md and slash commands
- CLAUDE.md holds facts and rules that Claude reads at the start of every session. A skill holds a procedure and loads when it is used.
- Custom commands in
.claude/commands/still work and have been merged into skills. A file.claude/commands/deploy.mdand a skill.claude/skills/deploy/SKILL.mdboth give you/deploy. If both exist, the skill wins. The docs say custom commands have been merged into skills, and that a skill can also have supporting files.
For the instruction files themselves, see CLAUDE.md vs AGENTS.md.
Review a skill in DotMD
A skill is a Markdown file, and Claude often writes or edits it for you. A vague step or a wrong command in a skill is repeated every time the skill runs, so it is worth reading once with care.
-
Open the skills folder
Press ⌘O and choose
~/.claude/skillsor your project's.claude/skills. These folders are hidden: in the Open dialog, ⇧⌘. shows them. EverySKILL.mdappears in the sidebar. -
Read it rendered
DotMD shows the front matter and the body the way they are meant to read, with lists, tables and code blocks drawn. Reading is free.
-
Comment on a step
Select the step that is wrong or vague and press ⌥⌘M. Write what to change. Comments are kept by DotMD, not in the file.
-
Let Claude Code fix it
Tell Claude Code: "Go through my comments in DotMD." It reads them over MCP and edits the skill. Each fix sits next to its comment, the old text red and the new green. Accept or reopen each one. Connecting takes one line: see Claude Code.
Version history shows what changed in a skill between versions, including edits nobody asked for. History needs DotMD Editor; comments and reviews with agents need DotMD Reviewer. See pricing.
Questions about Claude Code skills
Where are Claude Code skills stored?
Personal skills are in ~/.claude/skills/<skill-name>/SKILL.md. Project skills are in .claude/skills/<skill-name>/SKILL.md inside the repository.
What is the difference between a skill and CLAUDE.md?
CLAUDE.md is read at the start of every session and holds rules and facts. A skill holds a procedure, and its body loads only when the skill is used.
Can I keep skills in git?
Yes. A project skill in .claude/skills/ can be committed, and the docs suggest committing it to share it with the team. Personal skills in ~/.claude/skills/ are outside any project.
Is a front matter field required in SKILL.md?
No. The docs say no field is required. description is recommended, so that Claude knows when to use the skill.