CODESKILL: Learning Self-Evolving Skills for Coding Agents
cs.AI
Submitted: 2026-05-25
Updated: 2026-09-25
License: http://creativecommons.org/licenses/by/4.0/
The gist: Coding agents produce rich trajectories while solving software-engineering tasks.
Terminology
Abstract
Coding agents produce rich trajectories while solving software-engineering tasks. To enable agent self-evolution, these trajectories can be distilled into reusable procedural skills that compactly encode experience to guide future behavior. However, existing skill construction and maintenance methods often rely on fixed prompts and heuristic update rules, leaving it unclear how knowledge should be selected, abstracted, and maintained to best serve downstream agents. We propose CODESKILL, an LLM-based framework that reformulates skill extraction and skill-bank maintenance as a learnable management policy. CODESKILL extracts multi-granularity procedural skills from coding-agent trajectories, evolves skills with new experience, and maintains a compact skill bank for future task solving. We train CODESKILL with reinforcement learning, using a hybrid reward that combines dense rubric-based skill-quality feedback with sparse verifiable execution feedback from the frozen downstream agent. Experiments on EnvBench, SWE-Bench Verified, and Terminal-Bench 2 show that CODESKILL improves average pass rate by 11.03 over the no-skill baseline and by 5.10 over the strongest prompt-based or memory baseline, while maintaining a compact skill bank.
Sources
- EvoSkill: Automated Skill Discovery for Multi-Agent Systems
- SWE-Exp: Experience-Driven Software Issue Resolution
- Mem0: Building Production-Ready AI Agents with Scalable Long-Term Memory
- Memp: Exploring Agent Procedural Memory
- SWE-Skills-Bench: Do Agent Skills Actually Help in Real-World Software Engineering?
- ARISE: Agent Reasoning with Intrinsic Skill Evolution in Hierarchical Reinforcement Learning
- SkillNet: Create, Evaluate, and Connect AI Skills
- Agent Skills: A Data-Driven Analysis of Claude Skills for Extending Large Language Model Functionality
- SkillClaw: Let Skills Evolve Collectively with Agentic Evolver
- Terminal-Bench: Benchmarking Agents on Hard, Realistic Tasks in Command Line Interfaces
- Trace2Skill: Distill Trajectory-Local Lessons into Transferable Agent Skills
- Qwen3 Technical Report
- DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
- Structurally Aligned Subtask-Level Memory for Software Engineering Agents
- EvolveR: Self-Evolving LLM Agents through an Experience-Driven Lifecycle
- SWE-smith: Scaling Data for Software Engineering Agents
- AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
- CoEvoSkills: Self-Evolving Agent Skills via Co-Evolutionary Verification
- Dynamic Dual-Granularity Skill Bank for Agentic RL
- Reinforcement Learning for Self-Improving Agent with Skill Library
Related papers
- MAVEN-T: Reinforced Heterogeneous Distillation for Real-Time Multi-Agent Trajectory Prediction
- Model Discovery Agent: LLM-assisted Bayesian experiment design for data-efficient discovery of mechanistic world models
- Agents' Last Exam
- The Clinician's Veto: Navigating Trust, Liability, and Uncertainty in Autonomous AI Prescribing
- MindHelper: Closed-Loop Embodied Mental-State Reasoning for Precision Intervention
- Incumbent Advantage: Brand Bias and Cognitive Manipulation Dynamics in LLM Recommendation Systems