Hierarchical Skill Evolution for Coding Agent
On the map: LLM agents and tool use → Agent skill learning and evolution
Abstract (arXiv)
Skills provide agents with reusable experience to guide future decisions without modifying the underlying model. However, coding trajectories are often entangled with task- and repository-specific contexts, making it challenging to distill procedural skills that generalize across diverse coding environments. To address this challenge, we present Hierarchical Skill Evolution (HSE), which progressively distills procedural knowledge from coding trajectories through hierarchical evidence aggregation. HSE first extracts task-level evidence from individual trajectories, then aggregates recurring evidence within the same repository to form repository-specific skill candidates, and finally consolidates consistent patterns across repositories into transferable skills across repositories. The evolution is driven by an external writer-evaluator loop that generates and assesses skills while keeping the underlying coding model frozen. The loop externally updates the writer and evaluator policies to improve subsequent skill generation and assessment. This hierarchy progressively filters task-specific details while preserving procedures that generalize across diverse coding environments. Successful trajectories yield reusable guidance for future tasks, while failed trajectories reveal recurring failure modes that guide avoidance and recovery. We evaluate HSE on SWE-bench Verified and DeepSWE, using GLM-5.2 across Pi and Claude Code harnesses and GPT-5.5 and Opus 4.8 with Pi. Across both benchmarks, 10 skills evolved solely from SWE-Gym improve coding performance across all evaluated settings, demonstrating transfer across benchmarks, coding models, and agent harnesses. We further evolve the skill library from target-benchmark trajectories without verifier feedback, relying solely on the learned evaluator for candidate assessment and achieving additional gains through benchmark-tailored skills.
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 15 of its 20 references that are in the map. Submitted 26 Oct 2026.
Builds on
15 of 20 references.
Closest ancestors · 2
Same direction, newest first
- 2026Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skills26 Mar
- 2026SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning9 Feb
Other references · 13
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,789
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,799
- 2023Voyager: An Open-Ended Embodied Agent with Large Language Modelscited by 2,483
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 2,069
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 1,155
- 2023Automatic Prompt Optimization with "Gradient Descent" and Beam Searchcited by 711
- 2025GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learningcited by 699
- 2024Training Software Engineering Agents and Verifiers with SWE-Gymcited by 414
- 2025ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memorycited by 356
- 2026AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolutioncited by 133
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Taskscited by 103
1 more
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026From Trajectories to Differentiated Skills: Cognitive Differentiation for Self-Improving Agents
- 2026Program-Aided Patchable Skill Evolution
- 2026Learning Globally Reusable Skills for Coding Agents
- 2026CODESKILL: Learning Self-Evolving Skills for Coding Agents
- 2026SkillCommit: Evolving Agent Skills through Behaviorally Validated Scope Expansion
- 2026SkillJuror: Measuring How Agent Skill Organization Changes Runtime Behavior
- 2026Trajectory-Guided Fault Localization for Agent Skill Evolution
- 2026SkillAudit: Ground-Truth-Free Skill Evolution via Paired Trajectory Auditing