Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

SkillsInjector: Dynamic Skill Context Construction for LLM Agents

About

LLM agents now draw on growing skill libraries to handle complex tasks. However, injecting more skills does not always improve task completion and can even degrade it. Existing methods still treat skill injection as a static step, selecting skills with fixed criteria, fixing the budget in advance, and leaving descriptions unchanged. We argue that this static treatment can undermine the utility of skills, because which skills are exposed, how many are included, and how they are presented all affect downstream performance. We propose SkillsInjector, a two-stage adaptive method that jointly addresses these decisions. First, a context planner learns execution-grounded skill preferences and admits an adaptive number of skills for each task. A set-aware renderer then tailors how selected descriptions are presented relative to their co-injected neighbors. Across tau2-bench, SkillsBench, and ALFWorld, SkillsInjector achieves the highest score, improving over the strongest baseline by 3.9, 6.1, and 7.3 percentage points, respectively. Ablation studies show that skill selection, adaptive budgeting, and set-aware rendering each contribute to the gain. These results show that skill-augmented agents benefit from optimizing the injected context itself. Code will be released upon publication

Yanchao Li, Wanhao Liu, Ben Gao, Jiaqing Xie, Zhehong Ai, Na Zou, Yuqiang Li, Tianfan Fu• 2026

Related benchmarks

TaskDatasetResultRank
Agent TaskAlfWorld
Success Rate82.7
40
Agent Task Completiontau2-bench Airline
Pass Rate60
9
Agent Task Completiontau2-Bench Telecom
Pass Rate67
9
Agent Task CompletionSkillsBench
Pass Rate22.6
9
Agent Task Completiontau2-bench, SkillsBench, and ALFWorld Average
Average Pass Rate58.7
9
Agent Task Successtau2-bench Retail Domain
Total Pass Rate61.4
9
Showing 6 of 6 rows

Other info

Follow for update