PIXELBANKv8.2.1
Menu
Back to Concepts
Autonomous AI Agents2026

Repo-To-Skill

Distilling GitHub Repositories Into AI4AI Skills

Jianlyu Chen, Yuyang Hu, Hongjin Qian, Jiawei Liu, Wenqing Wei, Xiaolong Chen, Defu Lian, Zhicheng Dou, Chaozhuo Li, Qiwei Ye, Zheng Liu

Read the Paper on arXiv

Paper Overview

Repo-To-Skill (Chen, Hu, Qian et al. — Beijing Academy of Artificial Intelligence, USTC, Renmin University and Hong Kong Polytechnic, arXiv 2026) starts from an observation about where autonomous ML-research agents actually fail. These agents are built from two parts: a model that reasons and plans, and a harness that orchestrates, remembers, and verifies. Both keep improving — and yet the agent still stumbles on things a competent practitioner would never get wrong, because the domain-specific know-how that separates knowing a method from making it work lives in neither part.

The paper names this missing layer operational knowledge and argues it already exists — scattered across repositories, papers, and blog posts — but in forms written for humans and far too large to load during a task. The proposal is to distill that material into compact, verified Agent Skills: a SKILL.md entry point over reference documents and executable scripts, revealed to the agent only when a task calls for them.

The system that does this is DisCo, a single agent that both creates skills and researches with them. Run across the open ecosystem, its creator mode produces the AREX-Skill Library: 5,353 verified skills distilled from 1,000 widely used ML repositories, organized by a router over 20 areas and 178 capability families.

The evaluation is a clean ablation. Holding the GPT-5.5 backbone, the Codex research harness, and the downstream execution budget fixed, the only variable is whether the agent has the distilled skills. With them, it scores 134.3% higher on MLE-bench, 34.4% higher on PaperBench, 9.2% higher on FrontierCS, and 14.0% higher on PassNet — gains that come purely from adding operating context, not from a stronger model or a new control loop.

Chapter Roadmap

Click any topic to jump in

1
The Missing Layer

A research agent is a model plus a harness — and neither carries the domain know-how that turns knowing a method into making it work.

packaged as
2
Skills and Skill Graphs

Package operational knowledge as agent-facing skills — a SKILL.md interface over references and scripts — linked into a graph the agent reads on demand.

produced by
3
Skill Distillation

Rework declarative sources into skills through one four-stage loop: scope, ground, construct, verify. No skill is admitted unverified.

orchestrated in
4
Creator and Researcher Modes

DisCo both writes skills (creator, paid once per source) and researches with them (researcher, paid per task) over the same backbone and harness.

scaled into
5
The AREX-Skill Library

5,353 verified skills from 1,000 ML repositories, routed over 20 areas and 178 capability families.

evaluated by

Evidence and caveats

6
Results

With backbone, harness and budget held fixed, skills lift MLE-bench 134.3%, PaperBench 34.4%, FrontierCS 9.2%, PassNet 14.0%.

7
When Skills Help

Gains concentrate on hard, low-baseline tasks and are uncorrelated with extra token spend — but two PaperBench tasks regress on retrieval-precision failures.

Ask an agent to improve a model on an unfamiliar dataset and it must decide which method suits the problem, which package implements it, how that package wants the data laid out, which configurations are appropriate, and which pitfalls silently invalidate an otherwise plausible run. It can infer all of this by trial and error — propose a plan, run it, inspect the failure, revise. The trouble is that those failures spend the same budget reserved for evaluation, and a single misconfigured run can burn a large share of it before producing any meaningful measurement.

The paper formalizes a research task as τ=(q,D,E,g)\tau = (q, D, E, g) — a problem qq, its data and material DD, an environment EE that exposes tools and bounds a budget, and a target gg the result must meet — and the standard agentic system as A=(Mθ,H)A = (M_\theta, H): an LLM backbone and a harness. The backbone supplies understanding, reasoning, planning, and execution; the harness supplies orchestration, memory, verification, and iterative refinement. Almost all recent progress has come from strengthening one or the other. But for research tasks, the two-component view leaves something unspecified: the backbone's prior is broad but fixed, and the harness controls procedure but supplies no domain content.

That gap is what the authors call operational knowledge — the expertise that binds the field's methods and tools to the task at hand by specifying what can solve it, when each candidate applies, and how it should be used. They write the research agent as Ares=(Mθ,H,K)A_{\text{res}} = (M_\theta, H, K), adding an explicit operating context KK. Operational knowledge has two constituents that must travel together: one turns knowledge into capability (methods, code, models, and APIs packaged into things the agent can actually invoke), and the other turns capability into usage policy (the conditions, reasons, and procedures that govern each unit's use). Capability without policy is a tool with no selection criteria; policy without capability is advice with no executable interface.

Crucially, this is not the harness in disguise. The harness specializes how an agent explores; KK specializes what it knows to consider. And declarative sources — a paper reporting that a technique improves accuracy, a repo documenting what an API accepts — state what holds, never a course of action for a given problem. The central methodological problem is to derive operational knowledge from that declarative material automatically and at scale.

Key Points

1

A research task is formalized as τ=(q,D,E,g)\tau = (q, D, E, g) and the conventional agent as A=(Mθ,H)A = (M_\theta, H) — a backbone plus a harness

2

Neither component carries domain know-how: the backbone's prior is broad but fixed, the harness controls procedure but not content

3

Without it, an agent loses budget within a task (inferring package behavior by trial and error) and fails to reuse what it learns across tasks

4

Operational knowledge is what turns knowing about a domain into being able to act in it — binding methods and tools to the problem

5

It has two complementary constituents: capability (invocable methods, code, APIs) and usage policy (when, why, and how to use each unit)

6

The research agent becomes Ares=(Mθ,H,K)A_{\text{res}} = (M_\theta, H, K), where KK is the operating context; the step policy becomes atπθ(aτ,ht,H,K)a_t \sim \pi_\theta(a \mid \tau, h_t, H, K)

7

The methodological challenge: produce operational knowledge automatically and at scale from declarative sources that drift with every release

Mathematical Formulation

The Research Task and Agent

τ=(q,D,E,g),A=(Mθ,H)    Ares=(Mθ,H,K)\tau = (q, D, E, g), \qquad A = (M_\theta, H) \;\longrightarrow\; A_{\text{res}} = (M_\theta, H, K)

A task couples a problem q, its data D, an environment E (tools plus budget), and a target g. The standard agent is a backbone plus a harness; the research agent adds K, an explicit operating context carrying the operational knowledge the other two components never supply.

The Agent Loop with Operating Context

atπθ(aτ,ht,H,K),ot=E(at)a_t \sim \pi_\theta\big(a \mid \tau, h_t, H, K\big), \qquad o_t = E(a_t)

At step t the agent conditions on the task, the history h_t, the harness H, and now the operating context K, acts, and observes the environment's response. K enters the conditioning of every action rather than adding a new control loop.