Dumping every skill into context scores worse than giving the agent none — SkillsInjector recovers it to 58.7%
Notes on SkillsInjector: Dynamic Skill Context Construction for LLM Agents (arXiv:2605.29794) — Yanchao Li, Wanhao Liu, Ben Gao, Jiaqing Xie, Zhehong Ai, Na Zou, Yuqiang Li, Tianfan Fu · 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 retrievalSkill injection is usually treated as a retrieval problem: rank candidates, keep the top K, paste their descriptions in unchanged. That static treatment turns out to be the bottleneck, not the skills themselves. On one tau2-bench airline task with an 82-skill library, per-skill benefit over a no-skill baseline ranges from -0.20 to +0.40: an insurance-policy skill that shares surface keywords with the request actively hurts, while four unrelated policy-reference skills each help substantially. Feed the whole library in at once and pass rate collapses to 24.8% on average across benchmarks — worse than injecting nothing at all (40.2%).
SkillsInjector fixes this with two trained components instead of a fixed shortlist. A context planner — a small MLP scorer trained on execution-grounded benefit rather than semantic similarity — scores each candidate and admits everything clearing a per-domain threshold, so the injected set size floats task by task instead of being fixed in advance. A set-aware renderer then rewrites each selected description in light of its co-injected neighbors (appending lines like 'Not for: refund_policy_reference, compensation_eligibility_criteria' to disambiguate overlapping skills), distilled from a 235B-parameter teacher into an 8B model to keep rewriting cheap at inference. Across tau2-bench, SkillsBench, and ALFWorld, the combined method posts a 58.7% average pass rate versus 53.6% for the strongest baseline (Graph of Skills) — with the largest single-domain jump on ALFWorld, 82.7% vs. 75.4%.
Key numbers
| Average pass rate, SkillsInjector vs. best baseline | 58.7% vs 53.6% |
| ALFWorld gain over strongest baseline | +7.3 pts |
| Full-library injection average pass rate | 24.8% (vs. 40.2% no-skill) |
| Per-skill benefit spread on one 82-skill task | -0.20 to +0.40 |
| Removing the renderer (no rendering) | +6 to +8 extra agent messages per task |
Skills related to this research
Related notes
- Skills Trained Into the Model Beat Runtime-Loaded Skills by Up to 10.1 Points →
- Cut Skill Bodies 39%, Task Success Rises 2.8% →
- A 3.9M-parameter skill sequencer closes 80% of the gap to hand-picked "gold" skill sets →
- Best skill-generation pipeline clears just 14% of code-repo tasks, 25% of document tasks →
- LLM-Written Agent Skills Add Zero Pass-Rate Gain — Self-Diagnosis Closes Up to 67% of the Gap to Human Authors →
- Agents Writing Their Own Skills Close Just 45% of the Gap to Human Authors →
- The right skill text for one model is the wrong one for another — model-aware rewriting recovers up to 25.8 points →
- 215 Skills, 165 Contributors, No Fidelity Test →
- Cutting 83% of skill calls raises task success 10.9 points →
References
- SkillsInjector: Dynamic Skill Context Construction for LLM Agents (Li et al., 2026, arXiv:2605.29794)
- τ²-Bench: Evaluating Conversational Agents in a Dual-Control Environment (Barres et al., 2025, arXiv:2506.07982)
- SkillsBench: Benchmarking How Well Agent Skills Work Across Diverse Tasks (Li et al., 2026, arXiv:2602.12670)
- Graph of Skills: Dependency-Aware Structural Retrieval for Massive Agent Skills (Liu et al., 2026, arXiv:2604.05333)
- Lost in the Middle: How Language Models Use Long Contexts (Liu et al., 2024, TACL)