SkillScriptBench: Benchmarking Self-Evolution of Executable Agent Skill Packages Beyond Markdown

Yuxuan Liu, Haoran Li, Yuhao Zhang, Jiahe Guo, Hongyu Luo, Wenbin Hu, Huihao Jing, Kawai Chung, Junle Chen, Changxuan Fan, Qing Zong, Lingyun Xie, Yangqiu SongarXiv 2026

TL;DR

SkillScriptBench is a new 350-task benchmark that challenges LLM agents to evolve "executable skills"—packages containing both documentation and code—without breaking existing functionality. The authors also introduce AST-Guided Skill Revision, a method that uses structural code analysis to significantly improve an agent's ability to repair faults and maintain consistency between scripts and manuals.

What Problem Does This Paper Address?

LLM agents are increasingly moving beyond simple chat to using "skills": reusable packages that bundle natural-language instructions (usually a SKILL.md file) with executable scripts. For these agents to be truly autonomous, they must be able to "self-evolve"—improving their skills based on feedback or changing requirements.

However, existing benchmarks have a major blind spot: they don't distinguish between fixing the documentation, fixing the code, or accidentally breaking something that was already working (a regression). An agent might fix a bug in a script but leave the manual outdated, or it might satisfy a new request while breaking three existing features. This paper aims to provide a rigorous way to measure these distinct capabilities and proposes a method to handle them more reliably.

Methods

The authors propose a two-pronged approach: a new evaluation framework and a new revision method.

1. SkillScriptBench

The benchmark is split into two tracks:

  • In-the-Wild Repair: 150 tasks derived from real-world GitHub repositories, focusing on diverse application domains like Finance, AI, and Software Engineering.
  • Controlled Repair: 200 tasks designed for fine-grained analysis. Each package is tested in four states: Clean (to test preservation), Doc-fault, Script-fault, and Joint-fault (both).

2. AST-Guided Skill Revision

To improve how agents handle these tasks, the authors developed a structure-aware revision process. Instead of just handing the LLM a pile of files and asking for a fix, this method:

  1. Grounds Requirements: Links natural language requests to specific nodes in an Abstract Syntax Tree (AST)—a structural representation of the code.
  2. Identifies Constraints: Explicitly labels what needs to be repaired versus what must be preserved.
  3. Performs Node-Level Edits: Restricts code changes to relevant AST nodes to prevent "hallucinated" or unnecessary changes.
  4. Aligns Documentation: Automatically updates the Markdown instructions to match the newly revised code.
Figure 3: AST-Guided Skill Revision on a dry-run example. Numbered issues (1–3) map through revision feedback R to corresponding script edits, enabling preview generation and conflict checking without renaming files or writing reports in dry-run mode. The SKILL.md command is updated with --dry-run to match the repaired implementation.

Datasets

The researchers surveyed over 35,000 GitHub-hosted Skill roots, eventually curating a set of 100 high-quality packages for the benchmark. The resulting SkillScriptBench covers:

  • Languages: Predominantly Python, but includes JavaScript, Shell, and TypeScript.
  • Domains: Six major areas including Finance & Trading (35.3%) and Software Engineering (30.7%).
Figure 2: Application coverage of In-the-Wild Repair. Inner and outer rings show six application domains and 24 uses, respectively. Uses are listed clockwise within each domain.

Key Insights and Ideas

  • Full-Package Access is a Double-Edged Sword: While giving an agent access to both code and docs allows it to fix script faults, it often leads to regressions in documentation or "breaking" parts of the package that were already correct.
  • Structure Prevents Chaos: By using ASTs and call graphs, the system can provide "preservation constraints." This tells the LLM, "You can change this function to meet the new requirement, but you must ensure that function still behaves exactly as it did before."
  • Consistency is Hard: One of the most common failure modes for standard LLMs was fixing the code but failing to update the SKILL.md file, leading to a package that works but is impossible for another agent to use correctly based on its manual.

Key Results

The authors tested their method across four major LLMs (including GPT-5.5 and Claude Opus 5). The results were striking:

  • Massive Success Gains: Averaged across models, AST-Guided Revision improved repair success by 21.9% for raw packages and 27.7% for the CoEvoSkills baseline.
  • Reliability Boost: The proportion of tasks solved consistently across three separate runs (the "Hit3" metric) increased by over 30 percentage points for some methods.
  • Better Preservation: On "Clean" tasks (where the agent shouldn't change anything), the AST-guided method significantly reduced accidental regressions compared to standard full-package editing.

Limitations and Future Work

  • Language Distribution: The "In-the-Wild" track is heavily skewed toward Python. While the method works for other languages, broader real-world coverage for JavaScript and Shell would be beneficial.
  • Synthetic Faults: Many faults were "injected" (constructed by researchers based on real patterns). Future benchmarks could benefit from more "organic" faults found directly in commit histories.
  • Downstream Impact: The paper focuses on the quality of the skill package itself. The next step is evaluating how these evolved skills perform in long-horizon, multi-step agent workflows where small errors in a skill can compound into total task failure.

Summary updated

BibTeX
@misc{liu2026skillscriptbench,
  author = {Yuxuan Liu and Haoran Li and Yuhao Zhang and Jiahe Guo and Hongyu Luo and Wenbin Hu and Huihao Jing and Kawai Chung and Junle Chen and Changxuan Fan and Qing Zong and Lingyun Xie and Yangqiu Song},
  title = {{SkillScriptBench: Benchmarking Self-Evolution of Executable Agent Skill Packages Beyond Markdown}},
  year = {2026},
  eprint = {2610.04008},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.04008},
}
Figure