Grounded Skill Synthesis from Code at Scale for Agentic Intelligence

Hugging Face Daily Papers Papers

Summary

Code2Skill is an automated pipeline that extracts verifiable skills from source code to improve AI agent performance, producing a large grounded skill bank that enhances agents before interaction experience.

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.
Original Article
View Cached Full Text

Cached at: 09/21/26, 03:19 AM

Paper page - Grounded Skill Synthesis from Code at Scale for Agentic Intelligence

Source: https://huggingface.co/papers/2609.05571

Abstract

Code2Skill automatically extracts verifiable procedural skills from source code to improve agent performance before interaction experience accumulates.

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 presentCode2Skill, 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 throughsource-body-blind reconstructionandsource-aware comparison. Applied to 19,769 popular, actively maintained GitHub repositories,Code2SkillproducesCodeSkillBank, 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 retrievedCodeSkillBankskills improve by 11.7% on average over matched baselines and outperform them in 57 cases. Under a unified downstream interface,Code2Skillalso outperformstrajectory-derived skill bankson all seven shared benchmarks, showing that repository-derived skills can provide useful procedural knowledge before agents accumulate sufficient interaction experience. Skills synthesized from testedAI-generated codeachieve 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,Code2Skilltransforms procedural knowledge embedded in repositories into grounded, verifiable, and transferable agent skills.

View arXiv pageView PDFProject pageGitHub10Add to collection

Get this paper in your agent:

hf papers read 2609\.05571

Don’t have the latest CLI?curl \-LsSf https://hf\.co/cli/install\.sh \| bash

Models citing this paper0

No model linking this paper

Cite arxiv.org/abs/2609.05571 in a model README.md to link it from this page.

Datasets citing this paper0

No dataset linking this paper

Cite arxiv.org/abs/2609.05571 in a dataset README.md to link it from this page.

Spaces citing this paper0

No Space linking this paper

Cite arxiv.org/abs/2609.05571 in a Space README.md to link it from this page.

Collections including this paper0

No Collection including this paper

Add this paper to acollectionto link it from this page.

Similar Articles

SkillGen: Verified Inference-Time Agent Skill Synthesis

arXiv cs.LG

This article introduces SkillGen, a multi-agent framework that synthesizes and verifies reusable inference-time skills for LLM agents by contrasting successful and failed trajectories. The method ensures skills are auditable and empirically verified for their net positive impact on agent performance.

SkillCenter: A Large-Scale Source-Grounded Skill Library for Autonomous AI Agents

arXiv cs.AI

Introduces SkillCenter, the largest open skill library for AI agents with 216,938 structured, source-grounded skills across 24 domains, built using an automated pipeline with an LLM-based quality gate called SkillGate. The library combines peer-reviewed and community skills, emphasizing traceability and offline searchability.

SkillNet: Create, Evaluate, and Connect AI Skills

Papers with Code Trending

SkillNet presents an open infrastructure for systematically accumulating and transferring AI skills using a unified ontology, showing significant improvements in agent performance across multiple domains.