Claudex Loop
WorkflowClaude and Codex review each other: one plans, the other audits, then they swap to build and inspect.
Install
$ /plugin marketplace add chaseai-yt/claudex-loop
Works with Claude Code. Its skills also install in other agents: pick one above.
Update
$ /plugin marketplace update claudex-loop
Or enable marketplace auto-update in the /plugin menu. A manual copy is updated with git pull and a re-copy.
When to use it
- A feature or migration is big enough that a wrong plan would cost more than a second opinion
- You want the model that wrote the code never to be the one that grades it
- You want plan review rounds and decisions recorded in PLAN.md and PLAN-REVIEW-LOG.md
- You have both the Claude Code and Codex CLIs installed and authenticated
Commands & flags
- /plugin install claudex-loop@claudex-loop
- Install the plugin after adding the marketplace.
- claudex this feature — plan and implement it
- Run the full loop: plan, plan review, build, final inspection.
- claudex this plan, mode=review, plan=docs/migration.md, rounds=3
- Review an existing plan only, with a round cap.
- claudex this feature, builder=codex
- Let Codex build; Claude then inspects.
- /claudex-loop:claudex-route
- Get a model recommendation or one scoped handoff, independent of the loop.
How to use it
Both CLIs must be installed and signed in, and Python 3.10 or newer runs the shared adapter. Install the plugin, then tell Claude Code to claudex a feature or plan. Claude handles requirements and the plan, Codex reviews it for a bounded number of rounds (default 5), and the chosen builder implements. The other provider then inspects the final code in a fresh session.
/plugin marketplace add chaseai-yt/claudex-loop
/plugin install claudex-loop@claudex-loop
claudex this feature — plan and implement it
A request to review a plan does not authorize implementation. Not for trivial edits: the loop costs time and tokens on both providers.
Why it earns its place
Self-review shares the author's blind spots. Cross-provider review with recorded evidence, approvals bound to the plan's hash and a role gate between builder and inspector make the second opinion hard to skip or fake. It needs two paid accounts and a bounded patience for the rounds, so reserve it for work that deserves it.
Try it
> claudex this plan, mode=review, plan=PLAN.md, rounds=3