What Should a Skill Remember? Quality--Cost Trade-offs in Cost-Aware Skill Rewriting for Language Model Agents

Qinghua Xing, Yinda Chen, Yaping Jin, Zhenhe Wu, Bohan Lin +4 more
6/8/2026
1 citation
cs.CL

Official code: 1Reminding/Skill_EE (0 stars, Python, Apache-2.0, last commit 2026-05-29).

Abstract

Large language model agents increasingly rely on skills: reusable procedural documents encoding workflows, tool use, implementation patterns, validation checks, and domain rules. Skill rewriting is often treated as prompt compression, but shorter skills can make agents more expensive by removing sparse operational anchors that prevent exploration, debugging, and recovery.

Show full abstract

We study skill rewriting through this economic lens. Our controlled framework profiles skill structure, rewrites skills using information-preservation strategies, and evaluates the rewrites under fixed task instructions, environments, and verifiers. Experiments on SkillsBench reveal distinct quality--cost trade-offs across strategies: API/code anchoring, workflow guarding, and rule/formula anchoring benefit different task families, with no universally dominant template. In the main held-out evaluation, the learned policy reduces total cost by 7.0% and downstream agent-token cost by 6.0%; in frozen cross-model transfer, the corresponding reductions average 14.7% and 13.7%, while verifier quality is preserved. These results position skill design as cost-aware operational knowledge engineering rather than prompt compression. Resources: https://github.com/1Reminding/Skill_EE.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

skillbenchmark_v2

00PythonApr 24, 20266 months agoApache-2.0

Similar Papers

Cite this paper

@article{xing2026what,
  title  = {What Should a Skill Remember? Quality--Cost Trade-offs in Cost-Aware Skill Rewriting for Language Model Agents},
  author = {Qinghua Xing and Yinda Chen and Yaping Jin and Zhenhe Wu and Bohan Lin and Hang Zhou and Xinghao Chen and Hanting Chen and Zhiwei Xiong},
  year   = {2026},
  eprint = {2606.09421},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.09421v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.09421.svg)](https://codeofpaper.com/paper/2606.09421)

Discussion