Toward Scalable Terminal Task Synthesis via Skill Graphs

arXiv cs.AI / 4/29/2026

📰 NewsSignals & Early TrendsIdeas & Deep AnalysisModels & Research

Key Points

  • The paper addresses a key limitation in training terminal agents: the lack of high-quality and diverse command-line execution trajectories.
  • It proposes SkillSynth, a framework that builds a scenario-mediated skill graph to connect diverse command-line skills through intermediate scenario nodes.
  • SkillSynth samples workflow-like paths from the graph and uses a multi-agent harness to instantiate those paths into executable terminal task instances.
  • The approach aims to explicitly control the diversity of minimal execution trajectories during training, not just the number of synthesized tasks.
  • Experiments on Terminal-Bench show SkillSynth’s effectiveness, and its synthesized tasks have been used to train Hy3 Preview, improving terminal-based agent capabilities.

Abstract

Terminal agents have demonstrated strong potential for autonomous command-line execution, yet their training remains constrained by the scarcity of high-quality and diverse execution trajectories. Existing approaches mitigate this bottleneck by synthesizing large-scale terminal task instances for trajectory sampling. However, they primarily focus on scaling the number of tasks while providing limited control over the diversity of execution trajectories that agents actually experience during training. In this paper, we present SkillSynth, an automated framework for terminal task synthesis built on a scenario-mediated skill graph. SkillSynth first constructs a large-scale skill graph, where scenarios serve as intermediate transition nodes that connect diverse command-line skills. It then samples paths from this graph as abstractions of real-world workflows, and uses a multi-agent harness to instantiate them into executable task instances. By grounding task synthesis in graph-sampled workflow paths, SkillSynth explicitly controls the diversity of minimal execution trajectories required to solve the synthesized tasks. Experiments on Terminal-Bench demonstrate the effectiveness of SkillSynth. Moreover, task instances synthesized by SkillSynth have been adopted to train Hy3 Preview, contributing to its enhanced agentic capabilities in terminal-based settings.