Cancel running agent or orchestrator loop(s)
Cancels running agent or orchestrator loops by removing their state files.
/plugin marketplace add morigemini6668-ux/workflow-adapter/plugin install morigemini6668-ux-workflow-adapter@morigemini6668-ux/workflow-adapter[agent-name | orchestrator | --all]Cancel one or more running workflow-adapter loops by removing their state files.
agent-name: Cancel specific agent (e.g., alpha, beta)orchestrator: Cancel the orchestrator loop--all: Cancel all running loops (agents + orchestrator)Parse the argument:
--all: Remove all .claude/workflow-agent-*.local.md AND .claude/workflow-orchestrator.local.mdorchestrator: Remove .claude/workflow-orchestrator.local.md.claude/workflow-agent-{name}.local.mdCheck for active loops:
ls -la .claude/workflow-agent-*.local.md .claude/workflow-orchestrator.local.md 2>/dev/null || echo "No active loops"
Cancel the specified loop(s):
--all:
rm -f .claude/workflow-agent-*.local.md .claude/workflow-orchestrator.local.md
orchestrator:
rm -f .claude/workflow-orchestrator.local.md
rm -f .claude/workflow-agent-{agent_name}.local.md
Confirm cancellation:
/workflow-adapter:cancel-agent alpha
# Cancels the alpha agent loop
/workflow-adapter:cancel-agent orchestrator
# Cancels the orchestrator loop
/workflow-adapter:cancel-agent --all
# Cancels all running loops (agents + orchestrator)