An empty body loads and gives the agent nothing to do
A skill has two parts. The description decides when it loads, and the body, everything after the frontmatter, is what the agent follows once it has.
A skill with a good description and an empty body triggers at the right moment and then gives the agent no instructions. The agent falls back to whatever it would have done anyway, and the skill only cost context.
"The SKILL.md file must contain YAML frontmatter followed by Markdown content."
"Every skill needs a SKILL.md file with two parts: YAML frontmatter between --- markers that tells Claude when to use the skill, and markdown content with the instructions Claude follows when the skill runs."
Write the steps the agent should take
Start with a short numbered procedure and one example.
This fails:
---
name: commit-message-writer
description: Writes a commit message. Use when the user asks for one.
---This passes:
---
name: commit-message-writer
description: Writes a commit message. Use when the user asks for one.
---
1. Run git diff --staged.
2. Write a subject under 72 characters.Skillland's call: No source sets a minimum. A body under 3 words counts as empty, which leaves room for one-line skills that hand off to another skill.