Start a workflow by name or plugin:name. Validates the workflow JSON, creates per-agent state file, and activates hook interception. Usage: /wheel-run <workflow-name> or /wheel-run <plugin>:<workflow-name>
Start a named workflow so that wheel hooks begin intercepting Claude Code events. Supports both local workflows (workflows/<name>.json) and plugin-provided workflows (<plugin>:<workflow-name>).
$ARGUMENTS
Run the validation script. It resolves the workflow file (including plugin workflows), validates the JSON, checks for duplicates and circular references, and prints a short JSON summary — without exposing workflow step details to your context.
"$SKILL_BASE_DIR/../../bin/validate-workflow.sh" "$ARGUMENTS"
If this fails, and show the error to the user.
On success it prints a JSON object like:
{"name": "my-workflow", "step_count": 5, "activate_name": "my-workflow", "plugin_dir": "/path/to/plugin"}
Run activate.sh as a separate, single-line Bash call using the activate_name and plugin_dir from Step 1's output. Substitute the actual literal values — no shell variables.
mkdir -p .wheel
Then:
<plugin_dir>/bin/activate.sh <activate_name>
The PostToolUse hook intercepts this call, reads the workflow file, creates the state file with proper ownership, and runs kickstart to advance through any automatic initial steps.
echo "Workflow started. Hooks are now active."
echo "Run /wheel-status to check progress, /wheel-stop to deactivate."
That's it. Do NOT read the state file or workflow file — the hooks will tell you what to do next.
$ARGUMENTS is empty, ask the user for a workflow name. List available workflows from workflows/*.json and installed plugins.workflows/ to customize, and the local copy takes precedence.After activation, all workflow progression happens through hooks. Do not manually advance the cursor, update step statuses, or modify state files yourself.
/wheel-status if you need to check progress."type": "workflow" steps. Workflow steps are like function calls: the referenced workflow runs inline in the same conversation, dispatched by the hook system./wheel-stop and let the hook handle archival.