progressive-disclosure

progressive-disclosure is a skill for Claude Code from ApurvBazari/claude-plugins. It costs 73 tokens per session (1,512 once invoked), scanned A, original, MIT.

A skill for shortening a SKILL.md file, which is an instruction file for an agent, by moving long or rarely needed material into separate references or scripts. It first measures the file and identifies content that can be moved.

In plain words
What is it for?
Use it when editing or creating a SKILL.md, especially when the file is longer than 100 lines and contains large reference sections or code blocks.
Why use it?
It keeps the main instructions smaller and easier to load while preserving detailed templates, schemas, and command blocks elsewhere.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool.

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Good fit Use it when editing or creating a SKILL.md, especially when the file is longer than 100 lines and contains large reference sections or code blocks.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for progressive-disclosure

README.md
[![agentmods](https://agentmods.dev/badge/skills/apurvbazari/claude-plugins/progressive-disclosure.svg)](https://agentmods.dev/skills/apurvbazari/claude-plugins/progressive-disclosure)
Your own site
<a href="https://agentmods.dev/skills/apurvbazari/claude-plugins/progressive-disclosure"><img src="https://agentmods.dev/badge/skills/apurvbazari/claude-plugins/progressive-disclosure.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,512 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00073 $0.01512
Opus 5 $0.00036 $0.00756
Sonnet 5 $0.00015 $0.00302
Haiku 4.5 $0.00007 $0.00151

Measured 6d ago against content hash a830a5785504, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

progressive-disclosure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/progressive-disclosure/SKILL.md · 101 lines

How it starts

The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Progressive Disclosure — SKILL.md Slimming

Apply a reusable rubric for deciding what stays inline in a SKILL.md versus what gets pushed into references/ (inert content) or scripts/ (long bash). Goal: smaller always-loaded context per skill invocation, without losing fidelity.

Guard

Target file path MUST match **/skills/<name>/SKILL.md. If the target is a CLAUDE.md, README.md, agent file, or hook script, abort with:

Progressive-disclosure rubric is calibrated for SKILL.md only. Target <path> is not a SKILL.md; aborting.

The other file types have different audiences and different criteria.

Step 1: Measure the file

Run:

TARGET="<path-to-SKILL.md>"
total_lines=$(wc -l < "$TARGET")
heading_count=$(grep -c '^##\? ' "$TARGET")
long_blocks=$(awk '/^```/{n++; if(n%2){start=NR}else{if(NR-start>20)print "  block ending line "NR" ("NR-start" lines)"}}' "$TARGET")
echo "File: $TARGET"
echo "Total lines: $total_lines"
echo "Headings: $heading_count"
echo "Code blocks > 20 lines:"
echo "$long_blocks"

If total_lines <= 100, tell the user the file is already under the soft threshold and ask whether to proceed anyway. Below the threshold, the rubric usually finds nothing worth extracting.

Step 2: Identify extraction candidates

Walk every ## Step section of the SKILL.md and apply the rubric:

Pattern in SKILL.md Threshold Destination Stub form
Verbatim prompt template (question text + option labels + per-option behavior) > 10 lines references/prompts/<topic>.md Use the prompt template at \references/prompts/.md` — verbatim, do not paraphrase.`
JSON / YAML schema example > 15 lines references/schemas/<name>.md See schema at \references/schemas/.md`. Match output to this schema.`
Decision tables > 10 rows references/tables/<topic>.md Lookup table at \references/tables/.md` — apply per the headers there.`
Long enumeration of options or rules > 10 items with multi-line explanations references/<topic>.md Apply the rules documented in \references/.md`.`
Bash block > 20 lines scripts/<name>.sh (NOT references/) bash "${CLAUDE_PLUGIN_ROOT}/scripts/<name>.sh" <args>

Read the full file on GitHub · 101 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 101 lines · 73 tokens per session scan A a830a5785504

Subscribe to this mod's changes

progressive-disclosure is a skill published in the GitHub repository ApurvBazari/claude-plugins (0 stars, last pushed 1mo ago), licensed MIT. It adds 73 tokens to every session and 1,512 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.