SkillGym: Training Skill-Use Agents with Automatic Verifiable Environment Generation
Renxi Wang, Mingshan Hee, Fajri Koto, Timothy Baldwin, Haonan Li
Abstract
Skills equip LLM agents with professional knowledge and guidance to complete long-horizon and complex tasks. Although skills have been widely adopted in recent agent paradigms and harnesses, how to synthesize reliable training data and how to train agents for skill use remain underexplored. In this work, we propose SkillGym, an automatic pipeline to build verifiable environments, collect trajectories, and train skill-use agents. SkillGym first crawls a large volume of skills from the internet, then keeps those whose workflows can run reproducibly offline. A builder-reviewer pipeline is used to construct difficulty-controlled tasks, spanning four task types, each with a reference solution and an executable verifier. With this pipeline, we build 6.8k environments and collect 19k verified successful trajectories for supervised finetuning. Finetuning on these trajectories improves LLMs of different families and sizes, from 2B to 122B parameters across four skill-use benchmarks; Our Qwen3.5-9B SFT model outperforms the 397B untrained model on two of them. Further analysis shows that training teaches agents to invoke skills, raising the rate of reading the relevant skill from 28% to 96%, and that the gains hold across reasoning structures, extending to task types that form a minority of the training data and to skills held out from training
Create a lesson
Related papers
SkillFM: Generating Skills for LLM Agents via Latent Flow Matching
Shared title terminologycs.AIZuming Zhang, Jie He, Yizhe Zhang et al.
A Generative AI Agent to Emulate Interactive Human-driven Vehicles for Automated Driving Testing in Urban Areas
Shared title terminologycs.AIJia Hu, Changjian Yu, Panqu Wang et al.
AGL-SKILL: Coding Harnesses as Agentic Optimizers
Shared title terminologycs.AIRyan Tsui, Yuge Zhang, Yuqing Yang
Multi-agent System for Automatic Discovery of Pareto-optimal Meta-solvers for PDEs
Shared title terminologycs.AIYoungkyu Lee, Shanqing Liu, Jerome Darbon et al.
Evaluating Frontier-Model Agent Skills with Open-Weight Models in a Science Gateway
Shared title terminologycs.AIKomal Thareja, Mats Rynge, Anirban Mandal et al.
SpatialCraft: Evolving Procedural Intelligence from Experience and Skills for Spatial Reasoning Agents
Shared title terminologycs.AIXiwei Liu, Yulong Li, Xuhui Li et al.