Claudex Loop: have Codex review Claude's code, and the other way around
An open source skill that has one model write your plan, gets the rival provider's model to challenge it, then has two different models build and inspect the code. Install, loop, roles and settings.
October 18, 2026 · 7 min read
When the AI that wrote your code is also the one reviewing it, it signs off on its own blind spots. Same reasoning, same gaps, and an "all good" that proves nothing.
Claudex Loop starts from one simple rule: whoever builds it never grades it. It's a set of open source skills for Claude Code and Codex (MIT license, more than 3,000 stars on GitHub as of October 18, 2026). Your session writes the plan, the other provider's model challenges it with evidence, then one model builds the code and the other inspects it, in a fresh session.
You put Anthropic and OpenAI up against each other on your project, and you're the referee.This guide gives you the install, the full loop, the role swap and the settings that matter. Everything is checked against Claude Code 2.1.302 and the repository README as of October 18, 2026.
The Claude AI Lab is my Skool community where I share my Claude systems and the more advanced modules. Access is $67/month.
Join the Lab →The program
Check both CLIs
claude --version, then claude auth status.codex --version, then codex login status.python3 --version must show 3.10 or higher.The five commands to copy:
claude --version
claude auth status
codex --version
codex login status
python3 --version
Install Claudex Loop
/claudex-loop:claudex-loop runs the full loop.~/.agents/skills (Codex) and ~/.claude/skills (Claude Code).git pull, then copy again.codex-review and codex-build commands rely on the engine that lives in claudex-loop: copied without it, they don't work. Copy all the skills together.The plugin, inside Claude Code:
/plugin marketplace add chaseai-yt/claudex-loop
/plugin install claudex-loop@claudex-loop
The manual install, from your terminal (macOS or Linux, the equivalent PowerShell commands are in the repository README):
git clone https://github.com/chaseai-yt/claudex-loop
cd claudex-loop
mkdir -p ~/.agents/skills ~/.claude/skills
cp -R skills/. ~/.agents/skills/
cp -R skills/. ~/.claude/skills/
What the copy installs:
Run the loop
To run the loop, type /claudex-loop in Claude Code after a manual install (/claudex-loop:claudex-loop with the plugin), or $claudex-loop in Codex. Then describe what you want in one sentence. To review a plan that already exists, in three rounds only:
claudex this plan, mode=review, plan=docs/migration.md, rounds=3
The review ends on one of these three verdicts:
You get two files back: PLAN.md, what gets built, and PLAN-REVIEW-LOG.md, the log of findings, decisions, models used, proof and the uncertainty that remains.
Swap the roles
builder. builder=codex or builder=claude picks who builds. The inspector follows that choice and is always the other provider.From Claude Code, to have GPT-6 Astra do the build:
claudex this feature, builder=codex, reviewer_model=gpt-6-astra
From Codex, to have Claude Fable 5.1 do the build:
claudex this feature, builder=claude, reviewer_model=claude-fable-5-1
The settings that matter
The settings to know, all passed in your launch sentence:
claude or codex. Defaults to the host.full by default, review to start from an existing plan.What the loop doesn't do
A clean verdict doesn't prove the model is right, and the README says so itself. Zero findings is a valid result, and a long list of findings isn't a quality score. Read PLAN-REVIEW-LOG.md before you sign off, and keep the decisions in your hands.
The loop doesn't commit or push anything for you either: commits, pushes and publishing follow your own instructions.
What to do now
Install the plugin, open a new session and run /claudex-loop on a small feature. Let the review go all the way to a verdict, try builder=codex on the next task, and read the log before every sign-off.
If you also want to split your daily work across the two subscriptions so you never run out of quota, the full setup is in the two-model stack, Claude Code and Codex.
Want to go further?
In the Lab, I share my Claude skills, how I build them and how I stack them to automate my day-to-day.
A dedicated session or program, tailored to your tools and use cases.
And day-to-day, I post one reel a day on Instagram: @quentin_iamarketing