Metraipolis › archive › dc_4c1456abb172
Adaptive Skill Granularity for Coding Agents: Runtime Routing and Macro-to-Micro Recovery — arXiv:2610.31461
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.31461
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-25T20:53:26.475Z
- SHA-256 of the archived text
4206b7961f7e85c37508c526fb81fa88c36f8bbae7e2e6aa000feae52fb86e8d- Stable URL of this page
https://metraipolis.com/documento/dc_4c1456abb172
How to cite
Adaptive Skill Granularity for Coding Agents: Runtime Routing and Macro-to-Micro Recovery — arXiv:2610.31461 — arXiv (en), https://arxiv.org/abs/2610.31461 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4c1456abb172 (Metraipolis archive dc_4c1456abb172, sha256 4206b7961f7e85c37508c526fb81fa88c36f8bbae7e2e6aa000feae52fb86e8d)
BibTeX
@misc{dc4c1456abb172,
title = {Adaptive Skill Granularity for Coding Agents: Runtime Routing and Macro-to-Micro Recovery — arXiv:2610.31461},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.31461},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4c1456abb172; sha256 4206b7961f7e85c37508c526fb81fa88c36f8bbae7e2e6aa000feae52fb86e8d},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.31461. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Reusable skills allow large language model agents to package task-specific procedures, tool affordances, and execution guidance into modular units. Prior work has largely studied how agents retrieve, compose, or synthesize skills before execution. In coding agents, however, execution poses an additional runtime control problem: the same task may be solved through primitive tool calls, macro skills, or hybrid execution that starts with a macro and falls back to micro-level recovery. We introduce Adaptive Skill Granularity, a framework that treats skill granularity as an action-abstraction policy conditioned on task structure, execution state, and macro-skill failures. The system combines a feature-based granularity controller and a finite-state recovery executor. We evaluate the framework with a deterministic coding-agent protocol using verifier-defined success, total cost, and process metrics such as macro adoption, failure recovery, route match, and transition correctness. Results show that fixed macro execution is efficient when applicable but brittle under mismatch, while runtime routing and explicit macro-to-micro recovery improve robustness and recover controlled macro failures that fixed-granularity execution leaves unresolved. Our findings suggest that skill libraries for coding agents should be treated not only as retrievable resources, but also as controllable, verifiable, and recoverable execution abstractions. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI) ; Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2610.31461 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-25T20:47:56.936Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).