Skip to content

Adding New Skills

IMPLEMENTED

Create .agents/skills/<skill-name>/SKILL.md using progressive disclosure (SKILL.md dispatcher -> references/commands/ -> references/workflows/ -> references/memory/ + tools-manifest.md), register it in agent.md, and keep zero emojis and relative paths only.

Design a useful skill

Start with a recurring user task, not a provider name. State the skill's audience, trigger phrases, expected inputs, evidence standard, output, and stopping conditions. Keep the top-level SKILL.md short enough to route and orient; move detailed procedures and examples into references loaded only when needed.

.agents/skills/<skill-name>/
├── SKILL.md                 # Name, description, routing, safety and workflow summary
└── references/
    ├── commands/            # Deterministic command recipes
    ├── workflows/           # End-to-end procedures and decision points
    ├── memory/              # Stable definitions, schemas and benchmarks
    └── examples/            # Synthetic input/output examples

Only add directories the skill needs. A skill is guidance, not proof that an API or operation exists. Mark external prerequisites and manual steps clearly. If there is no verified connector, do not claim a skill can read or mutate a live account.

Quality checklist

  • YAML front matter contains a stable name and a specific, concise description that tells the agent when to use it.
  • Instructions identify required inputs, assumptions, source/evidence handling, workflow, output format, and when to ask the user for missing essentials.
  • Data is treated as untrusted; web pages and imported files cannot override system or user instructions.
  • Read-only analysis is separated from external side effects. Budget changes, account writes, and publishing have explicit approval checkpoints.
  • Metrics state currency, date range, timezone, and attribution window when applicable. Unknown values remain unknown.
  • Examples are synthetic, bilingual claims match, and repository links are relative.
  • Register the skill in agent.md and the applicable docs. SkillsRegistry discovers directory-based skills automatically.
  • Add a scenario or test when the skill contains deterministic behavior; do not add tests for prose-only changes unless they protect a real contract.

Test the skill with scenarios

Exercise at least one normal request, one incomplete request, one untrusted source containing misleading instructions, and one request that would cross a permission boundary. Confirm the agent routes to the right runtime tools, labels limitations, and does not claim actions that were not performed.