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.
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.
| Setup | What the agent gets |
|---|
Mean over the 12 experimental tasks, each weighted equally, from the 306 valid runs.
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.
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).
| Hypothesis | Contrast | Effect [95% CI] | Holm p | Result |
|---|
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.
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).