Inside a skill — SKILL.md, references, examples, the loading protocol
A skill is the unit of reusable agent behavior: one SKILL.md with front-matter, plus directories the agent loads on demand. Dissect a real registry skill file by file, learn the evaluation rubric its objectives set, then install it and compare the layout with your own draft.
At a glance
| When | Writing or reviewing your first SKILL.md; Deciding whether a registry skill is worth installing |
|---|---|
| Where | Agentic Data Engineering |
| Why | A skill is a contract — front-matter and the loading protocol tell the agent when it loads, the directories tell it what to do — and the format is portable across compatible agents. |
Learning objectives
- Describe the SKILL.md schema and the directory layout convention
- Evaluate a skill's objectives before you trust it
- Install a registry skill and inspect its files
What you need
- An agent host that supports the Agent Skills format
- A repeatable review you currently do by hand
- [object Object]
Steps
- A skill is a SKILL.md file with front-matter (name, description, version), plus references/, scripts/, and examples/ directories that an agent loads on demand. (from ref-agent-skills )
- The specification covers the SKILL.md schema, the directory layout convention, and the agent loading protocol. (from ref-agent-skills )
- The format is portable across compatible agents — it is what this platform's Skill object is modelled on. (from ref-agent-skills )
- Read a real one — the mcp-tool-contract-auditor skill ships SKILL.md, references/blast-radius.md and examples/audit.md. (from skill-mcp-tool-contract-auditor )
- Judge a skill by its objectives — read a tool schema and predict its side effects, classify tools by blast radius, write a least-privilege MCP configuration. (from skill-mcp-tool-contract-auditor )
- Install it and compare the layout with yours — npx de-agent-platform add mcp-tool-contract-auditor. (from skill-mcp-tool-contract-auditor )
Check yourself
- You can say what belongs in SKILL.md front-matter versus the references/ directory.
- The auditor's three objectives each name an observable behavior — read, classify, write — not a topic.
Worked example
A real skill's file layout — from skill-mcp-tool-contract-auditor
SKILL.md
references/blast-radius.md
examples/audit.md
The Agent Skills format — from ref-agent-skills
A SKILL.md file with front-matter (name, description, version), plus
references/, scripts/, and examples/ directories that an agent loads
on demand. Covers the SKILL.md schema, the directory layout convention,
and the agent loading protocol.
Install the example skill — from skill-mcp-tool-contract-auditor
npx de-agent-platform add mcp-tool-contract-auditor
Sourced from
Security scan
Last sweep 2026-10-24: 0 finding(s), 0 marked as examples.
Common gotchas
- A skill loads on demand under the agent loading protocol — it is not always in context.
- references/, scripts/ and examples/ are convention directories from the layout spec — keep them if you want portable skills.
- A skill's objectives should be observable behaviors — read, classify, write — not topics.
Production considerations
- Model your SKILL.md on a registry skill — mcp-tool-contract-auditor shows the SKILL.md + references + examples layout.
- Write to the spec, not to one agent — the format is portable across compatible agents.
Diagram
skill anatomy
|
|- SKILL.md --> front-matter (name, description, version)
|
|- references/ --> deeper docs loaded on demand
|
|- scripts/ + examples/ --> runnable checks
|
|- loading protocol --> loaded on demand, portable across agents
Registry stats
| Verification | community · Oct 23, 2026 |
|---|---|
| Completeness | 81 |
| Trust multiplier | ×1.25 |
| Composite | 34.15 · adequate |
| Freshness | 1 days since last source check |
| Difficulty | intermediate |
| Version | 0.1.0 |
| License | CC-BY-4.0 |
| Security flags | none |
Did this solve your problem?
Inside a skill — SKILL.md, references, examples, the loading protocol