Guidelines for writing Agent Skills that comply with the agentskills.io specification. WHEN: "create a skill", "new skill", "write a skill", "skill template", "skill structure", "review skill", "skill PR", "skill compliance", "SKILL.md format", "skill frontmatter", "skill best practices".
92
88%
Does it follow best practices?
Impact
100%
1.35xAverage score across 3 eval scenarios
Passed
No known issues
This skill provides guidance for writing Agent Skills that comply with the agentskills.io specification.
name: 1-64 chars, lowercase + hyphens, match directorydescription: 1-1024 chars, ≤60 words, explain WHAT and WHENWHEN: with quoted trigger phrases (preferred over USE FOR:)DO NOT USE FOR: (keyword contamination on Sonnet)>- folded scalars)SKILL.md (required) - Instructionsreferences/ (optional) - Detailed docsscripts/ (optional) - Executable codeFrontmatter: name (lowercase-hyphens), description (WHAT + WHEN)
Metadata (~100 tokens) loads at startup. SKILL.md (<5000 tokens) loads on activation. References load only when explicitly linked (not on activation). Keep SKILL.md lean.
References are JIT (just-in-time) loaded:
[text](references/file.md) load[Recipes](references/recipes/README.md) not [Recipes](references/recipes/)See REFERENCE-LOADING.md for details.
# Run from the scripts directory
cd scripts
npm run references # Validate all skill links
npm run tokens -- check # Check token limitsWhen reviewing or authoring skills, verify:
See Validation for detailed procedures.
1f4304b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.