Progressive disclosure for AI agents

Hand-drawn terracotta vertical shafts of different widths cut down to different depths through wavy horizontal strata hatched in cream, linen, sand, umber and moss.

Progressive disclosure, for an AI agent, means keeping most instructions and documentation out of the prompt and letting the agent load them when it decides they are needed. Harnesses (the programs that run an agent) such as Agent Skills, Claude Code and Codex all work this way. Agents often do not load what they could. Measured read rates run from about 20% to 99%, depending on the model, the harness and the task (Ying et al., 2026b; Li et al., 2026n). The open disputes are whether a skipped read costs much, whether text behind a read works as well as inline text, and which wording makes agents read.

What the harnesses define

The three major harnesses load instructions in three levels. The Agent Skills specification lists them as metadata at startup, the instructions when a skill is activated, and resource files only when required (Agent Skills, n.d.). Anthropic calls this the core design principle of Agent Skills (Zhang et al., 2025c). Claude Code and Codex document the same pattern: a short name and description is always in context, and the full text loads when the model invokes the skill (Anthropic, n.d.i; OpenAI, n.d.b). Agent skills covers what a skill is; this article covers how it gets loaded.

The harnesses leave the decision to the model, so the short description does all the work of triggering. The Agent Skills guide says the description carries the whole burden of triggering. It adds that agents typically consult skills only for tasks beyond what they can do alone, so simple one-step requests may not trigger a matching skill (Agent Skills project, n.d.b). Claude Code caps each skill’s listing text at 1,536 characters, and Codex limits the initial skill list to 2% of the context window. Both may shorten or drop descriptions when many skills are installed, which removes the keywords the model needs to match a request (Anthropic, n.d.i; OpenAI, n.d.b).

The specification advises keeping the main file under 500 lines and moving detail into separate files (Agent Skills, n.d.). Claude Code applies the same idea to project memory files: those in subdirectories load only when the agent reads or edits a file there. It describes memory files as context, not enforced configuration, and recommends a hook (a script that runs on an agent event) to block an action whatever the model decides (Anthropic, n.d.l).

Anthropic also uses “progressive disclosure” more widely, for agents that find context step by step. Its “just in time” approach has tools load files from stored paths at runtime (Anthropic, 2025). Research papers add “implicit routing”, the model choosing skills from their descriptions alone (Liu et al., 2026n), and “skill retrieval augmentation”, fetching skills on demand from a large corpus (Su et al., 2026c).

How often agents read Weak evidence: few or small studies support this

Measured read rates vary widely and the studies are not comparable. In OpenSkillEval’s default setting, agents read the provided skill file in about 48% of cases, and Claude Opus 4.6 in about 20% (Ying et al., 2026b). In SkillsBench, where task prompts never name the skills, invocation ran from 46.4% to 99.2% across model and harness pairs (Li et al., 2026n). In SKILL-USE, trigger rates under Claude Code ran from 0.324 for two open-weight models to 0.966 for Claude Opus 4.7 (Han et al., 2026d). The Opus figures differ in model version, task set and what counts as a read (Ying et al., 2026b; Han et al., 2026d).

The harness matters as much as the model. The same model triggered skills at different rates under Claude Code and Codex: Opus 4.7 at 0.836 under Codex against 0.966 under Claude Code, DeepSeek-V4-Pro at 0.650 against 0.324 (Han et al., 2026d). Read rates also differ by task category. Even with skill use forced, Claude Opus 4.6 read skills in below 50% of data visualization and report generation tasks and above 95% of presentation tasks (Ying et al., 2026b). The authors suggest agents consult skills selectively, when they judge a task needs them (Ying et al., 2026b).

A larger library lowers loading and raises wrong choices. Going from one to ten skills lowered triggering in SKILL-USE, mostly through runs that called no skill (Han et al., 2026d). Adding 100 irrelevant skills cut recall of the needed skill by 15.6 to 24.6 points for three open models (Liu et al., 2026n). In another study, performance fell by up to 21% as a library grew to 202 skills. Its authors attribute this to selecting the wrong skills, not to the larger context (Song & Wei, 2026).

A path the agent must open is read less than a file placed within reach. When agents were told where a repository’s policy documents were and to look at them first, they attempted a fetch in 28.9% of executions on average. With the policies mounted as a local file and an instruction to read it, 91.6% opened it (Dang et al., 2026b).

In a single-author test on one purpose-built repository, skills listed on every turn were opened in 0 of 198 rollouts. Skills offered only with the files a task touched were opened in 28 of 66 (Giampieri, 2026). Agents do open instruction files on their own. In 557 public coding sessions, instruction files and working notes made up 60.5% of documentation interactions, and 70.2% of consultation was self-initiated (Gao & Chen, 2026).

Deciding when to retrieve Weak evidence: few or small studies support this

Models also decide imperfectly when they need outside information, in question answering and tool calls alike. On questions that needed retrieval, plain prompting did not lead models to reliable retrieval decisions, and GPT-3.5 was unaware it needed retrieval at least half the time. A prompt with time awareness and worked examples raised decision accuracy by 14.9 points on average (Zhang et al., 2024g). For tool calls, state-of-the-art models have significant room to improve in deciding when to call a tool, ask a follow-up or decline. Preference training helped more than standard fine-tuning (Ross et al., 2025).

The decision tracks difficulty, but not closely enough. On math benchmarks, an adaptive-retrieval agent retrieved more often on harder problems (Shakya et al., 2026). In skill-search runs, GLM-5.1 searched for a skill in only 34% of trajectories, although its retrieval was correct whenever it searched. Two other models often did not call skill access on problems where it would have helped (Ye et al., 2026d).

An explicit instruction to call a tool does not guarantee the call. In one coding test, the system prompt told Claude Code to call an architecture-context tool before editing any file. Still, 58.0% of trials in that condition made no call to it, and adoption ran from 0% to 100% by task group (Paipuru, 2026).

What a skipped read costs Weak evidence: few or small studies support this

A skipped read often costs little, but not always. Forcing the read in OpenSkillEval nearly doubled the read rate. Yet forced skill use improved reasoning and analysis scores by less than 0.04 over no skills (Ying et al., 2026b). In SkillsBench, Claude passed 55.4% of tasks when forced to load curated skills and 51.2% when it chose, although only 49% of its runs loaded all of them (Liu et al., 2026l). SkillsBench itself states that discovery is usually not the bottleneck: high invocation does not guarantee a solved task (Li et al., 2026n).

Where the skipped content was needed, skipping cost a lot. In the coding test above, trials that called the architecture tool scored a mean 99.5% on architectural coverage. Trials that skipped it scored 80.2%, indistinguishable from the baseline without the tool (Paipuru, 2026).

Skills do not always help even when read. Curated skills raised SkillsBench’s mean pass rate from 33.9% to 50.5%. But 13 of 87 tasks did worse with them, and skills the agent wrote itself scored below the no-skills baseline (Li et al., 2026n). Across five benchmarks and three agents, paired runs with and without a skill showed that skills often give no benefit and can hurt while adding token cost (Xu et al., 2026h). Agents used retrieved skills in 70.1% of cases on a benchmark with no matching skills, and gained nothing (Li et al., 2026l).

Using a skill badly can be worse than not using it. In SKILL-USE, partial or incorrect use of a skill scored below no skill (Han et al., 2026d). Across 17 models in Skill Following, many gained overall from retrieval but did worse on the very tasks where they retrieved a skill (Cho & Park, 2026). Several of these results cannot say how much of a gain is added context, since SkillsBench has no length-matched control (Li et al., 2026n).

Reading is not following. Agents that read a skill still skipped prescribed steps and sometimes contradicted the procedure, even when use was forced (Ying et al., 2026b). In SKILL-USE, open-weight models triggered the target skill on only about a third of tasks. Once triggered, they followed it as faithfully as models with twice their overall score, so triggering and compliance are separate bottlenecks (Han et al., 2026d). In Skill Following, the most common failure after retrieval was no clear evidence that the content was used (Cho & Park, 2026).

The same text in the prompt and behind a read Weak evidence: few or small studies support this

Text behind a read kept about half its effect in the one matched comparison, a preprint on coding agents. A revised version of a Skill raised the rate of a required action over the old version by +0.23 when its body was in the prompt. The gain was +0.12 when only its name and description were in the prompt and the body sat at a file path. About 51% of the gain survived, with a 95% confidence interval (a range likely to hold the true value) of 28% to 75% (Wang et al., 2026a).

The loss differed by model. Claude Sonnet 4.5 kept all of its gain (+0.19 either way), while three open models kept about 38% (Wang et al., 2026a). Two agents opened the body in 88% to 89% of episodes, but the sandbox truncated what a read showed (see below) (Wang et al., 2026a). Agents that saw the rule did not always act on it: Sonnet did in 88% of episodes and Qwen in 61%. With the body in the prompt they did in 81% and 62% (Wang et al., 2026a).

Indirect evidence also favours inline text for reliability. In SKILL-USE, inserting the whole skill into the initial instructions raised the trigger rate for every model, most for weak triggerers. Once a skill was triggered, the insertion mode changed rule following little (Han et al., 2026d). A vendor report from Vercel found a compressed documentation index placed in AGENTS.md passed 100% of cases, against 79% for a skill the agent was explicitly told to invoke (Gao, 2026a).

Inline text has its own limit: compliance falls as the number of instructions in one prompt grows. Given up to 500 keyword instructions at once, the best of 20 models reached 68% accuracy at the maximum (Jaroslawicz et al., 2025). Loading every skill definition upfront made skill retrieval fail as the library grew, from 1.00 at 5 skills to 0.13 at 50 for one model. Progressive disclosure matched or beat it on average in all but one setup (Zhang et al., 2026p). Anthropic reports that loading tool definitions on demand through a search tool raised accuracy on large tool libraries from 49% to 74% for Opus 4 (Wu et al., 2025d).

On demand wins on cost, for large skills. Loading conditionally cut effective input by 52.8% to 73.0% on two large-skill benchmarks in Skill Blocks. No quality difference was detected, though the tests cannot show equivalence, and for small or often-used skills loading overhead can erase the savings (Nakasuji, 2026). Progressive disclosure also adds a model call: latency rose 15% for one model at 50 skills, while tokens fell by up to 81.7% (Zhang et al., 2026p). In an ablation with its margin set in advance, a wiki’s catalog-and-summary layout was no worse than the original index and 30% to 58% cheaper per question (Cochran, 2026).

The gain of a layered layout depends on the harness and the task. In long-document question answering, progressive disclosure helped much when the agent navigated the raw document poorly, and little when a strong harness already found the right passages. A second routing level never helped and sometimes broke accuracy (He et al., 2026c). In an 82-task SkillsBench study, a layout pointing to supporting files made agents touch more resources (3.85 per run against 1.18). It passed 17 more of 410 trials than a flat file (+4.1%, with a margin of error of 6.0 points), and the gain varied by task (Chen et al., 2026t).

Always-on repository context files did not generally raise coding-agent success and cost over 20% more, although agents followed their instructions (Gloaguen et al., 2026). Leaving the file in the workspace for the agent to find made no difference either. That study was small and could not detect effects below about 30 percentage points (Khatri, 2026).

What raises reads Weak evidence: few or small studies support this

An explicit instruction to use the file is the most reliable lever. Adding a directive to the task took OpenSkillEval’s average read rate from about 48% to 94%, and moved the first read earlier, from step 4.4 to 3.3 (Ying et al., 2026b). In the Vercel eval, an AGENTS.md instruction to invoke the docs skill raised the trigger rate to 95% or more, from never invoked in 56% of cases. The pass rate rose from 53% to 79% (Gao, 2026a). The lever has limits: a vendor blog reports that a prompt telling Claude Code to invoke skills raised invocation on one task only to 70% (LangChain, n.d.).

Putting the file in reach and tying it to the work also raises reads. Mounting policies locally with a read instruction raised opens sharply (Dang et al., 2026b), as did offering skills only with the files a task touched (Giampieri, 2026).

A hook that forces a decision worked in one small test, where the failure was activating at all. A hook that made Claude Code state YES or NO for each skill before acting activated the right skill on 22 of 22 prompts, against 12 of 22 without it. A one-line keyword hint stayed at about the baseline, as did Claude Code’s built-in prompt-type hook. The forcing hook also correctly used no skill on all five harder prompts that needed none. This is a practitioner blog with 22 prompts, two runs and one model (Spence, 2026).

The first read decides which of two similar skills wins. When similar skills were installed together, a similar skill took one in five runs from the installed one. A hook placed at that first read restored fidelity to the level of runs that opened the installed skill first (Yan et al., 2026c).

Routing the choice away from the agent helps at scale. Making the model pick one skill from a retrieved catalog gave more stable gains than leaving the load decision to the agent (Su et al., 2026c). With 1,000 added skills, explicit selection before the task raised Pass@3 (the share of tasks solved in three tries) from 42.7% to 58.5% for one model (Liu et al., 2026n). For tools, retrieving the relevant ones first more than tripled selection accuracy, 43.13% against 13.62% (Gan & Sun, 2025). A plain keyword retriever matched or beat a selection loop run by a language model in three of four settings (Yang et al., 2026f).

The choice can also be trained into the model: training which skill to read lifted a 9-billion-parameter model from 40.8% to 53.2% success (Li et al., 2026m).

Wording changes that did little Weak evidence: few or small studies support this

Small wording changes often had no measurable effect. Three description styles, one of them imperative, all scored 6 of 13 in one skill test (Sogl, 2026). A factorial study of 1,650 Claude Code sessions found no detectable effect of instruction position or file structure on compliance with a simple instruction (McMillan, 2026a). Vercel reported that “You MUST invoke the skill” did worse than “Explore project first, then invoke skill”, without numbers (Gao, 2026a).

Other sources report gains from wording. One vendor blog reports that adding one sentence to each skill description raised activation recall from 46.3% to 67.3% (Coder Eval Team, 2026). The Agent Skills guide recommends imperative descriptions (“Use this skill when…”) that are pushy about where the skill applies, including requests that do not name its domain (Agent Skills project, n.d.b). See Wording instructions for AI models for wording effects in general.

Where the instruction sits Weak evidence: few or small studies support this

Where an instruction sits in the context changes compliance, but by model and less than what it says. In one preprint, the same process instruction gave 26% compliance in a tool description and 65% when repeated. Its content explained about four times more variance than its position (Shin, 2026).

The effect of position depends on the model. A small blog test found the slot mattered for a 3-billion-parameter local model (8% in the system message, 64% in the user message, 2% in a tool description). Claude Sonnet 4.6 and Haiku 4.5 followed it 100% of the time in all three (Kundalia, 2026). With 160 rules, moving the block between the system prompt and the user turn helped two models and hurt two (Eliav, 2026).

Turning task state into per-turn directives raised success in one study. For one model, strict success rose from 0.38 with the raw transcript to 0.84 with per-turn directives and 0.98 with enforcement (Zhang et al., 2026j). A coding-agent report advises short reminders at the point of decision rather than upfront, and says user-role reminders worked better than system-role ones, without giving numbers (Bui, 2026a).

Skill descriptions are followed about as well as other places for a rule. Across coding agents, rule compliance was 78.6% for rules in skill descriptions, 79.1% for project files and 73.6% for system prompts. When two places conflicted, system prompts, project files and user instructions took precedence over tool and skill descriptions (Huang et al., 2026f).

Partial reads of long files Weak evidence: few or small studies support this

Opening a file does not mean seeing all of it. Anthropic’s guidance says Claude may preview files referenced from other referenced files with head -100, reading them incompletely. It recommends keeping references one level deep and adding a table of contents to long reference files (Anthropic, n.d.t). In the skill-revision study, the sandbox showed only the first and last 2,000 characters of a read, so the added rule appeared in only 69% to 71% of reads (Wang et al., 2026a). In SkillReducer’s own task evaluation, agents loaded reference modules at a mean rate of 0.30 (Gao et al., 2026f).

User reports describe agents treating a truncated read as the whole file. A Claude Code user reported that the Read tool returned a preview of a large rules file and the agent treated it as complete. A commenter reported about a 70% failure rate when output over about 30KB was shown as a 2KB preview. A CLAUDE.md rule to always read the saved file failed at the same rate. Replacing the preview with text telling the model to read the saved file gave a 100% read rate in their tests (TomCats, 2026).

Agents also sample when told to read everything. One user reported that Claude Opus 4.6 read 4 of 32 chapter files and called it a sample (Kimberly674, 2026). Another reported that sub-agents auditing a codebase read only part of large files and reported 23 tables missing when only 7 were (casriraj, 2026). A capable agent can also skip an index altogether: in the wiki ablation, Claude Opus 4.8 inferred the page path from the question and read the page directly (Cochran, 2026). These reports are anecdotal.

How studies measure reads and use

Studies detect a read from the logged trajectory of an agent run, and the better designs score use separately. The table compares the main designs.

StudyWhat counts as a readHow use is scoredConditions compared
SkillsBenchthe trajectory reads or invokes a task-bundled skill; harness-bundled skills excluded (Li et al., 2026n)deterministic verifiers on task outcomeno skills against curated skills, 18 model-harness setups, 87 tasks, three trials each (Li et al., 2026n)
SKILL-USEany retrieval of the target skill in the tracehidden rubric for compliance and boundary, judged by a modelnative listing against preloaded text; 1, 10, 20 or 30 installed skills; paired no-library baseline (Han et al., 2026d)
SkillJurorresource touches attributed in the trajectoryverifier pass rate, plus use labelled by a model judgeno skill, flat file and layered layout with the same knowledge, five trials per task (Chen et al., 2026t)
RepoComplianceBenchfile opens in session telemetry, before any violationcompliance checker on each trajectorynative rule file, an added reminder sentence, the rule quoted verbatim, and feedback after a violation (Yang et al., 2026b)

Some designs measure use without reads. A study of policy wording in AGENTS.md checked compliance with a marker comment, not whether files were read (Tsuchida et al., 2026). SkillJuror’s authors call their judge labels bounded evidence, not human ground truth (Chen et al., 2026t). Claude Code offers a hook event that fires when a CLAUDE.md or rules file is loaded, with the reason, and the hook cannot block the load (Anthropic, n.d.k).

Detection has gaps. A skill can be loaded by reading its file without a tool call, so Shopify’s telemetry hook treats both as a use. Skills made of prose alone left no trace in its earlier script-based instrumentation (Shopify, n.d.). A SkillsBench audit found that 10 of 12 sampled Codex and Gemini CLI trajectories never listed, read or mentioned the generated skills. SKILL-USE excluded one model family because its harness left the skill tool unusable (Li et al., 2026n; Han et al., 2026d).

Each study counts a read differently, which is why rates do not compare across studies. Evaluating agent instructions covers the wider question of testing instructions, and Statistics of agent evaluations how many runs such comparisons need.

Further reading

Known gaps

What this article cannot tell you yet.

  1. Almost all measurements are 2026 preprints, vendor reports or single-author tests; none has been repeated by another group.
  2. No study varies where or how a read instruction appears (upfront, at the step it applies to, as a numbered step, or as a gate that blocks work until the file is read); the placement studies concern instructions already in the context.
  3. No controlled study measures how much of a long referenced file agents read, or whether file length or a table of contents changes it; the evidence on partial reads is guidance, one sandbox artefact and user reports.
  4. No study measures delegating reads to a sub-agent.
  5. No study compares two ways of detecting reads on the same runs, so how many reads through shell commands the logs miss is unknown.
  6. The same text in the prompt against behind a read has been compared in only one preprint, on coding agents, and no citing work repeats the comparison.
  7. The research on when models decide to retrieve concerns question answering and tool calls, not instruction files.
  8. How instruction compliance fades over long sessions, and whether reminders injected at the decision point restore it, is not covered.

References

Solid source
Rated highly trustworthy by the research, and every passage taken from it was found in it.
Weak source
Rated low, or a passage taken from it was not found in it.
Medium trust
Rated medium by the research.
Not checked
Rated high, but its passages could not all be checked against it.
Show all 60 references