CCG multi-model workflow: Claude plans, Codex and Gemini review in parallel
From README links · today
Orchestrate Claude Code, Codex and Gemini as one review-and-build pipeline.
What they did
They installed the ccg-workflow npm package (Node 20+) into an existing repository and wired Claude Code, Codex and Gemini into a single collaboration loop instead of using one model at a time. The pattern they followed: Claude Code acts as the orchestrator that reads the repo, drafts a plan and writes the code; Codex is dispatched for an independent implementation or patch pass; Gemini is dispatched for a second-opinion review, catching logic gaps, edge cases and API misuse. Rather than accepting the first model's answer, they ran the same task through the parallel reviewers, diffed the critiques, and folded the merged feedback back into a single implementation pass. They also used the companion zcf tooling to bootstrap and standardize the Claude Code environment (settings, commands, MCP wiring) so the workflow was reproducible across machines and teammates rather than hand-configured. The end state is a repeatable routine: describe the task, let Claude plan, fan out to Codex and Gemini, reconcile, then commit.
How it went
The setup produces noticeably more thorough output than a single-model pass: reviewers tend to surface different failure modes, so the merged plan catches issues before commit. It is a workflow scaffold, not an autonomous agent — a human still reconciles conflicting reviews and approves the final diff. Polish is good for a community project: MIT licensed, CI and coverage badges, English and Chinese docs, and a hosted documentation site. Expect some tuning of prompts and per-model routing before it feels smooth on a large codebase.
Worth knowing
You need Node.js 20 or newer and working credentials or an API gateway for all three models — the README promotes a sponsored gateway, so budget for multi-model token spend. Multi-model review multiplies latency and cost per task, and reviewers can disagree, leaving reconciliation to you. The README excerpt covers positioning and badges more than exact command syntax, so check the docs site for current flags. Nothing here replaces tests or human review of the final diff.
Wiring
Order of operations: (1) verify Node >= 20 and install the CLI globally or as a dev dependency via npm; (2) run the init/setup command inside the target repo so it writes its config and command files; (3) authenticate each model provider — Claude Code, Codex and Gemini — either with native credentials or a single gateway key; (4) optionally run zcf to normalize Claude Code settings, slash commands and MCP servers so the environment matches across machines; (5) invoke the workflow from Claude Code, which acts as orchestrator and dispatches Codex and Gemini as parallel sub-tasks; (6) collect both reviews, reconcile conflicts, apply the merged patch on a branch, and run the repo's tests before committing. Keep secrets in environment variables or the gateway config, never in committed files, and pin the package version so teammates get identical behavior.
Try it yourself
Set up the CCG multi-model workflow in this repo. Steps: 1) Confirm Node.js >= 20 and that Claude Code, Codex and Gemini CLIs/credentials are available; if any are missing, list exactly what I must install or authenticate. 2) Install and initialize ccg-workflow (and zcf if it helps standardize Claude Code settings), then show me the generated config files and explain each one. 3) Pick one small, real task in this repo (a bug fix or a small refactor) and run it through the loop: Claude Code plans and implements, Codex does an independent patch pass, Gemini does a review pass. 4) Produce a merged summary of agreements and conflicts between the three, then apply the reconciled changes on a new branch. 5) Report token/latency cost per step and recommend which steps to keep for routine work versus reserve for risky changes. Do not commit to main; leave the branch for my review.
Tools in this stack
Run this stack
Install the stack into this project. It writes AGENTS.md and the manifest, merges the MCP servers into .mcp.json, and — with --yes — runs the tool installs.
npx runchr install runchr/stack-ccg-workflow-and-zcfcurl -s https://api.runchr.com/api/recipes/runchr/stack-ccg-workflow-and-zcf/manifestSystem prompt
You are the orchestrator of a multi-model review-and-build pipeline in this repository: Claude Code plans and implements, Codex runs an independent patch pass, and Gemini gives a second-opinion review. You reconcile the three outputs into one merged change on a branch, and you never commit to main or treat the merged result as a substitute for tests and human review.
This system prompt was generated from this stack's copy and tools. A person has not reviewed it.
The manifest is also at api.runchr.com/api/recipes/runchr/stack-ccg-workflow-and-zcf/manifest.