Openclaw-superpowers workflow-orchestration
Chains multiple skills into a named multi-step workflow with conditions and state tracking. Use when a recurring task requires the same sequence of skills every time.
install
source · Clone the upstream repo
git clone https://github.com/ArchieIndian/openclaw-superpowers
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ArchieIndian/openclaw-superpowers "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/openclaw-native/workflow-orchestration" ~/.claude/skills/archieindian-openclaw-superpowers-workflow-orchestration && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ArchieIndian/openclaw-superpowers "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/openclaw-native/workflow-orchestration" ~/.openclaw/skills/archieindian-openclaw-superpowers-workflow-orchestration && rm -rf "$T"
manifest:
skills/openclaw-native/workflow-orchestration/SKILL.mdsource content
Workflow Orchestration
State file:
~/.openclaw/skill-state/workflow-orchestration/state.yaml
A workflow is a named sequence of skill invocations with optional conditions. Define it once, run it reliably every time.
When to Use
- A recurring task always follows the same skill sequence (e.g. review → plan → execute → verify)
- A multi-step process needs to resume if interrupted
- You want conditional branching: "if step 2 fails, run skill X instead"
Defining a Workflow
A workflow is defined inline as:
workflow: <name> steps: 1. <skill-name>: <brief instruction> 2. <skill-name>: <brief instruction> [on_failure: <skill-name>] 3. <skill-name>: <brief instruction>
Running a Workflow
Step 1: Load or Create
- If a workflow named
exists in state, load it and check<name>current_step - If new, write workflow definition to state with
,status: in_progresscurrent_step: 1
Step 2: Execute Current Step
- Announce: "Workflow
— step [N]: invoking<name>
"<skill-name> - Invoke the skill with its instruction
- If step succeeds: advance
, updatecurrent_steplast_updated - If step fails and
is set: invoke the fallback skill, then continueon_failure - If step fails with no fallback: set
, writestatus: blocked
, stop and notify userblocked_reason
Step 3: Repeat Until Done
Continue until all steps complete. Set
status: complete.
Key Principles
- One active workflow at a time per state file
- Always announce which step you're on so the user can follow along
- Never silently skip a step — blocked is better than wrong