Trajectory-Guided Fault Localization for Agent Skill Evolution
Yu Ge, Linna Xie, Zhong Li, Yu Pei, Tian Zhang
Key points
From the paper's conclusion- We have also applied SkillMorph to automated kernel generation with an AI operator-development team, which has accepted 6 skill-revision pull requests.
Abstract
Agent skills provide reusable guidance for code agents, but incomplete or unsuitable guidance can impair task execution. To reduce the manual effort of skill refinement, recent approaches use LLMs to generate revisions from execution feedback. However, grounding these revisions in explicit behavioral evidence remains challenging. To address this gap, we propose SkillMorph, a skill-evolution approach based on trajectory-guided fault localization in agent skills. Its core idea is to link execution evidence to specific skill contents before generating revisions. Specifically, SkillMorph compares failure and success evidence in abstracted trajectories across repeated runs and tasks, incorporating changes between evolution loops to identify suspicious actions. It then uses these suspicious actions to localize edit sites in the skills and generate corresponding revisions. Experiments on SWE-Skills-Bench and CannBot show that the skills evolved by SkillMorph consistently achieve higher trial-level accuracy and execution consistency than the original skills and those from four existing skill-evolution methods. We have also applied SkillMorph to automated kernel generation with an AI operator-development team, which has accepted 6 skill-revision pull requests.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- SkillFocus: Evolving Agent Skills via Capability DecompositionarXiv · 2026
- Evolve Where It Matters: Coverage-Guided Self-Evolution of Agent SkillsarXiv · 2026
- SkillLens: An Interactive Human-LLM System for Diagnosing and Refining Agent SkillsarXiv · 2026
- Synapse: Optimizing Natural-Language Agent Skills through Program RepairarXiv · 2026
- Skill Transfer: Adapting Agent Skills from Strong to Weak AgentsarXiv · 2026
- How Agent Skills Evolve: A Large-Scale Empirical Study of Skills on GitHubarXiv · 2026