Skip to content
Development
Skill

/cvg-hybrid-build-loop

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 holds the final exit gate. Use when the user asks for a hybrid, split-model, or cross-model build loop, such as codex

From plugin
convergo
711 skills
Install
$ npx -y skills add gomilesf/convergo --skill cvg-hybrid-build-loop --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/cvg-hybrid-build-loop

Context preview

The summary Claude sees to decide when to auto-load this skill.

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 holds the final exit gate. Use when the user asks for a hybrid, split-model, or cross-model build loop, such as codex

SKILL.md

cvg-hybrid-build-loop.SKILL.md
name: cvg-hybrid-build-loop
description: 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 holds the final exit gate. Use when the user asks for a hybrid, split-model, or cross-model build loop, such as codex implementing with fable as the closer or final reviewer. Claude Code only.
argument-hint: "[plan path, plus optional engine overrides]"

Hybrid Build Loop

Run `cvg-build-loop` with a tiered engine split: a Codex CLI session implements, Codex CLI sessions take every first-pass review round, and a high-taste Claude design model reviews only when the execution tier already believes the work is clean. The design model is the exit gate inside the protocol, not a closer bolted on after the loop: its blockers re-enter the normal feedback cycle.

Prerequisites

  • Claude Code as the orchestrating platform: the `Agent` tool `model`

parameter and `SendMessage` continuation are required.

  • A working `codex` CLI (`codex --version` succeeds) with the convergo codex

plugin installed, so codex sessions can load role skills by name.

  • Codex sessions run with whatever permissions the user's own codex

configuration grants. Convergo passes no sandbox or permission flags; roles assume normal developer access — reading and writing the repo, committing, and running the project's build and test commands.

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.

Engine Bindings

Defaults; the user's invocation may override either tier.

| Tier | Default | Runs | | --- | --- | --- | | Execution tier | `codex exec -m gpt-5.6-sol` at `model_reasoning_effort=high` — the current frontier codex pin, updated with plugin releases | worker, first-pass fresh reviews, QA workers | | Design tier | Claude `fable` via the `Agent` tool `model` parameter | final independent review and focused rechecks |

Focused re-reviews always return to the reviewer session that raised the findings, on whichever tier that session lives — unchanged protocol.

Before the first spawn, echo the resolved bindings in one line — worker model and effort, reviewer engine, design-tier 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: the tier split's economics assume execution is nearly as capable as the design tier.

Procedure

Apply the `cvg-build-loop` skill in full — same phases, protocol gates, callback templates, and round cap — with these routing overrides:

1. **Worker (Phase 1):** codex-backed specialist (pattern below), role skill `cvg-work`. 2. **Independent code review (Phase 2):** codex-backed specialist, role skill `cvg-code-review`. The reviewer selects auxiliary checks by actual risk and authorized tool availability, retaining real child ids when dispatched. Do not infer independent dispatch from a prose claim or artifact alone. 3. **Feedback (Phase 3):** unchanged — blockers return to the codex-backed worker with `cvg-code-review-feedback`. 4. **Tiered exit (Phase 5 override):** after the execution review is clean, a native design-tier specialist performs the user-selected final independent review with `cvg-code-review`.

  • A clean design-tier review exits when required acceptance is complete.
  • Design-tier blockers return to the worker through feedback, followed by

focused re-review in the same design-tier session. Its pass may exit; do not restart execution-tier review merely to obtain another promotion.

  • A material design change, expanded risk or new evidence can require an

additional independent pass. Every repair/recheck uses the original cap. 5. **Design-tier auxiliaries:** select only when the review needs their risk perspective; honor user-selected models and independent-signature requirements. 6. **QA (Phase 6):** execution tier.

Cross-Repo Plans

One loop drives one worker in one repo. A plan whose slices or invariant matrix span multiple repos is NOT completed by one loop. When Phase 0 finds more than one repo in scope:

  • declare the repo split and build order to the user before spawning the

worker (the contract-source repo usually goes first), including which slices are runnable in parallel rather than blocked;

  • scope this loop and its reviewer prompts to that one repo's slices;
  • after this loop exits, the remaining repos' slices are open work — launch

the next repo's loop or hand the sequencing decision to the user;

  • never present a single-repo exit as plan completion: the completion

summary must list every repo the plan names that this loop did not cover as blocking known gaps.

Codex-Backed Specialist Pattern

A codex-backed specialist satisfies the real-specialist gate (real, addressable, continuable) by wrapping a Codex CLI session in a thin background Claude agent:

  • Spawn a background agent on a cheap model (`model: "sonnet"`), **without

worktree isolation** — codex must run in the worktree 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

Read more
Ships withconvergo

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.

Get the whole plugin
Stats
7
Stars
2
Forks
Active
Maintenance
TypeScript
Language
MIT
License
6d ago
Last commit
2mo ago
Created

Repo: gomilesf/convergo

Other skills on convergo.