TL;DR
SkillEvolver is a lightweight, plug-and-play framework that enables LLM agents to automatically learn, test, and refine domain-specific skills on-demand without retraining model weights. By deploying candidate skills to fresh downstream agents and iteratively patching them based on real failures, it significantly outperforms both human-curated skills and one-shot LLM generation.
What Problem Does This Paper Address?
LLM agents frequently require procedural knowledge—the specific "how-to" steps needed to navigate complex, real-world environments, such as filling out a proprietary spreadsheet template or calling a brittle API. Currently, these behaviors are captured via "agent skills" (reusable packages of prompts, code, and examples).
However, existing skills are static: they are either painstakingly written by humans or generated one-shot by an LLM, leaving them with no mechanism to improve from real-world failures. While reinforcement learning (RL) and trace-distillation methods can automate skill creation, they require massive offline trajectory pools and extensive training. SkillEvolver addresses the challenge of on-demand, online skill learning, where an agent must author and refine a reusable skill from only a handful of deployment-time trials.
Methods
SkillEvolver introduces the concept of a meta-skill—a skill that instructs a standard command-line interface (CLI) agent to author another skill rather than modifying its own weights or prompts.
The framework operates via an iterative deploy-then-refine loop:
- Strategy-Diversified Exploration: Instead of relying on temperature sampling, the SkillEvolver Agent explicitly brainstorms multiple high-level strategic plans to tackle a training task.
- Deployment Handoff: It spawns fresh, independent "Domain-Skill Agents" to execute these strategies using the candidate skill. This exposes critical deployment-specific failures, such as silent-bypass (where a skill's content seems correct, but the downstream agent completely ignores it at runtime).
- Contrastive Skill Update: SkillEvolver compares successful and failing execution traces to isolate what was missing or misleading, synthesizing a localized natural-language or code patch.
- Independent Audit: A separate, clean-context Auditor agent evaluates the patched skill against a checklist to prevent overfitting, hardcoded training constants, or text leakage.
Datasets
The authors evaluated SkillEvolver across two distinct benchmarks:
- SkillsBench: An 83-task subset spanning over 15 professional domains (e.g., DevOps, finance, web development, quantum computing) using a strict train/test split to prevent data contamination.
- KernelBench: A continuous-optimization probe consisting of 3 GPU kernel optimization tasks (
deepnarrowmlp,shufflenet, andgru) representing dense MLPs, lightweight CNNs, and recurrent models.
Key Insights and Ideas
- Grounded Handoffs Beat Self-Reflection: Traditional agents try to improve by reflecting on their own actions. SkillEvolver shows that the truest learning signal comes from handing a skill to a completely fresh agent and observing where it gets confused or misdirected.
- Refinement is the Real Driver: A single-pass generation pipeline yields minor improvements. The iterative refinement loop (moving from iteration $R=1$ to $R=2$) is responsible for roughly two-thirds of SkillEvolver's total performance gains.
- Skills as Work Compressors: Beyond accuracy, evolved skills act as procedural playbooks that streamline agent behavior. At validation time, downstream agents using evolved skills used 19.4% fewer tokens, took 15.3% fewer turns, and reduced wall-clock runtime by 23.8%.
Key Results
SkillEvolver achieved substantial performance gains while remaining highly cost-effective, averaging just $3.92 per task pipeline run.
- SkillsBench: SkillEvolver reached 56.9% accuracy, significantly outperforming human-curated skills (43.6%), baseline automated skill creators (33.9%), and the no-skill baseline (29.9%). It won or tied against human-curated skills on 74.7% of the tasks.
- KernelBench: It successfully generalized to continuous scalar rewards, raising the mean GPU kernel speedup from 1.16 to 1.51 on average, with the largest jump seen in recurrent model (
gru) optimization (from 1.326 to 2.226).
Limitations and Future Work
While powerful, SkillEvolver currently operates under a single-task scope, meaning it generates a standalone artifact for one specific task at a time. The authors note that managing a broader ecosystem—such as cross-task skill reuse, library deduplication, and parent-sibling specialization—remains an open challenge. Additionally, the evaluation was bounded by a compute budget of $R=2$ iterations; exploring deeper refinement sweeps ($R \ge 3$) and testing across a wider variety of frontier LLM architectures are clear next steps.
Summary updated