A second review is useful; an unattended gate is harder to trust
Our November 27 source run installed dependencies in 8 seconds and passed its test command in 64 seconds, but the build stopped with codex: not found. Use codex-plugin-cc if you already work in Claude Code, have Codex access and want a supervised second opinion. Skip it if your workflow depends on unattended background jobs surviving other sessions closing: issue #540 reports silent exits while the job still says running.
The strongest review experiment points toward a specific use. Kahtaf Alam at GitTested found 10 of 42 confirmed bugs with adversarial review, versus 23 with a fresh Claude review. Adding adversarial review after Claude's own review brought some different findings. That earns it a place beside your existing checks, without making it the final authority on whether code can ship.
What people use codex-plugin-cc for
Codex-plugin-cc brings a local Codex installation into Claude Code for read-only reviews and delegated tasks, according to the official README. A slash command is a command you type at Claude Code's prompt. You keep that session as your workspace and ask Codex to look at the change from there.
| Who used it | What they did | What came back |
|---|---|---|
| Kahtaf Alam, GitTested | Reviewed six Claude-built TypeScript invoicing-service features repeatedly, checking findings by tests or code traces | Adversarial review found 10 of 42 real bugs; a fresh Claude review found 23. |
| Azukiazusa blog author | Reviewed a Next.js transaction API built with Zod and Prisma | Codex flagged timezone filtering and mismatched transaction/category types; Claude also found both concerns. |
| GitTested | Gave the optional gate incorrect and correct boundary-check edits | The gate blocked the incorrect edit twice and allowed the correct edit twice. |
| Aldena article author | Used the plugin for solo laptop work | The author preferred avoiding manual copying between tools. This is a workflow preference. |
| GitHub user seungpyoson | Had a lead Claude session dispatch Codex as an independent reviewer | Review and output commands required manual input, direct companion-script calls or a local patch. |
Ordinary /codex:review reviews uncommitted changes or a branch against a base. It takes no custom focus text. For a request such as questioning a retry design, the README directs you to /codex:adversarial-review. Both review commands are documented as read-only. Rescue is different: it hands over investigation or implementation work. Transfer creates a Codex thread from the Claude conversation and gives you a resume command.
What happened when we ran it
The build exited 127 after prebuild attempted codex app-server generate-ts; its last line was sh: 1: codex: not found.
The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image label lab-node:22. The label alone doesn't identify the runtime or operating-system version. Here are the source-harness measurements:
| Step or observation | Our recorded result |
|---|---|
| npm dependency installation | Succeeded in 8 seconds; 3 dependencies recorded; 27 MB on disk |
| Source build | Failed, exit 127, in 5 seconds |
| Test command | Succeeded in 64 seconds |
| npm audit | 0 known vulnerabilities: 0 critical, high, moderate or low |
| Checkout | 63 files; approximately 9,397 source lines; 0.4 MB |
| Repository signals | 1 CI workflow file, a tests directory and no Dockerfile detected |
Installation completed, then the build reached a command the shell couldn't find. That is the failure the log supports. The later test-command success doesn't turn the failed build into a successful one, and the missing executable doesn't prove that marketplace installation is broken.
A separate November 27 CLI smoke check used a fresh unprivileged container at db52e28f4d9d, configured with 2 CPUs, 4 GB RAM, no published ports and no secrets. Clone completed, and the global CLI installation step completed. The version command returned codex-cli 0.172.0, and help returned the Codex CLI usage text.
Then the automated recipe stopped: the usage step failed because it found no runnable codex command in the README's usage/examples sections. The README's examples are Claude Code slash commands, which explains why a CLI-only smoke check stops short of the intended host workflow. These were two different environments, not a before-and-after build repair.
Where people get stuck: jobs, hooks and old processes
Users report failures after installation as well as before it: issue #222 describes dead workers whose jobs keep saying running. A successful setup prompt therefore isn't the end of the evaluation. The recovery depends on the symptom.
| Symptom | What the reporter traced it to | Resolution or recovery reported |
|---|---|---|
Task … is still running, although the worker is dead |
#222 says status reads stored job state without checking process liveness | Users cancelled stale jobs. Open; proposed liveness checks are changes requested in the thread. |
| Bash fails after repeated resumes or compactions | #528 reports duplicate exports appended to CLAUDE_ENV_FILE |
Local deduplication/replacement patches are reported, including recovery requiring a Claude restart. Open. |
| Claude cannot invoke review, status or result through its Skill tool | #211 attributes this to disable-model-invocation |
Direct user slash commands, companion-script calls and local flag removal are reported workarounds. Open. |
EAGAIN: resource temporarily unavailable, read in a hook |
#120 reports synchronous reads from non-blocking stdin | Open upstream. CBEPX reports a bounded-reader fix in its own v1.4.0 fork. |
| Unknown sandbox variant after upgrading Codex | #3's reporter found an old process still running | Closed: the reporter closed the Codex app and terminated lingering processes, after which review worked. |
The command-visibility problem has a practical consequence if you want Claude to coordinate reviews. In #211, seungpyoson could dispatch rescue but couldn't make the lead session fetch review output through the hidden commands. Reloading plugins and changing command visibility address different things. A command can exist for you to type while being unavailable to Claude's Skill tool.
Keeping the optional gate off also doesn't remove all hook failures. A commenter in #120 reproduced the stdin error with stopReviewGate disabled: the read happens before the setting is checked. The CBEPX fix belongs to that fork, not OpenAI's release history.
Worktrees can leave brokers running after you finish
Issue #380 reports cleanup missing brokers associated with another workspace root, including linked worktrees. A broker is the background process connecting the plugin to Codex's app server. It can keep the app server and its tool subprocesses alive after the review ends.
The distinction between a folder and a workspace matters. A later contributor in #380 traced the lookup key to the resolved Git repository root. A subdirectory of a worktree can share its key; a linked worktree has a separate root. Starting Claude in the main checkout and reviewing a worktree can therefore leave cleanup looking in the wrong place even after a graceful exit. Issue #791 separately reports brokers for another workspace surviving SessionEnd. Both threads are open.
This can affect programs outside the review. In #380, kasnol reports that accumulated app-server pipe buffers made unrelated programs hang; graceful broker shutdown restored normal pipe behavior. Other contributors report hitting process limits. Issue #543 describes retained app-server and MCP children. MCP is the protocol AI assistants use to call outside tools, so those children can include services you configured for Codex.
Don't identify an abandoned broker solely by PPID=1, meaning its parent process is the system's process 1. Axisrow explicitly corrected that advice in #380: a healthy detached broker can have that parent from birth. Killing every such process can terminate active work. Match the broker to its workspace, connected clients and live jobs before cleanup. The threads describe manual teardown and proposed idle-timeout changes; neither is evidence that an upstream release fixed the lifecycle.
Closing another session can stop your active task
Issue #540 reports a shared broker being shut down when another Claude Code session in the same workspace ends. The active companion can exit 0 in the middle of a turn while its job remains marked running. A shell wrapper that only checks the exit code can misread this as success.
You don't necessarily need two visible terminals to trigger it. Shepherd-Creative describes a headless claude -p subprocess started by an MCP server, inheriting the task's workspace. Another contributor, rhristow, reports a deterministic reproduction where disabling the plugin in the secondary session let the task finish. The issue is open, and cancellation is a reported way to clear the stale job.
For delegated implementation, inspect the intended artifact and its validation output before accepting completion. /codex:result retrieves stored output; retrieving text and completing the assigned task are separate outcomes. This recommendation follows from the reported exit-0 failure, without assuming that every background run fails.
Review permissions and the optional gate need separate decisions
The upstream README describes ordinary and adversarial reviews as read-only. Rescue can investigate and fix code. Choose the command according to whether you want findings or edits, and retain your own check of the resulting diff.
The optional gate runs on Claude's Stop hook, when Claude tries to finish a response. GitTested reports it is off by default. In its boundary-check experiment, the gate distinguished incorrect and correct edits, but it also blocked completion when Codex errored or returned unusable output. The README warns that it can create a long Claude/Codex loop and drain usage limits. Leave it disabled for an initial review, using /codex:setup --disable-review-gate.
GitTested also reports changing a machine-wide AppArmor setting to get its Ubuntu review sandbox started. That is the author's environment workaround, not a general setup instruction. Our dependency audit's zero known vulnerabilities concerns the scanned packages; it says nothing about whether a generated patch is correct or whether an automated review loop is appropriate.
codex-plugin-cc vs Claude review, native Codex and the forks
GitTested's comparison supports adversarial review as an additional check after Claude self-review, with the two review pairings level under its stated decision rule. Its result is more useful than a blanket claim that one model is better at reviewing everything.
| Alternative | Why you would choose it | What changes |
|---|---|---|
| A fresh Claude review after self-review | You already use Claude and want another reading | GitTested's Claude pairing found more bugs per run; the adversarial pairing found more distinct material bugs. |
Native Codex /review |
You prefer working directly in Codex | The plugin's standard command invokes the built-in reviewer; the plugin adds access from Claude Code. |
| Separate terminals or one worktree per tool | You want to manage handoff yourself | Aldena's author says separate worktrees stop edit collisions but still require copying between tools. |
Sendbird or CBEPX cc-plugin-codex |
Codex should be the host and Claude the guest | Sendbird and CBEPX's reverse plugin run in the opposite direction. |
Repository identity also changes permissions and command meanings. Check the owner before adopting instructions from a search result:
| Repository | Host and review boundary | Important difference |
|---|---|---|
openai/codex-plugin-cc |
Claude Code; read-only reviews | Official upstream, using the Codex app server and tracked jobs. |
CBEPX/codex-plugin-cc |
Claude Code; documents read-only reviews | Separately installed fork, with its own changes and release history. |
demfabris/codex-plugin-cc |
Claude Code; review targets plans or proposals | Uses codex exec, removes the broker, plugin job board and stop gate. It changes the workflow. |
yigitkonur/codex-plugin-cc |
Claude Code; reviews have full filesystem and network access | Its unbounded fork can modify files during review, a material change from upstream. |
A broker-free design may interest you after reading the lifecycle issues, but installing demfabris's fork also changes what /codex:review means. A matching repository name doesn't make command examples interchangeable.
What the other reviews get wrong
TreeRouter's installation guide confuses the plugin package with the CLI package and describes the wrong gate trigger. Azukiazusa's walkthrough uses /plugin install codex@openai-codex, matching upstream. @openai/codex is the npm CLI package, not that plugin installation name.
TreeRouter describes an auto-enabled gate acting on every file save. The README describes a Stop hook, and GitTested reports the gate is off by default. That changes when you spend usage and when Claude is blocked from finishing.
TreeRouter also presents setup-failure and Windows-failure percentages without a methodology or denominator in the article. Its issue descriptions can help you recognize a symptom; those percentages aren't a measured population failure rate. Its claim of frequent subsequent compatibility patches also conflicts with the GitHub snapshot's July 8 last-push date and later reports reproducing v1.0.6. Fork releases must be identified separately.
AlphaSignal calls $200 Codex's entry price while also saying the plugin supports Free ChatGPT accounts or an API key. That price framing isn't a minimum cost for this plugin. Finally, TreeRouter's local-inference framing goes beyond what local CLI execution proves: the plugin uses a local authenticated client, not evidence that the model runs on your laptop.
Questions people ask
The official codex-plugin-cc GitHub repository is openai/codex-plugin-cc, and its README documents installation inside Claude Code.
Where is the official codex-plugin-cc GitHub repository?
OpenAI maintains the repository at github.com/openai/codex-plugin-cc. Forks use different owner names and can change review permissions, installation names and commands. Use the upstream owner when following the official marketplace sequence.
Does codex-plugin-cc work in VS Code, and how does it differ from the Codex IDE integration?
Codex-plugin-cc installs into Claude Code, while the Codex IDE integration is a separate host interface. Running Claude Code in a VS Code terminal doesn't turn this plugin into a VS Code extension. The host-selection guide separates IDE/sidebar use from the Claude Code plugin route.
How do I install codex-plugin-cc and make its commands appear?
In Claude Code, run /plugin marketplace add openai/codex-plugin-cc, then /plugin install codex@openai-codex, /reload-plugins and /codex:setup. The official README requires Node.js 18.18 or later. Setup checks Codex installation and authentication and can offer to install the CLI if npm is available.
Is codex-plugin-cc free, and can I use a Free ChatGPT account?
The README accepts a ChatGPT account including Free, or an OpenAI API key, and says usage contributes to Codex limits. Free-tier eligibility is also stated in AlphaSignal's walkthrough. Access to the plugin doesn't mean unlimited model use.
Do I need a separate Codex account or can I reuse my existing authentication?
The plugin uses local Codex CLI authentication, so an existing Codex login on the machine should work, according to the upstream FAQ. If you only use Claude Code, you still need to sign into Codex. The documented command is !codex login from Claude Code.
Can I keep my existing API key and base URL configuration?
Yes: the upstream FAQ says existing sign-in and configuration apply. It documents openai_base_url for a different endpoint. Project configuration loads only for trusted projects, which matters when a repository override appears to be ignored.
Should Codex replace Claude's own code review or provide a second review?
Use it for a second review. GitTested's experiment favored running adversarial review after self-review. Its standard review sometimes returned an all-clear despite material bugs, so asking Claude only to assess Codex's list leaves another opportunity for an independent reading unused.
Why do Codex broker processes remain alive after sessions or worktree reviews finish?
#108 reports no idle timeout after a missed session-end hook, while #380 and #791 describe cleanup looking up the wrong workspace. These are open reports with manual cleanup and local patches described. Healthy detached brokers can also have PPID=1; that value alone is unsafe as a cleanup rule.
Why does a finished or dead task still show running, and how can I recover it?
#222 reports that stored running state survives worker death. Contributors checked whether the recorded process was alive and cancelled stale jobs. Status output alone can therefore send you into a poll loop for work that has already stopped.
Can closing another Claude Code session interrupt my Codex task?
Yes, according to #540's concurrent-session reproductions, including short-lived headless sessions in the same workspace. One contributor completed the task with the plugin disabled in the secondary session. That is a reported workaround, not an upstream fix.
Why do Bash commands fail after repeatedly resuming or compacting a session?
#528 attributes this to repeated environment exports growing CLAUDE_ENV_FILE. Contributors report the problem on Windows and Linux. Local deduplication is a reported recovery, with one user also needing to restart Claude Code.
Why can't Claude invoke review, status or result when I ask it to?
#211 says disable-model-invocation hides these commands from Claude's Skill tool. Typing the slash command yourself and calling companion scripts directly are reported alternatives. A local flag-removal patch changes that invocation policy and is separate from installing upstream.
What we have not tested yet
Our two November 27 runs stopped before an authenticated Claude Code review, rescue or transfer completed. The source run measures dependency setup and repository checks; the CLI smoke check measures executable availability, version and help. Neither measures review accuracy, model latency, long-session memory growth or concurrent-session safety on our hardware.
GitTested's findings come from its six-feature experiment at v1.0.6, not our benchmark or a universal model ranking. That author tested review commands and the gate, not rescue or transfer. The Aldena workflow report is personal experience without a measured quality gain. The video entries contain no transcripts, and the Bilibili search listings don't show an executed workflow, so they add no demonstrated outcomes here.
We have not reproduced the issue workarounds, compared forks under the same workload, tested VS Code integration or measured platform-specific failure rates. The source-harness record gives no test count, and the image labels don't establish the actual toolchain versions. Passing tests and a clean npm audit leave authentication, model behavior and process cleanup to a separate evaluation. Before relying on delegated edits, use a task whose expected file changes and validation commands you can inspect yourself.


