Trajectory-Guided Fault Localization for Agent Skill Evolution

Yu Ge, Linna Xie, Zhong Li, Yu Pei, Tian Zhang
10/8/2026
cs.SEcs.AI

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ge2026trajectoryguided,
  title  = {Trajectory-Guided Fault Localization for Agent Skill Evolution},
  author = {Yu Ge and Linna Xie and Zhong Li and Yu Pei and Tian Zhang},
  year   = {2026},
  eprint = {2610.11858},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.11858v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.11858.svg)](https://codeofpaper.com/paper/2610.11858)

Discussion