Grounded Skill Synthesis from Code at Scale for Agentic Intelligence
Yongqi Tong, Pan Wang, Hang Wang, Jianshe Li, Xin Zhang, Jiang-Ming Yang, Wei Wu
Ant International
Published September 4, 2026 · on the feed September 21, 2026 · ▲ 113 · arXiv 2609.05571
The abstract
Reusable skills give agents transferable procedural knowledge, making scalable acquisition essential for extending agents beyond prior experience. Existing methods face two limitations: trajectory-based synthesis requires interactions with specific environments, while document-derived skills may lack executable evidence and verification. Source code offers a complementary path: it requires no prior agent experience yet provides executable evidence for grounding abstractions. We present Code2Skill, a fully automated pipeline that transforms selected code units into implementation-anchored records of atomic operations, composite workflows, and recurring patterns, then verifies each record through source-body-blind reconstruction and source-aware comparison. Applied to 19,769 popular, actively maintained GitHub repositories, Code2Skill produces CodeSkillBank, a grounded bank of 1,006,822 accepted records with workflow, boundary, provenance, and source-evidence metadata. Across 72 protocol-matched evaluations covering nine model settings and eight benchmarks, models augmented with retrieved CodeSkillBank skills improve by 11.7% on average over matched baselines and outperform them in 57 cases. Under a unified downstream interface, Code2Skill also outperforms trajectory-derived skill banks on all seven shared benchmarks, showing that repository-derived skills can provide useful procedural knowledge before agents accumulate sufficient interaction experience. Skills synthesized from tested AI-generated code achieve a 93.50% pass rate, compared with 93.00% for human-written code, providing initial evidence that the pipeline can expand with the growing volume of AI-generated software. Overall, Code2Skill transforms procedural knowledge embedded in repositories into grounded, verifiable, and transferable agent skills.
The Brief
2:51A short podcast summary of the paper. Written and voiced by AI.
Transcript
Grounded Skill Synthesis from Code at Scale for Agentic Intelligence. By Yongqi Tong and six others, from Ant International. Published on the fourth of September. Its code repository is public and real: about twenty source files.
Reusable skills give agents procedural knowledge they can carry from one task to the next, so acquiring skills at scale matters if agents are to reach beyond what they have already experienced. The two existing routes each carry a limitation. Synthesizing skills from trajectories requires interacting with specific environments, so the agent must already have been somewhere before it can learn anything. Deriving skills from documents avoids that, but such skills may lack executable evidence and verification. One route needs experience first. The other may not be checkable at all.
Source code offers a complementary path. It requires no prior agent experience, and it still provides executable evidence in which to ground an abstraction. Code2Skill is a fully automated pipeline built on that observation. Rather than watching an agent act, or reading documentation, it reads code and turns it into skills.
The pipeline takes selected code units and transforms them into records anchored in their implementation. The records come in three kinds: atomic operations, composite workflows, and recurring patterns. Each record is then verified twice over, through reconstruction that is blind to the source body, and through comparison that is aware of the source. Applied to nineteen thousand seven hundred and sixty-nine popular, actively maintained GitHub repositories, the pipeline produces CodeSkillBank. It is a grounded bank of one million six thousand eight hundred and twenty-two accepted records, each carrying metadata on workflow, boundary, provenance, and source evidence.
The evaluation spans seventy-two protocol-matched comparisons, covering nine model settings and eight benchmarks. Models augmented with skills retrieved from CodeSkillBank improve by eleven point seven percent on average over matched baselines, and outperform them in fifty-seven of those cases. Under a unified downstream interface, Code2Skill also beats skill banks derived from trajectories on all seven shared benchmarks. The authors read that as showing repository-derived skills can supply useful procedural knowledge before an agent has gathered enough interaction experience of its own.
A further test looks ahead. Skills synthesized from tested code that was itself generated by AI reach a ninety-three point five percent pass rate, against ninety-three percent for skills from human-written code. The authors present this as initial evidence that the pipeline can keep expanding as the volume of AI-generated software grows.
Put plainly, the bet is on where procedural knowledge already lives. It is embedded in repositories, written and exercised long before any agent arrives, and Code2Skill converts it into skills that are grounded, verifiable, and transferable, without first sending the agent out to gather experience.
Paper Quest · 7 chapters · about 39 min
Play this paper
Learn it by doing: make the calls the authors made, guess the result before you see it, and defend it in a viva graded on your own words. Chapter 1 is right here.
Chapter 1 🧩 · The problem
Every quest starts with a wall. Here it is where reusable skills can come from when both usual sources fall short.
You want to give agents reusable skills, transferable know-how for getting tasks done, and you need to acquire them at scale, so agents can go beyond what they have already experienced.
The road ahead
- 1 · The problem ~6 min Agents need reusable skills at scale, but skills learned from past runs need prior experience, and skills from documents cannot be verified.
- 2 · What came before ~3 min
- 3 · The key idea ~8 min Code2Skill turns real source code into skill records anchored to their implementation, in three kinds, and checks each by rebuilding the code before keeping it.
- 4 · Choose your own research ~3 min
- 5 · Build the method ~8 min Pick reusable code units from GitHub, turn each into a skill record, verify it by blind rebuild and comparison, then retrieve skills into the agent's context.
- 6 · The experiment ~6 min You’ll guess: Skills were synthesized from tested AI-generated code and, separately, from human-written code. How did the AI-code skill bank's pass rate compare with the human-code one?
- 7 · The viva ~5 min Three questions from the examiners, answered in your own words. Win it for the paper’s trophy.
Free, with Google or an email address. Your stars and progress are kept.