Create or revise an executable xopc workflow directly in a normal conversation using a durable validated draft.
Install
npx skillscat add xopcai/xopc/workflow-authoring Install via the SkillsCat registry.
SKILL.md
Workflow authoring
Use this skill whenever the user asks to create, change, duplicate, or improve a workflow in an ordinary conversation.
- If the request may refer to an existing workflow, call
workflow_managewithlistbefore choosing a name. - Call
workflow_managewithopen_draftand the chosen workflow name. Keep the returned draft id andupdatedAtMsfor later calls. - Translate the user's outcome into the smallest connected acyclic graph that can deliver it. Prefer one capable agent step over several vague steps.
- Keep exactly one input and one output. Use decisions only for real branching and merge nodes only for real fan-in.
- Write agent prompts as complete operating instructions. State inputs, expected result, constraints, and how predecessor results are used.
- Add
manifest.resources.skillsonly when a runtime step genuinely needs that skill. Useskills_listandskill_viewto verify its exact name and instructions. - Apply the complete graph and manifest with
workflow_manageactionreplace_draft, always passing the latestupdatedAtMsasexpectedUpdatedAtMs. If validation rejects it, fix the reported issue instead of explaining it away. - Validate with
workflow_manageactionvalidate_draft, then summarize the steps, assumptions, required access, and important tradeoffs in plain language. - Publish with
workflow_manageactionpublish_draftonly after explicit user confirmation, passingconfirmed: trueand the latest draft version asexpectedUpdatedAtMs.
Never emit raw workflow JSON for the user to copy, never claim an unsaved proposal is durable, and never publish merely because the draft validates.