/operating-loop-workflow
One job: Make the
operating-loopmulti-agent Workflow available to this install, then run it.
YOU MUST EXECUTE THIS WORKFLOW. Do not just describe it.
The seven-move operating loop (shape → plan → pre-flight → implement → capture) ships as a
Claude Code Workflow-tool script at .claude/workflows/operating-loop.js. Claude Code
plugins do not auto-load .claude/workflows/ from an install — workflows resolve only from
the project cwd or ~/.claude/workflows/. So this skill installs the bundled script into the
user workflows directory, then invokes it.
Steps — run in order
- Install the workflow (idempotent — only copies when the bundled script is newer or missing):
mkdir -p "$HOME/.claude/workflows" src="${CLAUDE_PLUGIN_ROOT}/.claude/workflows/operating-loop.js" dst="$HOME/.claude/workflows/operating-loop.js" if [ -f "$src" ] && { [ ! -f "$dst" ] || [ "$src" -nt "$dst" ]; }; then cp "$src" "$dst" && echo "installed operating-loop workflow -> $dst" else echo "operating-loop workflow already current (or bundle not found)" fi - Run it via the Workflow tool, passing the user's capability/intent as
args:- Full loop:
Workflow({ name: "operating-loop", args: "<the capability/intent to drive through the loop>" }) - Plan-only (the safe Shape → Plan → Pre-flight half, no implementation):
Workflow({ name: "operating-loop", args: { mode: "plan", intent: "<intent>" } })
- Full loop:
- Report the returned
intent,plan, pre-flightverdicts, andcloseoutto the user.
Notes
- After step 1 succeeds once, the workflow is invocable directly via the Workflow tool (
Workflow({name:'operating-loop'})) in future sessions — this skill is the installer + first-run entry point. - The script is a leaf Workflow (it does not nest other workflows). Source of truth:
.claude/workflows/operating-loop.js. - Re-running step 1 is safe and cheap; it copies only when the bundled script is newer.