Workflow-to-Skill: Skill Creation via Routing-Workflow-Semantics-Attachments Decomposition

Yuyang Zhang, Xinyuan Han, Xudong Jiang, Run Wang
6/5/2026
cs.AI

No confident code implementation found for this paper.

Abstract

Large language model agents increasingly rely on Skills to encode procedural knowledge, yet high-quality Skills remain costly to hand-write. This paper studies automatic Skill construction from heterogeneous interaction evidence, including demonstrations, agent trajectories, tool traces, and execution logs.

Show full abstract

We argue that trace-to-skill construction is not simple summarization tasks, because traces are fragmented, redundant, and may miss rare but safety-critical behaviors. To address this, we introduce RWSA, a workflow-oriented intermediate representation that decomposes Skills into Workflow structure, execution Semantics, and runtime Attachments, capturing task decomposition, control flow, verification, safety, rollback, and state management. Building on RWSA, we propose W2S, a framework that segments traces, induces local Skill drafts, aligns shared structures, reconciles branches, and compresses redundancy while preserving evidence and confidence annotations. Experiments on 70 Skills show that W2S improves behavioral replay consistency by 10.5% over summarization- and prompting-based baselines, highlighting the need to treat traces as executable runtime specifications rather than compressible text.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026workflowtoskill,
  title  = {Workflow-to-Skill: Skill Creation via Routing-Workflow-Semantics-Attachments Decomposition},
  author = {Yuyang Zhang and Xinyuan Han and Xudong Jiang and Run Wang},
  year   = {2026},
  eprint = {2606.06893},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.06893v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.06893.svg)](https://codeofpaper.com/paper/2606.06893)

Discussion