cancel
Cancel the active dev workflow loop (archives by default, --hard to wipe)
Pause the active dev workflow loop without clearing state — resume later with /stagent:continue
> /plugin marketplace add jie-worldstatelabs/stagent > /plugin install stagent@stagent
How it fires
How this command gets triggered: by you, by Claude, or both.
/interruptContext preview
What this command does when you run it.
Pause the active dev workflow loop without clearing state — resume later with /stagent:continue
description: "Pause the active dev workflow loop without clearing state — resume later with /stagent:continue" argument-hint: "[--session <id>] (omit to interrupt this Claude session's own workflow)" allowed-tools: ["Bash", "TaskStop"]
Pause the dev workflow at the current stage, preserving all state for resumption.
bash "${CLAUDE_PLUGIN_ROOT}/scripts/interrupt-workflow.sh" $ARGUMENTSThe script flips the workflow to `interrupted`, removes inflight markers, and — if the workflow had a subagent in flight — prints a line of the form:
STAGENT_STOP_AGENT_IDS: <id1> <id2> ...
If Step 1 printed a `STAGENT_STOP_AGENT_IDS:` line, call the `TaskStop` tool **once per id** to terminate the orphan subagents. If it didn't print that line, skip this step — there were no in-flight subagents.
Stopping subagents is what prevents post-interrupt writes (orphan reports, mid-flight code) from contaminating the resumed run.
A Claude Code plugin that runs config-driven development workflows as a state machine. You declare stages, transitions, and inputs in a single workflow.json; the plugin's hooks and scripts drive the loop.
Repo: jie-worldstatelabs/stagent
Cancel the active dev workflow loop (archives by default, --hard to wipe)
Resume a paused dev workflow, or take over a cloud session from another machine
Create a new workflow suite (published to hub by default), or edit an existing one with --flow=<path>