306 pre-registered runs on what 300 installed skills do to cost, skill use and the work that follows.
Skill packs are easy to install, and most of their skills will never be called. I measured what having them around costs. With 300 installed skills, the same coding tasks cost about a third more, even with prompt caching. When the skills pushed the description of the one skill a task needed out of view, the agent ignored that skill 4 times out of 5, and nothing in the listing told the agent the description was gone.
Five findings
1. You pay for skills you never use: +34% per task. With 300 unrelated skills installed, the same tasks cost ×1.34 what they cost with only the skill they needed. All 12 tasks were more expensive. The agent did not work more (17.5 vs 16.7 turns). Each task read about 60,000 more tokens from the prompt cache, because the skill listing is sent on every turn. Caching makes those tokens cheaper, not free.
2. Tasks that need no skill at all pay the most: +57% to +102%. Three control tasks that need no skill stayed 100% correct with 300 skills installed, but cost ×1.57, ×1.69 and ×2.02. The smaller the task, the larger the share of the bill that goes to the listing.
3. You can pay more and get less. When the needed skill's description was cut, the task still cost about 27% more than with that skill alone. The agent followed 1.9 of the project's 6 conventions instead of 6.
4. The cut is silent, and in a fresh setup the list order decides. Claude Code drops descriptions from the skills you use least. With no usage history, that means the ones at the end of the list, which was alphabetical in my runs. The relevant skill, listed last among 300, was invoked in 19% of runs instead of 100%. The model gets no signal that anything was dropped.
5. The fix costs more than the problem. Raising the listing budget so every description fits brought invocation back to 100%, at ×1.75 the cost of leaving descriptions cut, and ×2.3 the cost of having only the one skill.
And one piece of good news: 300 skills did not confuse the model. When it could read the relevant skill's description, it picked that skill in 108 of 108 runs, with 25, 100 or 300 others installed.
Why this happens
Claude Code shows the model a list of your installed skills on every turn: each skill's name and description. The list has a budget. From the skills documentation, it "scales at 1% of the model's context window", and "when the listing overflows, Claude Code drops descriptions starting with the skills you invoke least". The settings reference adds that Claude can still invoke those skills but "is less likely to choose one on its own". This study puts a number on "less likely".
Two details come from a Claude Code maintainer in anthropics/claude-code#81081. In a fresh session with no usage history, "least used" degenerates to listing order. And the listing carries "no marker" that descriptions were dropped. So a skill you have just installed into a full setup can be invisible in all but name, and the model is not told.
How I measured it
Tasks. 12 coding tasks in small repositories, two per domain (HTTP APIs, data migrations, observability, security, testing, releases), half JavaScript and half Python. Each task comes with a skill that holds six project conventions the agent cannot guess: a specific idempotency wrapper, an error-code format, where the docs row goes, and so on. A hidden checker scores how many of the six the agent followed and whether the code works. Without the skill, agents follow about 1 of 6 (0.9 on average).
Setups. Each task ran under eight setups:
| Setup | What is installed | Relevant skill's description |
|---|---|---|
| No skill | nothing | – |
| Relevant skill only | the relevant skill | visible |
| +25, +100, +300 | the relevant skill plus 25, 100 or 300 unrelated skills, relevant one listed first | visible |
| +100 late, +300 late | the same, relevant one listed last | cut |
| +300 late, larger budget | +300 late with the listing budget raised so everything fits | visible |
The 300 unrelated skills are real skills from open-source collections. Position is forced with name prefixes. Before the study, a probe read the listing the model actually received from the session transcript: the relevant description was cut when the skill came last among 100 or 300 skills, and visible when it came first among 300.
Runs. 3 runs per task and setup (288 runs), plus the 3 control tasks with no skills and with 300 (18 runs): 306 valid runs, with Claude Code 2.1.322 and Sonnet 5.5, through claude plugin eval, which gives every run a fresh, isolated configuration. The whole study cost $51.57 in model usage, including excluded and repeated runs.
Analysis. Hypotheses, exclusion rules and tests were frozen in a pre-registration before the first run (written in Spanish; the link is an English translation); two later changes are declared as deviations. The unit is the task: each effect is the mean of 12 per-task differences, with a bootstrap interval over tasks, an exact sign test, and a Holm correction across the four main hypotheses. Findings 1 and 4 are main hypotheses; 2, 3 and 5 come from secondary or descriptive comparisons.
The results in detail
Invocation
Listed last among 300, invocation fell from 100% to 19%: a per-task difference of 0.81 [0.58, 1.00]. Ten of 12 tasks dropped and none rose (Holm-adjusted p = 0.006). The larger-budget setup keeps the skill in the same last position with its description back, and invocation returns to 100% in every task. So the drop comes from losing the description, not from being listed last.
Conventions followed
Compliance fell from 6.0 to 1.9 (difference 4.14 [2.89, 5.17], Holm p = 0.006), and it was all or nothing. Every run in the study that invoked the skill followed all six conventions. Runs that did not invoke it scored like runs with no skill installed (+0.05 [−0.05, 0.19]). Every valid run passed the functional check: the code worked, it just ignored the conventions.
Cost
Cost rises with every skill added: $0.129 per task with the relevant skill alone, $0.147 with 25 more, $0.166 with 100 and $0.173 with 300. The pre-registered contrast, 300 skills against the relevant skill alone, is ×1.34 [1.30, 1.39], with all 12 tasks more expensive (Holm p = 0.002). Raising the budget costs ×1.75 [1.67, 1.82] against the same 300 skills under the default budget.
These are small tasks at Sonnet 5.5 prices, so the absolute numbers are cents: about $0.04 more per task with 300 skills, or $44 per thousand tasks. The ratios are the part that carries over.
No dilution, within limits
With zero failures in 108 runs, the per-run rate at which a visible skill gets passed over is likely below about 2.8% (rule of three, 95%). A smaller effect is still possible. And the 300 other skills were unrelated to the tasks: none claimed to cover API conventions or migrations. Work with overlapping skills finds real degradation, and attributes much of it to skills whose descriptions compete with the right one ("skill shadowing", Song and Wei, 2026). This study did not test that case.
Exploratory: sometimes the name is enough
With only the name to go on, the agent still invoked the skill in 18 of 72 runs in the two "late" setups. Eleven of those came from two tasks whose skill names closely match the request, for example cart-api-test-conventions for a task about cart API tests (6 of 6). Other descriptive names did not help much (auth-security-conventions for a password-reset task, 2 of 6). I noticed this after the fact; it is not a tested hypothesis.
What I would do with many skills
- Find out whether you are over budget. The maintainer in #81081 points to
/doctorfor an estimate of the listing cost and to--debug, which logs a warning when the listing overflows./skill-doctorshows what each skill costs and how often it is used. - Uninstall what you don't use. In this study unused skills added a third to the cost of every task, and they can push out the descriptions of the skills you do need.
- Mark low-priority skills
name-onlyinskillOverridesto free budget for the ones that matter. - Raise the budget knowingly. It works, but every description is then sent on every turn.
- Give important skills a name that says what they cover. It helped in some tasks; don't count on it.
What this does not show
- One model, one version. Sonnet 5.5 on Claude Code 2.1.322. The budget rules have changed several times across versions and may change again.
- Fresh installs only. Every run started with no usage history. In a real setup, skills you use often keep their description. The result applies to new or rarely used skills, and to environments without usage history.
- Built tasks. The conventions were designed so that the agent cannot infer them without the skill. This measures whether a skill gets used, not how much a given real skill helps on a real project.
- Ceiling. With the description visible everything was at 100%, so this design can't see small dilution effects.
- Small cells. 3 runs per task and setup is enough for all-or-nothing effects like these, not for precise rates within a task.
Related work
The truncation mechanism is documented, and the issue above confirms that it is silent. I did not find a published measurement of invocation with the description cut versus visible, or of the per-task cost of installed skills.
- Scott Spence (2026) measured skill activation in Claude Code and concluded that the problem is activation (whether the model calls a skill at all), not selection (whether it picks the right one). That matches what I saw: when the skill was called, it was always used well.
- On scale, Song and Wei (2026) found no significant drop for Sonnet 4.6 at 52 or 102 skills, only at 202. Liu et al. (2026) report that Claude Opus 4.6 kept its pass rate with 1,000 irrelevant skills (62.2% vs 64.9%), even though how often it loaded the right skill fell.
- For tools rather than skills, Anthropic's Tool Search cut the tokens spent on tool definitions by about 85% by loading them on demand.
Reproduce it
Everything is in greyngs/skill-dose-bench: tasks, checkers, the skill pool, the harness, the per-run results (results/results.jsonl) and the analysis scripts.
node analysis/confirmatory.mjs # hypothesis tests from results/results.jsonl node analysis/figures.mjs # the figures in this post To explore the numbers yourself, there is an interactive version of the results, with every setup, every task and the four hypothesis tests. The technical report has every table, exclusion and deviation.
A note on method
I designed and ran this study with Claude (Anthropic's model) in Claude Code. Claude helped design the experiment, write the tasks, checkers and analysis, run the batches and draft the report and this post. I made the design decisions and reviewed the results.
Originally published at greyngs.github.io/skill-dose-bench.




