progressive-disclosure — Claude Code skill: install
This skill breaks a large instruction file into an entry file and conditional branches. Use it for skills, CLAUDE.md, or specs that carry too much context.
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a claude-codeWhat progressive-disclosure does
progressive-disclosure restructures an oversized skill, CLAUDE.md, or specification. It keeps rules shared by every path in an entry file and moves branch-specific material into sibling files, such as content for verification or migrations.
The workflow reads the artifact, identifies its real branches, and sorts sections by when they are needed. Each moved branch gets a descriptive filename and a pointer that states both the trigger and the file to read. The skill then walks every path and reports what stayed, what moved, and the new entry-file size.
This is a placement change, not a license to discard live instructions. Files that every branch needs should stay together. The target harness must ship sibling files with SKILL.md, or pointers can lead to missing content. In Claude Code, the skill requires an explicit invocation because its frontmatter sets disable-model-invocation: true.
What it helps with
- split a large
CLAUDE.mdinto core and branch files - move verification instructions behind a condition
- link migration guidance to the relevant trigger
- check each branch after restructuring
Example prompts for the agent
- Run the
progressive-disclosureskill onCLAUDE.mdand move migration guidance behind its trigger. - Apply
progressive-disclosureto this skill, keeping shared rules in the entry file and verification steps in a sibling file. - Use
progressive-disclosureon the specification, then walk every branch and report what moved.
How to install progressive-disclosure
1Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a claude-code2Manually: put the files in place
~/.claude/skills/progressive-disclosure/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/progressive-disclosure/
1Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a codex2Manually: put the files in place
.agents/skills/progressive-disclosure/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a cursor2Manually: put the files in place
.cursor/skills/progressive-disclosure/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install Neeeophytee/finding-unknowns-skills progressive-disclosure2Manually: put the files in place
.github/skills/progressive-disclosure/SKILL.md1Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a gemini-cli2Platform CLI
gemini skills install https://github.com/Neeeophytee/finding-unknowns-skills --path skills/progressive-disclosureManually: put the files in place
.devin/skills/progressive-disclosure/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about progressive-disclosure
How do I install progressive-disclosure in Claude Code?
Run npx skills add Neeeophytee/finding-unknowns-skills --skill progressive-disclosure -a claude-code, then open ~/.claude/skills/progressive-disclosure/SKILL.md.
What does progressive-disclosure do?
It separates instructions required on every path from branch-specific material, then connects the moved files to clear trigger conditions.
Why must sibling files ship with SKILL.md?
The generated pointers depend on those files. If the harness does not carry them alongside the skill, the referenced branch cannot be loaded.
Source text
SKILL.md · MIT
--- name: progressive-disclosure description: Split an oversized skill, CLAUDE.md, or spec into an entry file plus files that load only when they're needed. disable-model-invocation: true --- # Progressive disclosure A long instruction file is paid for on every single turn, including the turns that need none of it. The fix is not deletion — the material is real — but placement: keep what every run needs in the entry file, and move what only some runs need behind a pointer that fires when it's relevant. This skill restructures one artifact. To find out which artifacts need it, audit first. ## Steps 1. Read the whole artifact and identify its **branches** — the genuinely different ways a run can go through it. A verification section reached only when the user asks to verify is a branch; a rule that applies every time is not. 2. Sort every section into two piles: needed on every branch, and needed on one. The split is the entire decision, and it is usually less even than it looks — most files are a short universal core wrapped in branch-specific detail. 3. Keep the universal core in the entry file, ordered so the file still reads coherently on its own. An entry file that no longer makes sense without its children has been cut in the wrong place. 4. Move each branch into a sibling file named for what it holds, not for where it came from — `verification.md`, `glossary.md` — so the name alone tells the reader when to open it. 5. Write the pointer with care, because the pointer's wording is what decides whether the material is ever reached. Name the condition and the file together: "when the change touches migrations, read `migrations.md` before planning." A bare link at the bottom of a file is not a pointer. 6. Walk each branch end to end and confirm it still has everything it needs. Then report what moved, what stayed, and the new size of the entry file. ## Guardrails - Splitting is not deleting. If a section is genuinely dead, say so and remove it outright rather than hiding it in a file nobody opens. - Never split material that every branch needs. Two files that are always read together are one file with extra steps. - A pointer that never fires has made the material invisible, which is worse than leaving it inline. When the triggering condition can't be stated crisply, that section stays put. - Verify that the target harness actually ships sibling files alongside `SKILL.md` before relying on them; installers differ, and a pointer to a file that didn't travel is a broken skill. - Stop when the entry file is legible. Splitting past that point trades one kind of unreadability for another.
© Neeeophytee · MIT · Neeeophytee/finding-unknowns-skills