Workflow-to-Skill: Skill Creation via Routing-Workflow-Semantics-Attachments Decomposition
Yuyang ZhangXinyuan HanXudong JiangRun Wang
Yuyang Zhang
Xinyuan Han
Xudong Jiang
Run Wang
+4
The paper introduces RWSA, a workflow-oriented intermediate representation that decomposes a Skill into Workflow structure, execution Semantics, and runtime Attachments, and W2S, a framework that segments heterogeneous traces (e.g., demonstrations, logs) into this representation. W2S induces local drafts, aligns shared structures, reconciles branches, and compresses redundancy while preserving evidence and confidence annotations. On 70 Skills, W2S improves behavioral replay consistency by 10.5% over baselines, showing that trace-to-skill construction should treat traces as executable runtime specifications rather than compressible text.

arXiv ·
· June 5, 2026