← ClaudeAtlas

co-pilot-looplisted

Cooperative Multi-Agent Coordination Loop. Spawns a lightweight companion sub-agent (Gemini 3.5 Flash Low) to perform spec discovery, planning, and implementation. The primary agent (Claude) acts as the QA Director, answering Gemini's questions, approving the spec/plan, and running verification tests. Assumes the superpowers plugin is installed in the target repository.
richfrem/agent-plugins-skills · ★ 4 · Testing & QA · score 71
Install: claude install-skill richfrem/agent-plugins-skills
# Cooperative Co-Pilot Loop (Supervisor Protocol) The **Co-Pilot Loop** splits software engineering tasks between a **Supervisor (Outer Loop — you)** and an **Executor (Inner Loop — a lightweight companion sub-agent)**. The Supervisor acts as the product manager and QA director, while the Executor performs spec writing, planning, and coding inside an isolated worktree. You do not know which CLI or chat interface the user is using — and that's fine. The skill is model-agnostic. It reads the cheapest model for the active CLI at runtime. --- ## 1. Setup & Orientation ### Step 1A — Determine the active CLI backend Ask the user once (or detect from context): > "Which CLI backend is available for the sub-agent? (`agy`, `claude`, `copilot`, `codex`, `llama`)" ### Step 1B — Look up the cheapest model for that backend Read `plugins/agent-loops/references/cheapest_models.json` (relative to the repo root where this skill is installed). Select the `model` field for the detected CLI: | CLI | Cheapest Model | Notes | |:----|:--------------|:------| | `agy` | `gemini-3.5-flash` | Use `--model "Gemini 3.5 Flash (Low)"` — lower thinking level keeps token costs down | | `claude` | `claude-haiku-4.5` | $1/$5 per MTok input/output | | `copilot` | `gpt-5.4-nano` | 20 cr/1M input, 125 cr/1M output | | `codex` | `gpt-5.4-nano` | OpenAI-compatible endpoints | | `llama` | `gemma-4-12b` | Free, self-hosted at port 8089 | > **Source of truth**: `plugins/agent-loops/references/cheapest_models.js