Adaptive Skill Granularity for Coding Agents: Runtime Routing and Macro-to-Micro Recovery
On the map: LLM agents and tool use → Agent skill learning and evolution
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Agent skill learning and evolution, one of 16 directions in LLM agents and tool use. Builds on 21 of its 27 references that are in the map. Submitted 22 Oct 2026.
Builds on
21 of 27 references.
Closest ancestors · 12
Same direction, newest first
- 2026Attributing Structured-Output Gains in Function Calling: Interface Alignment versus Procedural Transfer1 Jul
- 2026SkillAudit: From Fixed-Suite Benchmarking to Skill-Centered Assessment21 Jun
- 2026Compositional Skill Routing for LLM Agents: Decompose, Retrieve, and Compose16 Jun
- 2026SkillComposer: Learning to Evolve Agent Skills for Specification and Generalization4 Jun
- 2026CODESKILL: Learning Self-Evolving Skills for Coding Agents25 May
- 2026Formal Skill: Programmable Runtime Skills for Efficient and Accurate LLM Agents19 May
- 2026A Comprehensive Survey on Agent Skills: Taxonomy, Techniques, and Applications8 May
- 2026Graph-of-Skills: Dependency-Aware Structural Retrieval for Massive Agent Skills7 Apr
- 2026SkillRouter: Skill Routing for LLM Agents at Scale23 Mar
- 2026EvoSkill: Automated Skill Discovery for Multi-Agent Systems3 Mar
- 2026SkillCraft: Can LLM Agents Learn to Use Tools Skillfully?28 Feb
- 2026Agent Skills for Large Language Models: Architecture, Acquisition, Security, and the Path Forward12 Feb
Other references · 9
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,871
- 2026SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?cited by 97
- 2026HiMAC: Hierarchical Macro-Micro Learning for Long-Horizon LLM Agentscited by 12
- 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skillscited by 11
- 2026AgentBeats: Agentifying Agent Assessment for Openness, Standardization, and Reproducibilitycited by 4
- 2026Automating SKILL.md Generation for Computer-Using Agents via Interaction Trajectory Miningcited by 3
- 2026RigorBench: Benchmarking Engineering Process Discipline in Autonomous AI Coding Agentscited by 3
- 2026From Coarse to Fine: Self-Adaptive Hierarchical Planning for LLM Agentscited by 2
- 2026Diagnosing LLM Arbitration Behavior over Pre-evidence Epistemic States in RAG-based Fact-Checkingcited by 2
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Evidence-Calibrated Runtime Reconstruction for Agent Skills Across Heterogeneous Coding Agents
- 2026SkillLens: Adaptive Multi-Granularity Skill Reuse for Cost-Efficient LLM Agents
- 2026AGL-SKILL: Coding Harnesses as Agentic Optimizers
- 2026Up and Down the Abstraction Ladder: Code-Based Skills for Language Agents
- 2026SkillJuror: Measuring How Agent Skill Organization Changes Runtime Behavior
- 2026From Relevance to Execution Utility: Reward-Aware Dynamic Execution Gating for Skill-Based LLM Agents
- 2026ContinualSkillBench: Can LLM Agents Truly Evolve Their Capabilities?
- 2026Beyond Resolution Rates: Behavioral Drivers of Coding Agent Success and Failure