Plugins and integrationsReviewed · OpenAI

Codex plugin for Claude Code

The Codex plugin for Claude Code gives Claude Code users access to Codex reviews and coding help, but it requires a local Codex installation and uses its configured account or provider. It adds read-only reviews, focused design challenges, delegated fixes, background job controls and conversation transfer.

Researched 12 Nov 2026

In short.

The Codex plugin for Claude Code lets Claude Code users request Codex reviews and coding help, but delegated fixes can edit their existing checkout and consume Codex usage. Version 1.0.6 connects through the local Codex app server, reusing authentication and configuration. Its useful distinctions are ordinary read-only review, steerable challenge review and resumable implementation tasks. Review accuracy, task correctness, performance and actual operating costs are not established; nothing was executed.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete supplied scope at revision db52e28f4d9ded852ab3942cea316258ae4ef346: the Codex plugin's commands, agents, hooks, prompts, skills and runtime, together with the README, repository manifests, supporting scripts, CI configuration, test definitions and root and plugin LICENSE and NOTICE files. Original-source addresses remain tied to that revision. Linked documentation, pricing pages, the demonstration video, external product implementations and material outside the supplied scope are excluded. No installation, command, test, build or live session was executed. Runtime outcomes and semantic review quality remain unassessed. No complete packaged plugin archive was supplied.

The overview

Identity

This is OpenAI's Codex plugin for Claude Code, published through the openai-codex marketplace. The plugin and package manifests identify version 1.0.6. Its source is available at [https://github.com/openai/codex-plugin-cc].

The source snapshot is revision db52e28f4d9ded852ab3942cea316258ae4ef346. The resource includes Claude Code commands, a rescue subagent, hooks, internal skills and Node.js runtime scripts. It depends on the separately installed Codex CLI.

Assessment

Its clearest benefit is convenient access to Codex while working in Claude Code. You can request another review, delegate a bounded coding task and later continue the resulting task thread directly in Codex.

The implementation supports these integration features, but the supplied material does not establish better bug detection, faster fixes or lower costs. Treat its reviews as engineering input requiring judgment. The optional automatic review gate also needs active monitoring because the README warns about long loops and rapid usage consumption.

Users

It fits developers who already use Claude Code and want Codex to review a feature branch, investigate a difficult bug or attempt a narrowly described fix. Background commands are useful when a review or investigation may take longer than an interactive exchange.

Beginners need familiarity with terminal commands, Git branches, authentication and checking generated changes. Experienced developers can control review scope, model selection, reasoning effort and task continuation. Teams expecting durable background workers or an automatic release approval system should account for session cleanup and the gate's limitations.

Capabilities

/codex:review requests Codex's built-in review of uncommitted changes or changes against a base branch. /codex:adversarial-review accepts additional focus text and challenges assumptions, tradeoffs and failure paths. Both request read-only access and leave fixes to a separate task.

/codex:rescue delegates investigation or implementation, supports fresh or resumed tasks and accepts explicit model and effort controls. The spark alias maps to gpt-5.3-codex-spark; actual model availability is unknown.

/codex:status, /codex:result and /codex:cancel manage tracked jobs. /codex:transfer imports a Claude conversation into a persistent Codex thread and returns a codex resume command. /codex:setup checks readiness and toggles the optional stop-time review gate.

Using it

Requirements

You need Claude Code, Node.js 18.18 or later and a local Codex CLI exposing the app-server runtime. Git is required for reviews. npm is needed for the documented Codex installation route, but setup can consider an existing authenticated installation ready without npm.

The README documents ChatGPT access, including Free, or an OpenAI API key. Existing Codex provider configuration is reused; setup also accepts a provider reporting that OpenAI authentication is unnecessary. That readiness result does not establish successful inference with a particular provider or validate an API key.

No minimum Claude Code version or precise minimum Codex CLI version is specified. Conversation transfer additionally requires Codex's external-agent session importer. Project-level Codex configuration only loads for trusted projects, according to the README.

Mechanism

Claude Code commands call a Node.js companion script, which communicates with the local Codex app server using JSON messages. A broker starts on demand and can reuse one runtime through a Unix socket or Windows named pipe. Certain broker failures or busy responses trigger a direct app-server connection.

Ordinary reviews use the app server's review/start method. Adversarial reviews use turn/start with a review prompt and output schema. Small adversarial reviews include diffs directly; by default, changes exceeding two files or 256 KiB of tracked diffs receive a summary and instructions for Codex to inspect the repository. Untracked-file excerpts have separate size and readability limits.

Rescue tasks default to workspace-write access. The forwarding subagent, a model following written instructions, omits the write flag only when the user explicitly asks for read-only behaviour or only wants review, diagnosis or research without edits. A request like investigate why the tests fail may therefore run with edit access unless read-only is stated. Threads set approvalPolicy to never. The same checkout and local environment are reused, so delegated edits affect the developer's working copy.

Claude Code may also delegate a substantial debugging or implementation task to Codex without anyone typing /codex:rescue. The rescue subagent is instructed to act proactively when Claude Code is stuck and not wait for an explicit Codex request; the README also describes asking for delegation in ordinary language. These handoffs can consume Codex usage and, with the default write access, edit the working copy.

Job records and logs are stored under Claude's plugin data directory when available, with a temporary-directory fallback. Logs can contain model messages, reasoning summaries and review output. Provider-side retention and data handling are unknown.

Setup

In Claude Code, enter /plugin marketplace add openai/codex-plugin-cc, followed by /plugin install codex@openai-codex, /reload-plugins and /codex:setup.

If Codex is missing and npm is available, setup can offer installation. The documented manual command is npm install -g @openai/codex. For an installed but unauthenticated OpenAI setup, the README directs users to !codex login.

Existing user configuration in ~/.codex/config.toml and trusted project overrides in .codex/config.toml determine defaults. The installation commands do not pin the plugin to the analyzed commit or specify a Codex CLI version.

Example

For a feature branch based on main, request /codex:review --base main --background. Use /codex:status to find the job, then /codex:result with its job ID after completion.

For a focused challenge to retry logic, request /codex:adversarial-review --base main --background look for duplicate side effects and question the retry design. If you confirm a finding and want edits, make a separate, narrow /codex:rescue --fresh request describing the fix.

These commands illustrate the documented workflow. No review findings, successful fixes, execution times or test outcomes were demonstrated.

Assessment & evidence

Limitations

Ordinary review rejects custom focus text; use adversarial review for that purpose. Both review commands document only auto, working-tree and branch scopes. Background reviews depend on Claude Code launching the command in the background; the companion review script's --background flag alone does not detach execution.

A completed job indicates runtime completion, not approval of the code. Adversarial findings or an output parse error can accompany a successful process exit. Automation must inspect the review payload and errors.

The optional gate is disabled by default. When enabled and Codex is available, it launches a review task with a 15-minute timeout. Missing Codex produces guidance and allows stopping; failed tasks, timeouts and unexpected answers block. The prompt asks the model to review only the previous turn's edits, but the hook supplies the last assistant response without a per-turn diff. Attribution accuracy is unknown.

Session-end cleanup terminates active jobs belonging to the ending session and removes their plugin records and logs. Persistent task threads are stored separately in Codex. Transfer accepts only JSONL sources resolving beneath ~/.claude/projects and depends on importer compatibility.

Review accuracy, patch correctness, latency, provider compatibility and operation across operating systems remain unassessed.

Reasoning

The case for using this plugin rests on workflow convenience: explicit review modes, separate implementation delegation, resumable threads and reuse of existing Codex configuration. These features are useful when Claude Code is your main working environment.

Confidence should remain narrower than the feature list. The implementation describes how requests are routed and results retained; it does not establish how reliably a model detects defects or completes a real coding task. Begin with read-only review and evaluate its usefulness on familiar changes before expanding delegation.

Alternatives

Using Codex directly is the documented alternative. The README states that /codex:review uses the same built-in reviewer available through /review inside Codex. If you already work there, direct review may cover your needs.

For work started in Claude Code, /codex:transfer offers a transition into Codex with imported conversation history. Task session IDs also support codex resume. Comparative evidence about third-party review plugins, other models or competing coding assistants is absent.

Evidence

The evidence includes documentation, manifests, command and agent definitions, runtime source, hooks, prompts, schemas, test definitions and license notices. These support analysis of intended behavior and implementation choices.

Runtime tests use a fake Codex executable with predetermined responses. Examples such as the missing empty-state finding are generated by that fixture and do not demonstrate a real model discovering a defect. Other tests cover Git context collection, command text, rendering, state retention and process handling.

The CI definition specifies Node.js 22, dependency installation, an unpinned Codex CLI installation, npm test and npm run build. The build generates app-server types and runs TypeScript checking with no emitted output. No execution receipts, live-provider results or benchmarks are supplied, and nothing was run.

Access & freshness

Costs

The README states that use contributes to Codex usage limits. Exact quotas, API prices, any separate plugin fee and Claude Code costs are unknown from the supplied material. The source license's no-charge permissions do not establish free model inference.

Model and reasoning-effort controls allow different runtime choices, but no measured savings or speed comparisons are supplied. The optional review gate can repeatedly invoke Codex, and the README explicitly warns that loops may drain usage limits quickly.

Rights

The repository and plugin include Apache License 2.0 and NOTICE files identifying Copyright 2026 OpenAI. The license permits use, modification and redistribution, including commercial use, subject to its conditions.

Redistribution requires a license copy, retention of applicable notices, prominent notices on modified files and preservation of relevant NOTICE attribution. The license includes warranty disclaimers and does not grant general trademark permission.

These source-code permissions do not establish the separate service terms for Claude Code, Codex or configured providers, or ownership terms for generated material.

Freshness

The source snapshot was captured on 12 November 2026 at revision db52e28f4d9ded852ab3942cea316258ae4ef346. Its manifests identify version 1.0.6, while the supplied changelog records only the initial 1.0.0 release. Release dates and changes between those versions are unknown.

The exact source is available at [https://github.com/openai/codex-plugin-cc/tree/db52e28f4d9ded852ab3942cea316258ae4ef346]. Whether it is the latest release is unknown. Compatibility depends partly on the installed Codex app-server interface; installation and CI commands do not pin a CLI version.

Actions

Check your local Codex provider, model defaults and account limits, then use /codex:setup. Start with a read-only review against an explicit base branch or working-tree scope so the target is clear.

For implementation, give /codex:rescue a bounded task and explicitly request read-only behavior when edits are unwanted. Watch for automatic delegation and say read-only when you want no edits. Inspect resulting Git changes and run the project's relevant verification before accepting a patch.

Save useful output and task session IDs before ending Claude Code, because plugin job records are cleaned up at session end. Enable the optional review gate only while actively monitoring it, with its usage costs and non-guaranteed enforcement understood.

Evidence for this report

.claude-plugin/marketplace.jsonselected · checked 2026-11-12
.github/workflows/pull-request-ci.ymlselected · checked 2026-11-12
.gitignoreselected · checked 2026-11-12
LICENSEnotice · checked 2026-11-12
NOTICEnotice · checked 2026-11-12
README.mdselected · checked 2026-11-12
package-lock.jsonselected · checked 2026-11-12
package.jsonselected · checked 2026-11-12
plugins/codex/.claude-plugin/plugin.jsonselected · checked 2026-11-12
plugins/codex/CHANGELOG.mdselected · checked 2026-11-12
plugins/codex/LICENSEnotice · checked 2026-11-12
plugins/codex/NOTICEnotice · checked 2026-11-12
plugins/codex/agents/codex-rescue.mdselected · checked 2026-11-12
plugins/codex/commands/adversarial-review.mdselected · checked 2026-11-12
plugins/codex/commands/cancel.mdselected · checked 2026-11-12
plugins/codex/commands/rescue.mdselected · checked 2026-11-12
plugins/codex/commands/result.mdselected · checked 2026-11-12
plugins/codex/commands/review.mdselected · checked 2026-11-12
plugins/codex/commands/setup.mdselected · checked 2026-11-12
plugins/codex/commands/status.mdselected · checked 2026-11-12
plugins/codex/commands/transfer.mdselected · checked 2026-11-12
plugins/codex/hooks/hooks.jsonselected · checked 2026-11-12
plugins/codex/prompts/adversarial-review.mdselected · checked 2026-11-12
plugins/codex/prompts/stop-review-gate.mdselected · checked 2026-11-12
plugins/codex/scripts/app-server-broker.mjsselected · checked 2026-11-12
plugins/codex/scripts/codex-companion.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/app-server.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/args.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/broker-endpoint.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/codex.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/fs.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/git.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/job-control.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/process.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/prompts.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/render.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/state.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/tracked-jobs.mjsselected · checked 2026-11-12
plugins/codex/scripts/lib/workspace.mjsselected · checked 2026-11-12
scripts/bump-version.mjsselected · checked 2026-11-12
tests/broker-endpoint.test.mjsselected · checked 2026-11-12
tests/bump-version.test.mjsselected · checked 2026-11-12
tests/commands.test.mjsselected · checked 2026-11-12
tests/fake-codex-fixture.mjsselected · checked 2026-11-12
tests/git.test.mjsselected · checked 2026-11-12
tests/helpers.mjsselected · checked 2026-11-12
tests/process.test.mjsselected · checked 2026-11-12
tests/render.test.mjsselected · checked 2026-11-12
tests/runtime.test.mjsselected · checked 2026-11-12
tests/state.test.mjsselected · checked 2026-11-12
tsconfig.app-server.jsonselected · checked 2026-11-12