Skills
A skill is know-how the agent loads only when your request needs it, so you can have dozens without filling the context.
Anatomy
A skill is a folder named after it, with a SKILL.md inside:
---name: changelogdescription: Update CHANGELOG.md with the latest changes. Use when the user asks to update the changelog, write release notes or prepare a release.---1. Read CHANGELOG.md and the recent changes.2. Add a `## [Unreleased]` section at the top if there isn't one.3. Group entries under ### Added, ### Fixed or ### Changed.4. One line per change, starting with a verb.
The block between the --- lines is the frontmatter. name is lowercase with hyphens and matches the folder. description says what the skill does and when to use it. The rest is the instructions. You can add scripts or reference files in the same folder and mention them in the steps.
How the agent picks one
At the start of a session, the agent reads only each skill's name and description. When your request matches a description, it loads that whole SKILL.md and follows it. This is called progressive disclosure, and it's why the description matters more than anything else in the file. Write the words people actually use: "changelog", "release notes", "README".
You can also call one by name: /changelog in Claude Code, $changelog in Codex.
Where they go
The format is the same everywhere, so one skill works in several tools:
mkdir -p .agents/skillscp -r .claude/skills/changelog .agents/skills/
Ready-made skills
The skills hub lists ready-to-use skills: some written for this course, Remi Pelloux's guidelines and kill-my-idea, Anthropic's official skills and popular community ones. Each has its install command, and most show their whole SKILL.md, so you can read one before you install it.
Rules or skill?
Rules hold what's always true for the project. A skill holds how to do one specific job. "We use pnpm" is a rule. "How we write release notes" is a skill.