cvg-build-loop
Orchestrate a monitored implementation loop where a worker implements the plan and independent code review with focused rechecks gates completion. Use when the…
Orchestrate the plan loop with split engines - a high-taste Claude design model drafts and revises the plan while Codex CLI sessions gate it as fresh plan reviewers. Use when the user asks for a hybrid, split-model, or cross-model planning loop, such as fable planning with codex
$ npx -y skills add gomilesf/convergo --skill cvg-hybrid-plan-loop --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cvg-hybrid-plan-loopContext preview
The summary Claude sees to decide when to auto-load this skill.
Orchestrate the plan loop with split engines - a high-taste Claude design model drafts and revises the plan while Codex CLI sessions gate it as fresh plan reviewers. Use when the user asks for a hybrid, split-model, or cross-model planning loop, such as fable planning with codex
name: cvg-hybrid-plan-loop description: Orchestrate the plan loop with split engines - a high-taste Claude design model drafts and revises the plan while Codex CLI sessions gate it as fresh plan reviewers. Use when the user asks for a hybrid, split-model, or cross-model planning loop, such as fable planning with codex reviewing. Claude Code only. argument-hint: "[brief or requirements path, plus optional engine overrides]"
Run `cvg-plan-loop` with a fixed engine split: the planner runs on a high-taste Claude design model, and every fresh plan reviewer runs in a Codex CLI session. The design model's scarce quota is spent only where taste has leverage — drafting and revising the plan; review rounds burn the cheap engine. Cross-model review is also a feature: a different model family reviewing the plan exposes blind spots same-model self-review tends to share.
parameter and `SendMessage` continuation are required.
plugin installed, so codex sessions can load role skills by name.
configuration grants. Convergo passes no sandbox or permission flags; roles assume normal developer access — reading the repo and writing their /tmp/convergo findings and audit artifacts.
If either prerequisite fails, stop and report it. Do not silently fall back to a single-engine loop; the user chose this skill for the split.
Defaults; the user's invocation may override either tier.
| Tier | Default | Runs | | --- | --- | --- | | Design tier | Claude `fable` via the `Agent` tool `model` parameter | planner, plan revisions | | Execution tier | `codex exec -m gpt-5.6-sol` at `model_reasoning_effort=high` — the current frontier codex pin, updated with plugin releases | fresh plan reviewers |
Before the first spawn, echo the resolved bindings in one line — planner model, reviewer engine and model, round cap — so a binding mistake surfaces before any specialist runs. If codex rejects the pinned execution-tier model (a retired id), fall back to the model the user's codex config resolves to — respawn the specialist wrapper with the model pin dropped, initial `-m` and resume `-c` overrides both — echo what actually ran (the `model:` line of the run header, never an assumption), and flag it to the user if it sits below a frontier model at high reasoning effort: cross-model review only pays if the reviewing engine is near-peer.
Apply the `cvg-plan-loop` skill in full — same phases, protocol gates, callback templates, and exit condition — with these routing overrides:
1. **Planner (Phase 1):** spawn as a native background specialist with the design-tier model. Everything else about the planner prompt is unchanged. 2. **Fresh plan reviewers (Phase 2 and every later fresh review):** spawn as codex-backed specialists (pattern below) with role skill `cvg-plan-review`. 3. **Plan review feedback:** unchanged — blockers return to the same design-tier planner session with `cvg-plan-review-feedback`. 4. **Exit:** an independent execution-tier review followed, if needed, by focused rechecks in that same session can exit under Gate 5. Do not restart a full review without material change, new evidence or an explicit requirement.
`codex exec` sessions expose a subagent primitive (`collaboration.spawn_agent` — verified live): instruct codex plan reviewers to dispatch their auxiliary personas through it and record the returned child ids. Inline coverage marked `inline` in the callback remains `cvg-plan-review`'s documented fallback and stays valid for plan reviews; do not treat it as a blocker or ask the wrapper to relaunch codex to force real dispatch.
A codex-backed specialist satisfies the real-specialist gate (real, addressable, continuable) by wrapping a Codex CLI session in a thin background Claude agent:
worktree isolation** — codex must run in the repo named in the specialist prompt, and an isolated wrapper worktree can be reclaimed out from under a still-running codex process. Its prompt instructs it to: 1. compose one self-contained codex prompt from the specialist prompt it received — role skill to load, artifact paths, refs, boundaries, and the exact callback template; nothing else; 2. launch codex exactly once as a background Bash command (`run_in_background: true` — codex runs routinely outlast the single foreground Bash timeout) from the repo named in the specialist prompt, with the final message written to a file and the run header captured: `codex exec -m <execution-model> -c model_reasoning_effort="<effort>" -o <scratch>/last-message.txt "<prompt>" > <scratch>/run-header.log 2>&1 </dev/null & echo $! > <scratch>/codex.pid; wait "$(cat <scratch>/codex.pid)"` (binding values from Engine Bindings, or the user's override; the pid file is what the orchestrator's watcher probes for liveness). `<scratch>` is a per-specialist directory the orchestrator names in the specialist prompt, under the loop's `/tmp/convergo/<loop-slug>/` tree. Convergo passes no sandbox or permission flags: the session runs with whatever the user's codex configuration grants, and the reviewer's read-only conduct is a contract line in its role skill; 3. end its turn immediately after the launch, with an ARMED callback naming the paths: `ARMED. Codex running. Output: <scratch>/last-message.txt. Header: <scratch>/run-header.log.` Do not wait for codex in-turn and do not poll: completion notices queue in a stopped wrapper's transcript without waking it (verified live), and the orchestrator own
Plan → review → build loops for coding agents — that actually terminate. Agent-written code needs review, and agent review needs a loop: find issues, fix them, review again.
Repo: gomilesf/convergo
Orchestrate a monitored implementation loop where a worker implements the plan and independent code review with focused rechecks gates completion. Use when the…
Handle code-review blocker findings returned to the worker session. Validate feedback, repair implementation-owned issues, or pause dependent work on plan and…
Review implementation against the plan and contract. Distinguish code bugs from contract gaps. Bounded convergence.
Orchestrate the build loop with split engines - Codex CLI sessions implement and take every first-pass review round while a high-taste Claude design model…
Orchestrate real specialist sessions as one monitored multi-agent workflow. Use when the user asks to coordinate or supervise multiple agent sessions, planning…
Orchestrate a monitored planning loop where a planner drafts the plan and independent plan review with focused rechecks gates completion. Use when the user…