A SKILL.md file defines a skill — a self-contained capability that lives as a folder inside your agent’s workspace. It tells the agent when the skill applies, how to run it, and what it must never do. Drop the folder into workspace/skills/, point to it from AGENTS.md, and the agent discovers and runs it on its own — no code changes.
Where to Use
You can use SKILL.md with:
How It Works
A skill is just a directory under workspace/skills/. Each one owns a SKILL.md plus the scripts, templates, and assets it needs:
- Create a folder named after your skill inside
workspace/skills/
- Add a
SKILL.md with When to Use, Usage, and Important sections
- Optionally add scripts,
templates/, and assets/
- Register the skill in
AGENTS.md so the agent knows when to reach for it
The agent never imports the skill. It discovers it at runtime by reading files: AGENTS.md routes the request, then the agent opens the matching SKILL.md only when a task needs it (progressive disclosure). See Skills for the full walkthrough.
Template
Copy and customize this SKILL.md for your use case:
Register the Skill in AGENTS.md
Add the skill to your AGENTS.md so the agent knows it exists and when to use it:
Keep formatting decisions in scripts and templates — never in the agent’s head. The agent’s job is to choose and orchestrate the skill, not to reinvent its output. This is what keeps results reproducible across runs.