| What | What for | How |
|---|---|---|
| Claude Code | Where the plugin lives | With a paid Claude plan or with the API. It works in the Terminal or in the Code tab of the desktop app (local sessions). Not in the claude.ai chat or in cloud sessions. |
| ChatGPT Plus or higher | Codex uses your ChatGPT account | Plus costs $20 a month. An OpenAI API key works too. Free and Go don't: they include Codex in the desktop app, but not in the terminal, which is what the plugin uses. |
| Node.js 18.18 or later | The plugin needs it | Check your version with node -v. If you don't have it, you download it from nodejs.org. |
| A git repository | The review looks at git changes | Open Claude Code in a folder that's a git repository. If it isn't, git init inside it. |
| Codex CLI | The program that does the review | If you don't have it, /codex:setup offers to install it. Or by hand: npm install -g @openai/codex. Keep it up to date: with an old version, new models fail. |
Get Codex to review Claude, without leaving Claude Code.
OpenAI's official plugin puts Codex inside Claude Code. Here's how to install it, which command to use when, how I use it, what you really gain and what you don't.
What you gain
/codex:review only looks at what you've changed: a bug that was already there won't get reported.01What you need
Two subscriptions and two programs.
⌄
What you need
Two subscriptions and two programs.
02Install it
Four commands inside Claude Code, not two.
⌄
Install it
Four commands inside Claude Code, not two.
Open Claude Code and type these four, one after the other:
/plugin marketplace add openai/codex-plugin-cc /plugin install codex@openai-codex /reload-plugins /codex:setup
- The first adds OpenAI's plugin marketplace.
- The second installs the plugin.
- The third makes Claude Code load it without restarting.
- The fourth checks that you have Node, Codex and your ChatGPT session. If Codex is missing, it offers to install it. If you haven't signed in, type
!codex login.
In the Code tab of the desktop app, installed plugins can also be managed from the + button → Plugins.
And for the first test, with some uncommitted change in your project:
/codex:review --background /codex:status /codex:result
03The commands, and when to use each one
Eight commands. To get started, the first one is plenty.
⌄
The commands, and when to use each one
Eight commands. To get started, the first one is plenty.
| Command | What it does | When | Example |
|---|---|---|---|
| /codex:review | A normal review of what you've changed. It only reads: it doesn't touch any file. | Before every commit. | /codex:review |
| /codex:adversarial-review | It questions how you did it: the design, what you take for granted and whether there was a simpler or safer way. This one you can tell what to focus on. | When you've made a decision you have doubts about. | /codex:adversarial-review --base main check whether caching this was a good idea |
| /codex:rescue | Hands a task to Codex: investigate a bug or fix it. By default it writes to your project. | When Claude gets stuck on something. | /codex:rescue investigate why the tests are failing |
| /codex:status /codex:result /codex:cancel | See how what's running in the background is going, read the result or stop it. | After a --background. | /codex:status |
| /codex:transfer | Turns your Claude Code session into a Codex thread you can carry on with codex resume. | When you want to carry on with that task in Codex. | /codex:transfer |
| /codex:setup | Checks that everything's ready. It also turns on or off the automatic review at the end of every response (below I explain why I don't use it). | When you install it, and if something fails. | /codex:setup |
/codex:review looks for bugs in what you've changed and doesn't take instructions. /codex:adversarial-review argues with your decisions and you can tell it what to focus on.04How I use it
Five steps, and the prompt to pass what Codex says on to Claude.
⌄
How I use it
Five steps, and the prompt to pass what Codex says on to Claude.
- Claude makes the change. As always.
- If you have a Claude reviewer, run it first. Mine is an agent that reviews the changes without seeing the conversation, so it doesn't defend what was done.
- Before the commit,
/codex:review --background. You carry on with something else while it reviews. You type it yourself: Claude can't launch it on its own. /codex:resultand pass it to Claude with the prompt below. Don't let it fix things blindly: first it has to check each point.- If there's a design decision you have doubts about,
/codex:adversarial-reviewtelling it what to focus on.
Codex has reviewed these changes and says this: [paste here what /codex:result gave you] Don't touch anything yet. Check each point in the code and tell me which ones are true, which ones aren't and why. Then fix only the true ones and show me the diff.
05What it found in my code
My app in production, and a test made for this guide.
⌄
What it found in my code
My app in production, and a test made for this guide.
In my app
My app was crashing when you deleted a save. Claude found the cause (two hooks below an early return) and fixed it. When I passed the fix to Codex, it agreed on the serious part and found one more thing:
// Deferred past the pop (~350ms on iOS)}, 300);The comment said it waited for the animation to finish, and it didn't wait long enough: in the last few frames you could still see the empty screen.
In a test for this guide
A function that adds VAT, with two bugs on purpose: one in what I'd just changed (it let through numbers that aren't numbers, like NaN) and another that was already there (it says 21% and multiplies by 1.12). This came back in 40 seconds:
Two things almost nobody mentions: it ran the code to check before telling me, and it left out the bug that was already there on purpose, because it only reviews what you've changed.
06Is it worth it?
Two $20 plans don't go as far as one $200 plan. Here's what they do get you.
⌄
Is it worth it?
Two $20 plans don't go as far as one $200 plan. Here's what they do get you.
| Plan | Per month | Usage, compared with Claude Pro |
|---|---|---|
| Claude Pro | $20 | 1x |
| Claude Max 5x | $100 | 5x |
| Claude Max 20x | $200 | 20x |
| Claude Pro + ChatGPT Plus | $40 | roughly 2x, and a second model |
The $200 Max gives twenty times the usage of Pro: it says so on Claude's page. Two $20 plans give you roughly double. It's an approximate comparison, because Claude usage and Codex usage aren't measured the same way.
07Why another model
What a 2025 study says, in two lines.
⌄
Why another model
What a 2025 study says, in two lines.
A 2025 study with a title that sums it up, Great Models Think Alike and this Undermines AI Oversight, found two things that matter here:
- A model that judges scores models that resemble it higher.
- Models from the same family resemble each other more.
It's like getting a second opinion from a doctor who went to the same medical school as the first one, with the same textbooks.
08If something fails
What I ran into, what the documentation says and how to fix it.
⌄
If something fails
What I ran into, what the documentation says and how to fix it.
| What you see | Why it happens | What to do |
|---|---|---|
The '...' model is not supported when using Codex with a ChatGPT account | Your Codex is out of date and doesn't know the model your configuration asks for yet. It happened to me with GPT-6.1 Sol and Codex version 0.153.2. | Update Codex: npm install -g @openai/codex@latest. Then close the Claude Code session and open a new one: when it closes, the plugin shuts down the Codex it had open. After that you can pick whatever model you want. |
/codex:setup says you haven't signed in | Codex is installed but without your account. | !codex login from Claude Code. |
The /codex: commands don't show up | Claude Code hasn't reloaded the plugins. | /reload-plugins. |
| It doesn't flag a bug you know is there | /codex:review only looks at what you've changed. A bug that was already there gets left out (even with --base main, which only looks at what your branch changes compared with main). | Ask for it as a task: /codex:rescue review this file and tell me what bugs you see, without changing anything. |
| It takes a long time | Reviewing several files takes a while. | --background and then /codex:status. |
| It doesn't work with the free account | According to OpenAI's pricing page, the Codex terminal isn't included in Free or Go. | ChatGPT Plus or higher, or an API key. |
09Careful
Three things before you let it loose.
⌄
Careful
Three things before you let it loose.
The automatic review can drain your quota
/codex:setup --enable-review-gate makes Codex review every time Claude finishes a response. OpenAI warns that it can create a long loop between the two and use up your usage very fast. I don't have it on: I launch the review myself, before the commit.
Rescue mode writes to your project
/codex:rescue can edit files by default, and Claude can launch it on its own if it thinks delegating makes sense. Work on a separate branch and look at the diff before you keep it.
Every review uses up your Codex usage
Not Claude's, but it isn't free either. On Plus, OpenAI estimates between 5 and 45 messages every five hours with GPT-6 Astra, depending on how big the task is. Your real usage is in Codex's usage dashboard.
Sources
- The plugin's README (install, commands, requirements and the warning about the automatic review)
- Codex pricing and which plan includes the terminal
- Claude Max: 5 and 20 times the usage of Pro
- Plugins in the Claude Code desktop app
- Goel et al. (2025), Great Models Think Alike and this Undermines AI Oversight