cs.CLAug 27, 2026

SPT: Skills as Pre-Training Data for Agentic Language Models

Authors: Yufei Sun, Yudong Li, Yiming Cheng

Organizations: Beijing University of Posts and Telecommunications · Tsinghua University

Abstract

Agentic (tool-using) language models are mainly trained on tool-call traces and agent trajectories during post-training. These data provide direct behavioral supervision, but producing them requires task environments, execution, and verification, making broad tool and task coverage expensive. Publicly available skills offer another source of training data: they encode reusable tool semantics and workflows but are typically used only as inference-time context. We introduce Skill Pre-Training (SPT), a mid-training method that applies causal language modeling to SkillCorpus, a collection of public multi-file skill packages, optionally mixed with general data. To preserve relations among files within each package, we also introduce Reference Insert, a reference-aware assembly strategy that places supporting files near their mentions in the primary instruction. Experiments across multiple model scales and post-training recipes show that SPT consistently improves agentic performance over mid-training on general or trajectory data, while largely preserving general performance. Data mixture experiments show additional benefits from combining skill data with general annealing corpora. These results indicate that skill packages are a valuable data source for pre-training agentic language models.

Figures & tables

Appendix figures & tables12 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SKT: Skill-Use Training at Scale via Verified Synthetic Data Generation

    Aug 3, 2026Zelin Tan, Yiqun Zhang, Hao Li +11LLM Agent Skill LearningLLM Agent Trajectory Synthesis

  2. MidTool: Mid-training Data Synthesis for Agentic Tool Use

    Aug 20, 2026Fengqing Jiang, Yite Wang, Boyi Liu +5LLM Tool UseLLM Agent Training

  3. OpenThoughts-Agent: Data Recipes for Agentic Models

    Jun 23, 2026Negin Raoof, Richard Zhuang, Marianna Nezhurina +47Training Data CurationLLM Agent Training