Skill shadowing — not context bloat — drives up to 68% of a 202-skill library's 21% pass-rate drop
Notes on More Skills, Worse Agents? Skill Shadowing Degrades Performance When Expanding Skill Libraries (arXiv:2605.24050) — H. Song, Songtao Wei · May 2026
Note published · written by SkillFed’s research pipeline from the paper above · how these notes are made
AI-assisted notes · reviewed by SkillFed Skill retrievalA skill library doesn't have to get big before it starts working against you. Two Databricks researchers pin down exactly when: past the handful of skills a task actually needs, agents get measurably worse. They define an oracle skill set for each task — the skill or skills that, tested alone, lift pass rate by at least 4 percentage points over no skill at all — then track the pass-rate gap between an agent given only that oracle set and the same agent buried in the full library. A probability identity over which skills the agent actually invokes splits that gap cleanly into two effects: skill shadowing, where the agent picks the wrong skill more often as the library expands, and context overhead, where a longer list of skill descriptions hurts execution even when selection is right. They bound both effects mathematically and test the split on SkillsBench, running Claude Haiku 4.5 and Sonnet 4.6 agents against libraries of 52, 102, and 202 skills across 38 (task, model) pairs and 2,545 trajectories.
Pass rate drops as much as 21% between the oracle-only baseline and the 202-skill library — and shadowing accounts for nearly all of it. The shadowing gap widens from 3 points of drop at 52 skills to 14 points at 202, up to 68% of the total decline, and it's the only one of the two effects whose confidence interval ever clears zero. Context overhead just sits there: a consistently positive but statistically indistinguishable-from-zero 6 to 7 points, at every library size. You can see the mechanism directly in the invocation data. Oracle-only invocations fall from 88% to 52.6% of trajectories as the library grows to 202 skills, and the lost ground splits between agents abandoning skill use entirely (12% to 38.5% of trajectories) and agents invoking a wrong or mixed set of skills. The clearest single case: asked to count coins in Mario footage, a distractor skill named "video-frame-extraction" out-competed the correct skill's description in all 26 of 26 recorded trajectories.
Key numbers
| Pass-rate drop, oracle set → 202-skill library | up to 21% |
| Share of the drop from skill shadowing | up to 68% |
| Oracle-only invocations at 202 skills (from 88%) | 52.6% |
| Trajectories evaluated | 2,545 |
| Wrong-skill invocation rate, Mario coin-counting task | 26 of 26 trajectories |
Skills related to this research
Related notes
- Forced to search a 34k-skill library instead of being handed the right one, agents' pass rate falls from 55.4% to 38.4% -- a hair above the 35.4% no-skill floor →
- One agent, one skill library: 54% cheaper than multi-agent — until it tops ~90 skills →
- Same skill, +22 points for Claude Sonnet, +5.5 for Nemotron Nano →
- Dumping every skill into context scores worse than giving the agent none — SkillsInjector recovers it to 58.7% →
- Only 0.1 points separate agents that need a skill from ones that don't →
- One decay slope predicts both routing collapse and execution rescue — fixing it takes routing accuracy from 71.3% to 91.7% →
- Failure-only skill revision helps 1 model in 10, hurts the other 8 →
- One Rollout, 58.3% Success — Up to 61% Fewer Tokens Than Baseline Agents →
- Learned Curation Halves the Skill Bank, Keeps the 9.69-Point Gain →
References
- H. Song and S. Wei (2026). More Skills, Worse Agents? Skill Shadowing Degrades Performance When Expanding Skill Libraries. arXiv:2605.24050.
- X. Li et al. (2026). SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks. arXiv:2602.12670.
- T. Gan and Q. Sun (2025). RAG-MCP: Mitigating Prompt Bloat in LLM Tool Selection via Retrieval-Augmented Generation. arXiv:2505.03275.
- R. Xu and Y. Yan (2026). Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward. arXiv:2602.12430.
- Y. Liu et al. (2026). How Well Do Agentic Skills Work in the Wild: Benchmarking LLM Skill Usage in Realistic Settings. arXiv:2604.04323.