SkillReducer: Optimizing LLM Agent Skills for Token Efficiency

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Gao, Yudong, Li, Zongjie, Yuanyuanyuan, Ji, Zimo, Ma, Pingchuan, Wang, Shuai
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866911558114738176
author Gao, Yudong
Li, Zongjie
Yuanyuanyuan
Ji, Zimo
Ma, Pingchuan
Wang, Shuai
author_facet Gao, Yudong
Li, Zongjie
Yuanyuanyuan
Ji, Zimo
Ma, Pingchuan
Wang, Shuai
contents LLM-based coding agents rely on \emph{skills}, pre-packaged instruction sets that extend agent capabilities, yet every token of skill content injected into the context window incurs both monetary cost and attention dilution. To understand the severity of this problem, we conduct a large-scale empirical study of 55,315 publicly available skills and find systemic inefficiencies: 26.4\% lack routing descriptions entirely, over 60\% of body content is non-actionable, and reference files can inject tens of thousands of tokens per invocation. Motivated by these findings, we present \textsc{SkillReducer}, a two-stage optimization framework. Stage~1 optimizes the routing layer by compressing verbose descriptions and generating missing ones via adversarial delta debugging. Stage~2 restructures skill bodies through taxonomy-driven classification and progressive disclosure, separating actionable core rules from supplementary content loaded on demand, validated by faithfulness checks and a self-correcting feedback loop. Evaluated on 600 skills and the SkillsBench benchmark, \textsc{SkillReducer} achieves 48\% description compression and 39\% body compression while improving functional quality by 2.8\%, revealing a \emph{less-is-more} effect where removing non-essential content reduces distraction in the context window. These benefits transfer across five models from four families with a mean retention of 0.965, and generalize to an independent agent framework.
format Preprint
id arxiv_https___arxiv_org_abs_2603_29919
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SkillReducer: Optimizing LLM Agent Skills for Token Efficiency
Gao, Yudong
Li, Zongjie
Yuanyuanyuan
Ji, Zimo
Ma, Pingchuan
Wang, Shuai
Software Engineering
LLM-based coding agents rely on \emph{skills}, pre-packaged instruction sets that extend agent capabilities, yet every token of skill content injected into the context window incurs both monetary cost and attention dilution. To understand the severity of this problem, we conduct a large-scale empirical study of 55,315 publicly available skills and find systemic inefficiencies: 26.4\% lack routing descriptions entirely, over 60\% of body content is non-actionable, and reference files can inject tens of thousands of tokens per invocation. Motivated by these findings, we present \textsc{SkillReducer}, a two-stage optimization framework. Stage~1 optimizes the routing layer by compressing verbose descriptions and generating missing ones via adversarial delta debugging. Stage~2 restructures skill bodies through taxonomy-driven classification and progressive disclosure, separating actionable core rules from supplementary content loaded on demand, validated by faithfulness checks and a self-correcting feedback loop. Evaluated on 600 skills and the SkillsBench benchmark, \textsc{SkillReducer} achieves 48\% description compression and 39\% body compression while improving functional quality by 2.8\%, revealing a \emph{less-is-more} effect where removing non-essential content reduces distraction in the context window. These benefits transfer across five models from four families with a mean retention of 0.965, and generalize to an independent agent framework.
title SkillReducer: Optimizing LLM Agent Skills for Token Efficiency
topic Software Engineering
url https://arxiv.org/abs/2603.29919