SkillGenBench: Benchmarking Skill Generation Pipelines for LLM Agents

Yifan Zhou, Zhentao Zhang, Ziming Cheng, Shuo Zhang, Qizhen Lan, Zhangquan Chen, Zhi Yang, QianyuXu, Ronghao Chen, Huacan Wang, Sen HuarXiv 2026

TL;DR

SkillGenBench is a novel benchmark designed to isolate and evaluate how effectively LLMs can generate reusable, executable "skills" (packaged procedural knowledge) from raw code repositories and documents. By decoupling skill generation from downstream execution, the benchmark reveals that current LLM pipelines struggle significantly with this task, frequently producing brittle artifacts that can actually hinder agent performance.

What Problem Does This Paper Address?

AI agents are increasingly moving away from monolithic, single-prompt designs toward modular architectures centered around reusable "skills"—structured packages containing code, documentation (like a SKILL.md file), and resources. While existing benchmarks evaluate whether an agent can use a provided skill or solve a task from raw context, they fail to isolate the generation of these skills as an independent problem.

When an agent is dropped into a new environment with complex APIs, developer repositories, or massive text manuals, it must be able to distill those raw materials into clean, executable capabilities. SkillGenBench addresses this gap by providing a controlled, unified protocol to evaluate skill-generation pipelines independently of downstream execution variables.

Methods

SkillGenBench introduces a framework that treats the skill generator as the primary object of study. The evaluation decouples the pipeline into two distinct phases:

  1. Skill Generation: The generator receives raw corpora and produces a standardized skill package. The benchmark tests this across two regimes:
  2. Task-conditioned: The model knows the specific downstream task during generation.
  3. Task-agnostic: The model must distill a broadly reusable skill library before hidden downstream tasks are revealed.
  4. Fixed Execution & Evaluation: A separate, standardized executor (running MiniMax-2.5) attempts the downstream tasks using only the generated skill.

Performance is measured dynamically via execution-based checks (hidden unit tests) and artifact-based checks (comparing generated outputs via exact matching or LLM judges). Additionally, the authors implement eight automatic rule-based static diagnostics to evaluate the structural quality of the generated packages across six axes: Contract, Environment, Grounding, Procedure, Constraints, and Safety.

Figure 1: Overview of SkillGenBench. Skill-generation pipelines transform repository- and document-grounded sources into standardized skill packages, which are evaluated under task-conditioned and task-agnostic tracks with fixed execution checks and artifact-level diagnostics.

Datasets

The authors introduced SkillGenBench, a newly curated dataset containing 187 tasks across diverse domains such as Image Processing, Audio, Reasoning, and Security.

The benchmark splits tasks by their procedural knowledge source:

  • Repository-grounded (123 tasks): Built from code repository snapshots where workflows are implicit in directory structures, configurations, and code dependencies.
  • Document-grounded (64 tasks): Built from dense, long-form texts like API manuals or technical reports where rules are explicit but scattered across multiple sections.

The dataset was built using an automated pipeline that extracts knowledge graphs, proposes scenarios, filters out trivial tasks, and validates the remainder using reference skills, followed by a rigorous human verification pass that filtered out over 70% of candidate tasks to ensure quality.

Figure 3: Source and domain composition of SkillGen- Bench. The inner ring shows source types and the outer ring shows task domains.

Key Insights and Ideas

  • The "Structure vs. Execution" Mismatch: A surprising finding was that structural completeness does not equal executability. Some generation methods (like SkillNet) scored exceptionally high on static structural metrics but underperformed dynamically. Conversely, SkillSeekers had weaker structural scores but achieved the highest task success rates.
  • The Code Repository Chasm: Distilling skills from code repositories is vastly more difficult than from text documents. Repositories require models to implicitly reconstruct environment setups, data flows, and command conventions, whereas documents state rules explicitly.
  • The Danger of Negative Transfer: In many cases, generating a skill resulted in worse performance than providing no skill at all. Brittle or incomplete skills introduce incorrect assumptions and interface inconsistencies that confuse the downstream executor.
  • Task-Agnostic Blindness: Current LLMs fail heavily when asked to build a skill library without knowing the task beforehand. Without task hindsight, models struggle to identify which procedures possess cross-task reuse value.

Key Results

The authors evaluated five state-of-the-art skill-generation baselines across six prominent LLM backbones (including Claude Sonnet 4.5 and GPT-5).

  • Overall Performance: Performance remains low across the board. The best-performing pipeline (SkillSeekers) only achieved a 14.4% average pass@3 score on Code tasks and 25.0% on Document tasks.
  • Baseline Comparison: Simple prompt-only generation (Naive Prompt) often matched or beat more complex iterative pipelines when paired with weaker backbone models.
  • Failure Modes: A source-aware error analysis showed that Code Repository failures are heavily driven by environment/dependency issues (53%), whereas Code Document failures are overwhelmingly caused by interface/schema non-compliance (85%).

Limitations and Future Work

The authors note several limitations of the current benchmark:

  • It focuses entirely on deterministic task verifiers and fixed downstream execution, omitting interactive environments where agents can negotiate constraints with users or iteratively revise skills post-deployment.
  • The rule-based static scores serve as helpful proxies but are not intrinsic measures of skill quality.
  • The dataset, while diverse, does not yet cover massive multi-repository workflows or long-horizon task-agnostic library settings.

Future iterations aim to include fully self-contained raw run directories for deeper diagnostic tracking.

Summary updated

BibTeX
@misc{zhou2026skillgenbench,
  author = {Yifan Zhou and Zhentao Zhang and Ziming Cheng and Shuo Zhang and Qizhen Lan and Zhangquan Chen and Zhi Yang and QianyuXu and Ronghao Chen and Huacan Wang and Sen Hu},
  title = {{SkillGenBench: Benchmarking Skill Generation Pipelines for LLM Agents}},
  year = {2026},
  eprint = {2605.18693},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.18693},
}
Figure