Progressive disclosure
Definition
Loading only skill names and descriptions up front, and the full instructions or bundled files only when a task needs them.
In more detail
There are three levels: metadata (always loaded, roughly a hundred tokens per skill), the SKILL.md body (loaded when the skill is activated), and referenced files or scripts (read or run only if the instructions call for them).
This is why you can install dozens of skills without crowding the context window, and why long reference material belongs in separate files rather than in SKILL.md itself.
Related terms
Agent Skill
A folder with a SKILL.md file, plus optional scripts and references, that gives an agent instructions for a task and is loaded only when needed.
Context engineering
Deciding what information, tools and history a model sees at each step, and what to leave out, to get the result you want.
Context window
The maximum number of tokens a model can consider in one request, covering both the input you send and the output it writes.
SKILL.md
The required file in an Agent Skill: YAML frontmatter with at least a name and description, followed by the Markdown instructions.
Read more about Progressive disclosure
- What are Agent Skills (Claude skills)?
Claude skills, or Agent Skills, are folders with a SKILL.md file that agents load on demand. What goes in one, how loading works and when a skill fits.
- Agent Skill best practices: nine design patterns with real examples
Agent skill best practices as nine design patterns, from checklists and routers to script-backed and gated skills, each with a real example and when to use it.
- Context engineering
Deciding what instructions, documents, tools and history a model sees at each step.