Codex-Claude Bridge

A durable Codex-to-Claude control plane with tmux process ownership, recovery,
collaboration, result delivery, and independent verification.
Delegate to Claude from Codex, keep control, and get verified work back.
Identity: this is an independent community project by Kennedy Umege. It is
not affiliated with or endorsed by OpenAI or Anthropic. OpenAI's
openai/codex-plugin-cc is a Claude Code plugin that invokes Codex; this project
runs in the opposite direction, letting Codex supervise durable Claude workers.
This project was renamed from codex-plugin-cc to codex-claude-companion to
avoid confusion with OpenAI's plugin of that name; the legacy codex-plugin-cc
npm package is deprecated and forwards here. See
the identity and migration contract.
The bridge keeps the originating Codex task responsive while a Claude worker is
owned by a named tmux session. A detached local broker records heartbeats,
leases, ordered collaboration messages, recovery state, delivery acknowledgement,
and verification evidence. When a delegation finishes, the bridge runs the
origin-supplied verification command as a bounded local subprocess with a
secret-stripped environment. A separate ephemeral, read-only Codex process
then independently reviews the recorded outcome; it does not hardcode a GPT
model.
The package has three explicit surfaces: the durable bridge, a legacy writable
Claude workspace, and isolated read-only review lanes. Reviews can use Claude Code's
current Opus alias, including the Opus 1M long-context alias, with Read,
Glob, Grep, Task sub-agents, and domain-fenced web access. They do not get
Edit, Write, Bash, raw shell, or repository-controlled Claude settings by
default. Every elite-tier finding must cite tool-call evidence, and malformed
structured output fails closed.
Review automation (maintainer)
- Copilot automatic code review is enabled on
main (including draft PRs) via the repository ruleset Automatic Copilot code review.
- Human review is required.
main needs an approving code-owner review, and automated reviewers (Copilot, CodeRabbit, Codex, Devin) may comment or approve, but only a code owner's approval satisfies that requirement. Pull requests are reviewed by a second party: @Kenmege and @kenmege-claude (Kennedy's machine account for Claude) co-own general paths and never approve their own pull requests, while workflow, release and security paths need @Kenmege's review. See .github/CODEOWNERS.
- CodeRabbit is configured in
.coderabbit.yaml.
60-Second Quickstart
[email protected] is the current stable release on npm
dist-tag latest. Install the stable bridge:
npm install -g codex-claude-companion
codex-claude enable
codex-claude doctor
codex-claude bridge-doctor --json
Or pin this release explicitly:
npm install -g [email protected]
codex-claude enable
codex-claude doctor
codex-claude bridge-doctor --json
[email protected] was the last stable release before the durable bridge.
Upgrading from 1.2.0-rc.1 automatically migrates the job-state index once;
jobs from older versions keep their summaries. Both executable names remain
supported. See the release notes.
For source development or an unpublished-commit test:
git clone https://github.com/Kenmege/codex-claude-companion.git
cd codex-claude-companion
npm install -g .
codex-claude enable
codex-claude doctor