Skills
Reusable skill modules with embedded resources
PDF editions Β· Guide v3.44.1 Β· Updated
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.tsInvocation modes
| Mode | Frontmatter | Behavior |
|---|---|---|
| User-invocable | disable-model-invocation: true | Triggered by user via /name |
| Model-invocable only | user-invocable: false | Hidden from the user menu; Claude may invoke it |
| Both | (no flag) | Invocable either way |
SKILL.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.
Installing community skills
# Inspect available skills before installingnpx skills add vercel-labs/agent-skills --list
# Select the desired skills interactivelynpx skills add vercel-labs/agent-skills --agent claude-code
# Check installed skillsnpx skills listThe skills CLI installs community packages. Listing or scanning does not guarantee safety: inspect instructions, scripts, requested access and the chosen revision before use.
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
Claude may invoke eligible skills automatically, but discovery does not guarantee invocation on every relevant request. Put critical always-applicable instructions in CLAUDE.md or .claude/rules/ and test skill activation on representative prompts.
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.