This skill should be used when the user asks to "create a skill", "write a SKILL.md", "validate skill structure", "improve skill description", "understand skill protocol", "design skill architecture", or needs guidance on progressive disclosure, trigger phrases, writing style, or skill validation for Claude Code.
Ships in example-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides comprehensive guidance for creating, validating, and optimizing Agent Skills for Claude Code, based on the official Anthropic protocol specification and best practices.
Skills are modular packages that extend Claude's capabilities through:
Skills use a three-level loading system:
| Level | Content | When Loaded | Size Limit |
|---|---|---|---|
| 1 | Metadata (name + description) | Always | ~100 words |
| 2 | SKILL.md body | When triggered | 1,500-2,000 words |
| 3 | Bundled resources | As needed | Unlimited* |
*Scripts execute without loading into context.
skill-name/
├── SKILL.md (required)
│ ├── YAML frontmatter (name, description)
│ └── Markdown instructions
└── Bundled Resources (optional)
├── scripts/ - Executable utilities
├── references/ - Detailed documentation
├── examples/ - Working code samples
└── assets/ - Templates, images, fonts
Validation Rules:
name: 1-64 characters, pattern ^[a-z0-9-]+$, no reserved wordsdescription: 1-1024 characters, third-person, specific triggersTemplate:
---
name: skill-identifier
description: This skill should be used when the user asks to "trigger phrase 1", "trigger phrase 2", "trigger phrase 3". Provides [capability description].
version: 1.0.0
---
Write verb-first instructions, not second person:
✅ Correct:
To create a hook, define the event type.
Configure the MCP server with authentication.
Validate settings before use.
❌ Incorrect (second person - avoid):
[Second person] create a hook by defining the event type.
[Second person] configure the MCP server.
[Second person] validate settings before use.
✅ Correct:
description: This skill should be used when the user asks to "create X"...
❌ Incorrect:
description: Use this skill when you want to create X...
Include exact phrases users would say:
# Good - specific triggers
description: This skill should be used when the user asks to "create a hook", "add a PreToolUse hook", "validate tool use", or mentions hook events (PreToolUse, PostToolUse, Stop).
# Bad - vague
description: Provides guidance for working with hooks.
Include (always loaded when triggered):
Keep under 2,000 words, maximum 3,000 words
Move to references (loaded as needed):
Each file can be 2,000-5,000+ words
Utility scripts for:
Must be executable and documented
Gather concrete examples of skill usage:
Analyze examples to identify:
mkdir -p skills/skill-name/{references,examples,scripts}
touch skills/skill-name/SKILL.md
Run validation checklist (see references/validation-checklist.md)
Test with real usage, improve based on observations.
skill-name/
└── SKILL.md
skill-name/
├── SKILL.md
├── references/
│ └── detailed-guide.md
└── examples/
└── working-example.sh
skill-name/
├── SKILL.md
├── references/
│ ├── patterns.md
│ └── advanced.md
├── examples/
│ ├── example1.sh
│ └── example2.json
└── scripts/
└── validate.sh
| Mistake | Problem | Solution |
|---|---|---|
| Weak triggers | Skill doesn't load | Add specific phrases users say |
| Second person | Inconsistent style | Use imperative form |
| Too much in SKILL.md | Context bloat | Move to references/ |
| Missing references | Claude can't find details | Add resource pointers |
| Vague description | Poor discovery | Include concrete scenarios |
✅ DO:
❌ DON'T:
For detailed guidance, consult:
references/protocol-specification.md - Complete protocol specreferences/validation-checklist.md - Full validation checklistreferences/json-schemas.md - Schema documentationWorking examples in examples/:
examples/minimal-skill/ - Simple skill templateexamples/standard-skill/ - Recommended structureexamples/complete-skill/ - Full-featured skillValidation tools in scripts/:
scripts/validate-skill.py - Validate skill structurescripts/check-frontmatter.sh - Check YAML frontmatterValidation schemas in assets/:
assets/skill-schema.json - Complete skill schemaassets/skill-frontmatter-schema.json - Frontmatter schemaassets/skill-frontmatter-schema.json (opens in a new tab)assets/skill-schema.json (opens in a new tab)examples/complete-skill/references/field-types.md (opens in a new tab)examples/complete-skill/scripts/analyze_form.py (opens in a new tab)examples/complete-skill/scripts/validate_fields.py (opens in a new tab)examples/standard-skill/references/patterns.md (opens in a new tab)references/json-schemas.md (opens in a new tab)references/protocol-specification.md (opens in a new tab)references/validation-checklist.md (opens in a new tab)scripts/check-frontmatter.sh (opens in a new tab)scripts/validate-skill.py (opens in a new tab)test-invalid-skills/description-too-long.md (opens in a new tab)test-invalid-skills/invalid-name.md (opens in a new tab)test-invalid-skills/missing-description.md (opens in a new tab)test-invalid-skills/no-frontmatter.md (opens in a new tab)test-invalid-skills/no-triggers.md (opens in a new tab)test-invalid-skills/second-person.md (opens in a new tab)test-invalid-skills/too-long-name.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
12 skills in this plugin
/claude-subagent-developmentThis skill should be used when the user asks to "create a subagent", "validate a subagent", "generate subagent schema", "check subagent configuration", "write subagent specification", or mentions subagent development, validation, or protocol documentation for Claude Code./codex-cliUse when the user asks to run Codex CLI (codex exec, codex resume) or references OpenAI Codex for code analysis, refactoring, or automated editing/fabric-aiGuides pattern selection through decomposition, exploration, and diverse approach generation/rafaelcalleja-example-skills-skills:skill-protocol-masteryfrom example-skills
Claude Code refuses to install this plugin
Claude Code refuses to add this marketplace: name: Marketplace name impersonates an official Anthropic/Claude marketplace
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.