With 300 skills, the one that matters gets lost to listing truncation, not to the crowd

A pre-registered study of Claude Code: 306 agent runs on 15 coding tasks. When the relevant skill's description falls outside the listing budget, the agent almost never uses it. When the description fits, the agent always uses it, with 0 or 300 other skills installed; what goes up is the cost.

Skill listed first+300, early
100%invoke the skill
6.0 / 6conventions
×1.34cost vs skill alone
Skill listed last+300, late
19%invoke the skill
1.9 / 6conventions
×1.27cost vs skill alone
relevant skillanother skill's nameits descriptionend of the budget: below it, only names arrive
0.81drop in invocation from truncation (H1, 10/10 tasks)
−4.1conventions followed, out of 6 (H3)
0 of 108invocation failures with the description visible (H2)
×1.34cost of 300 skills vs 1 (H4, 12/12)

How it was measured: tasks with conventions only the skill knows

Each task is a small repository with a realistic job (add an endpoint, a migration, a test suite, a release) and a team skill holding six conventions the agent cannot infer from the code. A hidden checker counts how many it followed, from 0 to 6.

Without the skill, the agent follows 0.9 of 6. With the skill alone, 6 of 6. In between, unrelated skills from a fixed pool are added, and the relevant one is moved to the start or the end of the listing, which in a setup with no usage history is alphabetical.

  • 12 experimental tasks in 6 domains, half JavaScript and half Python, plus 3 control tasks with no relevant skill.
  • 3 runs per cell, random order with a fixed seed, hypotheses and analysis frozen before the first run.
  • Agent model: Sonnet 5.5; Claude Code 2.1.322 in every run.
SetupWhat the agent gets

Invocation only drops when the description is cut

Mean over the 12 experimental tasks, each weighted equally, from the 306 valid runs.

Task by task: two exceptions with very descriptive names

Mean conventions followed, out of 6, in each cell. With the description visible, all 12 tasks reach 6 in all 3 runs. With the description cut, the agent sees only the skill's name, and two tasks still invoked it: cart-api-tests (cart-api-test-conventions) and invoices-list (billing-api-conventions). This was noticed after the fact; it is not a hypothesis of the study.

Three of four hypotheses confirmed

Unit of analysis: the task. 95% bootstrap intervals over tasks (10,000 resamples), exact sign test without ties, and a Holm correction across the four, α = 0.05.

H2 is not confirmed, and that is a result too: with the description visible, there was not one invocation failure in 108 runs with other skills installed. The design cannot rule out dilution smaller than about 2.8% per run.

Every run that invoked the skill followed 6 of 6 conventions; runs that did not invoke it scored as if they did not have it (+0.05 vs no skill, CI −0.05 to 0.19).

HypothesisContrastEffect [95% CI]Holm pResult

Every installed skill is billed on every turn, used or not

Turns and output tokens barely change between the skill alone and 300 skills listed early (16.7 vs 17.5 turns). The increase comes from the listing sent with every request. Raising the budget so all 300 descriptions fit brings invocation back to 100%, but costs ×1.75 the default.

In the control tasks, which need no skill, 300 unrelated skills do not hurt the result (100% functional in both setups), yet they make the task 57% to 102% more expensive.

What this study does not show

  • One model, one version. Everything is Sonnet 5.5 on Claude Code 2.1.322. The listing budget can change between versions.
  • Built tasks. The conventions were designed so they cannot be inferred without the skill. This measures whether a skill gets used, not how much a real skill helps on a real project.
  • Ceiling. With the description visible everything is at the maximum, so small dilution effects are invisible.
  • No usage history. Position was forced with name prefixes in fresh setups; with usage history, Claude Code orders skills differently.
  • 3 runs per cell. Enough for all-or-nothing effects; not for intermediate rates within a task.

Exclusions and deviations

13 lines were excluded and repeated: 7 hit the 5-hour usage limit, 5 were API stalls (rule D2, declared before looking at scores) and 1 read outside the sandbox. No cell ran out of attempts, and there were no checker errors or hash changes.

Two deviations after the freeze, both declared: D1 stops a batch at the first external error; D2 treats a time-out with no tool running as an API stall.

Total cost of the study: $51.57 over 319 runs, including excluded ones. Technical report: docs/reports/study-1.md; pre-registration: preregistration/study-1.md (frozen original in Spanish).