# Codex plugin for Claude Code
A [[Claude Code Plugins|Claude Code plugin]] that integrates [[OpenAI]]'s [[Codex]] directly into [[Claude Code]], letting you delegate tasks and get code reviews from Codex without leaving your session.
## Commands
- `/codex:review` — read-only code review on current work or branches (`--base <ref>` to compare against a specific branch)
- `/codex:adversarial-review` — steerable challenge review that questions design decisions and assumptions
- `/codex:rescue` — hand a problem to Codex for investigation, fixes, or continued work
- `/codex:status` — monitor running and recent Codex jobs
- `/codex:result` — display finished job outputs with session IDs for resuming in Codex
- `/codex:cancel` — stop active background tasks
- `/codex:setup` — verify Codex installation and authentication; manage optional review gates
## How it works
Wraps Codex's app server using your local Codex binary and configuration. Operates on the same repository checkout and machine-local environment as your Codex CLI installation. Reuses existing Codex authentication, API keys, and base URL configurations.
## Key features
- Background execution via `--background` and `--wait` flags for long-running operations
- Session resumption: Codex task IDs enable reopening work directly in Codex via `codex resume <session-id>`
- Configurable models and reasoning effort via `.codex/config.toml` (user or project level)
## Prerequisites
- ChatGPT subscription (including free tier) or OpenAI API key
- Node.js 18.18+
- Global Codex CLI: `npm install -g @openai/codex`
## Installation
```
/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-plugins
/codex:setup
```
## References
- https://github.com/openai/codex-plugin-cc
## Related
- [[Claude Code]]
- [[Claude Code Plugins]]
- [[Codex]]