Skills are used for context that may be useful to a coding agent, without bloating LLM context when they are not relevant.
Skills are only worthwhile if the coding agent fails a task without the skill.
Skills live in /.agents/skills, with each skill having its own directory.
SKILL.md
Front matter
- Match the
nameto the directory name exactly. - Write the
descriptionas "Use when <scenario> - <what it does>" in under 30 words and third person. - Quote the description if it includes punctuation that could break YAML.
Markdown body
- Write concise instructions for the skill topic.
- Keep headings and bullet lists structured so readers can scan quickly.
Additional files
Other files, like scripts or data, may live in the directory and be referenced by the skill.
AGENTS.md
A GitHub Action automatically regenerates the skills list in AGENTS.md.