Progressive disclosure means showing the model a cheap summary first and loading detail only once the task justifies it. For agent skills, discovery costs only a name and description; the full SKILL.md, and then any references or scripts, enter context later.1
flowchart TD accTitle: Skill discovery and loading accDescr: Claude sees only skill names and descriptions, matches the request against them, loads the chosen SKILL.md, and then reads a reference or runs a script only if the task needs one. B[Names and descriptions] --> M{Request matches?} M -->|No| N[Continue without the skill] M -->|Yes| S[Load SKILL.md] S --> R{More needed?} R -->|Detail| D[Read one reference file] R -->|Operation| X[Run a provided script] R -->|No| W[Follow the core workflow]
Each step down the chart costs more context, and each is taken only when the step above says so.
Applying it to a skill
- Keep the essential workflow in
SKILL.md; the course recommends under 500 lines.1 - Move conditional detail to
references/,scripts/, orassets/, and say inSKILL.mdwhen to read or run each.1 - Prefer scripts for operations: Claude runs a tested script and only its output enters context, not its source.1
Related
- Context isolation saves context by moving work elsewhere; progressive disclosure saves it by not loading material until needed. (Analysis: this link is the wiki’s own comparison, not a claim from either source.)
- Source: Introduction to Claude Code Agent Skills