Grounded Skill Synthesis from Code at Scale for Agentic Intelligence
YTYongqi TongPWPan WangHang WangJianshe LiXin ZhangJiang-Ming YangWei Wu
YTYongqi Tong
PWPan Wang
Hang Wang
Jianshe Li
Xin Zhang
Jiang-Ming Yang
Wei Wu
+7
Code2Skill is a fully automated pipeline that transforms source code from popular GitHub repositories into grounded, verifiable agent skills. It selects code units, synthesizes atomic operations, composite workflows, and recurring patterns, and verifies each record through source-body-blind reconstruction and source-aware comparison. Applied to 19,769 repositories, it produced CodeSkillBank with 1,006,822 accepted records. Across 72 evaluations, models augmented with retrieved CodeSkillBank skills improve by 11.7% on average over matched baselines, outperforming them in 57 cases. The pipeline also surpasses trajectory-derived skill banks on all seven shared benchmarks, demonstrating that repository-derived skills provide useful procedural knowledge before agents accumulate interaction experience.

arXiv ·
· September 4, 2026