OpenParable
Skip to content
← Back to skills

Operating Loop Workflow

Agent Building
operating-loop-workflow

Operating Loop Workflow is an Agent Skill for agent building published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Install and run the operating-loop multi-agent Workflow (the seven-move loop) for AgentOps plugin users.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/orchestration/operating-loop-workflow-boshu2-agentops/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/operating-loop-workflow, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

/operating-loop-workflow

One job: Make the operating-loop multi-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

  1. 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
    
  2. 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>" } })
  3. Report the returned intent, plan, pre-flight verdicts, and closeout to 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.