Skill structure
A skill is a folder in .claude/skills/ containing a SKILL.md file and optionally additional resources (docs, templates, scripts, checklists).
my-skill/├── SKILL.md # Instructions + frontmatter (required)├── reference.md # Reference documentation├── checklists/│ └── quality.md└── examples/ └── pattern.tsSKILL.md frontmatter
---name: security-guardiandescription: OWASP expertise, auth, and data protectionallowed-tools: Read Grep Bash---| Field | Role |
|---|---|
name | Kebab-case, 1-64 chars, must match the folder |
description | Activation trigger (max 1024 chars) |
allowed-tools | Tool whitelist (supports wildcards) |
disable-model-invocation | true for manual-only invocation |
Skills vs Commands
| Aspect | Skill | Command |
|---|---|---|
| Resources | Can embed files | Markdown only |
| Scope | Domain knowledge | Procedural workflow |
| Reuse | Between agents | Direct invocation |
| Standard | agentskills.io (portable) | Claude Code only |
The main difference: a skill can embed a 500-line reference.md file that becomes available on invocation. A command cannot.
Marketplace: npx add-skill
# Install the Vercel bundle (3 skills)npx add-skill vercel-labs/agent-skills
# Install the Supabase skillnpx add-skill supabase/agent-skills
# Check installed skillsls ~/.claude/skills/Marketplace skills pass an automatic 3-layer security audit (Socket, Snyk, Gen) before publication. Over 200 skills available.
Invocation
Skills are triggered like commands, by their name:
/security-guardian # Direct invocation/tdd # TDD skill/design-patterns detect # With argumentAgents can preload skills via the skills: field in their frontmatter — the content is injected into the agent’s context at startup.
Lifecycle and improvement
Two long-term management patterns:
Claudeception — meta-skill that generates new skills from session discoveries. Install: git clone https://github.com/blader/Claudeception ~/.claude/skills/claudeception
Claude Reflect System — improves existing skills by analyzing corrections detected during sessions. Proposes changes before applying them.
Important caveat
Skills are only invoked on explicit activation — evals show automatic invocation in only 56% of cases. For critical instructions that must always apply, use CLAUDE.md or .claude/rules/ rather than a skill.
Enter your email to read the full card and get the complete PDF bundle.
All content is free and open-source. We just ask for your email.