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
911 skills

Claude Code

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

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
@gomilesf
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.

Stars on GitHub

Momentum

stars in total
9
Star history of gomilesf/convergo on GitHub, a chart by star-history.com

Other skills on convergo.

cvg-build-loop

cvg-build-loop

Orchestrate a monitored implementation loop where a worker implements the plan and independent code review with focused rechecks…

@gomilesf@gomilesfInstall Skill
cvg-code-review-feedback

cvg-code-review-feedba…

Handle code-review blocker findings returned to the worker session. Validate feedback, repair implementation-owned issues, or…

@gomilesf@gomilesfInstall Skill
cvg-code-review

cvg-code-review

Review implementation against the plan and contract. Distinguish code bugs from contract gaps. Bounded convergence.

@gomilesf@gomilesfInstall Skill
cvg-hybrid-plan-loop

cvg-hybrid-plan-loop

Orchestrate the plan loop with split engines - a high-taste Claude design model drafts and revises the plan while Codex CLI…

@gomilesf@gomilesfInstall Skill
cvg-multi-session

cvg-multi-session

Orchestrate real specialist sessions as one monitored multi-agent workflow. Use when the user asks to coordinate or supervise…

@gomilesf@gomilesfInstall Skill
cvg-plan-loop

cvg-plan-loop

Orchestrate a monitored planning loop where a planner drafts the plan and independent plan review with focused rechecks gates…

@gomilesf@gomilesfInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills12d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react3d252k
@facebook@facebookInstall Skill

Questions about cvg-hybrid-build-loop.

Which coding agents can use cvg-hybrid-build-loop?
cvg-hybrid-build-loop installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.