TL;DR
While automatically extracting "skills" from past trajectories is a popular way to boost LLM agent performance, doing so blindly can actually degrade performance through negative transfer. This paper provides the first systematic study of the entire agent skill lifecycle—from experience generation to consumption—and introduces a utility-grounded "meta-skill" prompt that consistently eliminates bad skills and improves downstream agent accuracy.
What Problem Does This Paper Address?
Language agents are increasingly deployed to solve complex, multi-step tasks by utilizing "skills"—structured, procedural instructions or code snippets distilled from past execution logs. While automated skill extraction methods are proliferating, we lack a holistic understanding of the skill lifecycle: Experience Generation (creating logs), Skill Extraction (distilling knowledge), and Skill Consumption (using the skill at inference time).
Crucially, existing benchmarks only look at isolated slices of this lifecycle. We don't fully know when model-generated skills succeed, why they fail, or how to prevent "negative transfer" (where adding a skill makes an agent perform worse than the baseline). This paper fills that gap with a systematic, utility-grounded evaluation framework.
Methods
The authors establish a clean, three-stage experimental pipeline to evaluate skills without relying on engineering heavy scaffolding tricks:
- Experience Generation: A target agent executes training tasks to generate a pool of successful and failed trajectories.
- Skill Extraction: An extractor LLM distills this pool into a single domain-level skill using a minimal two-stage framework: per-trajectory analysis (finding success/failure patterns) followed by hierarchical consolidation (merging and deduplicating patterns).
- Skill Consumption: The target agent uses the consolidated skill via its system prompt on a held-out test split.
To evaluate performance, they introduce two key metrics:
- Extraction Efficacy (EE): How reliably a fixed extractor model generates helpful skills across different target models.
- Target Evolvability (TE): How much a fixed target model benefits from skills distilled from its own experience.
Finally, the authors design a closed-loop intervention: a Meta-Skill Guided Extraction prompt based on a validated 3-dimension rubric (Failure Mechanism Encoding, Actionable Specificity, and High-Risk Action Blacklist) to guide the extractor LLM toward generating high-utility skills.
Datasets
The framework is evaluated across five diverse agentic task domains:
- ALFWorld: Embodied household planning tasks.
- SpreadsheetBench: Spreadsheet manipulation and formula editing.
- SWE-bench-Verified: Real-world software engineering and patch generation.
- SEAL-0: Web-search question answering and multi-hop reasoning.
- BFCL-v4 (Berkeley Function Calling Leaderboard): Multi-turn tool use and function selection.
Key Insights and Ideas
- Task Execution $\neq$ Skill Extraction: A model's capability as a task executor does not predict its skill as an extractor. For example, in SpreadsheetBench, the lightweight Gemini-3.1-Flash-Lite achieved the highest Extraction Efficacy, while the much larger GPT-5.4 ranked last despite having the strongest baseline task performance.
- The "Surface Plausibility" Trap: Standard LLM judges are terrible at predicting skill utility based on text alone. In pairwise tests, unguided LLM judges frequently picked fluent, generic-sounding skills that actually caused negative transfer, completely inverting actual utility.
- Domain-Specific Experience Ratios: The ideal mix of successful vs. failed trajectories needed to generate a good skill depends heavily on the domain. For instance, ALFWorld benefits most from failure-heavy pools because failures reveal critical environmental constraints, whereas SpreadsheetBench requires highly successful trajectories.
Key Results
- Pervasive Negative Transfer: Across the massive extractor-target matrix, model-generated skills were beneficial on average, but 25% of all pairings exhibited negative transfer, proving that skill injection is not a guaranteed win.
- Meta-Skill Success: When the extractor was guided by the authors' utility-validated meta-skill prompt, it completely reversed the negative transfer trend. The meta-skill prompt improved agent performance across all 9 evaluated target-domain cells, yielding an average boost of +1.55 percentage points over unguided extraction.
Limitations and Future Work
To maintain strict interpretability and isolate the impact of the skills themselves, the authors intentionally favored simplicity: they consolidated an agent's experience into a single domain-level skill injected directly into the system prompt.
Consequently, the study does not address the complexities of scaling up to large skill libraries, which would require dynamic retrieval mechanisms, orchestration scaffolds, and managing skill-to-skill interference. The authors highlight these scaling challenges as the most promising directions for future work.
Summary updated