⌨️Claude Code Skill Frontmatter
Also known as SKILL.md frontmatter, disable-model-invocation, allowed-tools (skill)
The header of a SKILL.md file. It tells Claude what the skill does.
Think of it like
It is like the label on a jar. It tells you what is inside before you open it.
Example
Jack sets his deploy skill so Claude can not start it alone. Now it only runs when he types /deploy.
Why it matters
Claude sees only the header until it needs the skill. A good description is what makes the skill run at the right time.
Definition
Example code
yaml
---
description: Deploys the app. Use when asked to ship.
disable-model-invocation: true
allowed-tools: Bash(npm run *)
---Common mistake
Key takeaways
- 1Description first. Claude picks skills by it.
- 2All optional. But a description is advised.
- 3Exact names. A typo is ignored silently.