OpenAI Codex Plugin for Claude Code — 경쟁사 에이전트 안에서 돌아가는 공식 플러그인
“We love an open ecosystem!”
— Dominik Kundel, OpenAI
Overview
OpenAI가 Claude Code용 Codex 플러그인을 공식 출시했습니다.
GitHub: https://github.com/openai/codex-plugin-cc
What is it?
Claude Code 안에서 Codex를 사용하는 방법:
- 코드 리뷰 맡기기
- 작업 통째로 넘기기
- 백그라운드 작업 관리
Key Insight
경쟁사 에이전트 안에서 돌아가는 자기 에이전트.
Installation (3 Lines)
/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-pluginsThen setup:
/codex:setupIf Codex is not installed:
npm install -g @openai/codexLogin if needed:
!codex loginCommands
/codex:review
Read-only Codex review on current work.
/codex:review
/codex:review --base main
/codex:review --background/codex:adversarial-review
Steerable challenge review that questions the chosen implementation and design.
/codex:adversarial-review
/codex:adversarial-review --base main challenge whether this was the right caching and retry design
/codex:adversarial-review --background look for race conditionsUse when:
- Reviewing design choices, tradeoffs, hidden assumptions
- Pressure-testing risk areas (auth, data loss, rollback, race conditions)
- Challenging the direction, not just code details
/codex:rescue
Delegate tasks to Codex through the codex:codex-rescue subagent.
/codex:rescue investigate why the tests started failing
/codex:rescue fix the failing test with the smallest safe patch
/codex:rescue --resume apply the top fix from the last run
/codex:rescue --model gpt-5.4-mini --effort medium investigate the flaky integration test
/codex:rescue --model spark fix the issue quickly
/codex:rescue --background investigate the regressionYou can also just ask for a task to be delegated:
“Ask Codex to redesign the database connection to be more resilient.”
/codex:status
Shows running and recent Codex jobs for the current repository.
/codex:status
/codex:status task-abc123/codex:result
Shows the final stored Codex output for a finished job.
/codex:result
/codex:result task-abc123/codex:cancel
Cancels an active background Codex job.
/codex:cancel
/codex:cancel task-abc123Features
Authentication
- Uses your local Codex CLI authentication
- Supports both ChatGPT account and API key
- If already signed into Codex on this machine, it works immediately
Configuration
- Uses same Codex install and config as direct usage
- Project-level config in
.codex/config.toml - User-level config in
~/.codex/config.toml
Example config:
model = "gpt-5.4-mini"
model_reasoning_effort = "xhigh"Review Gate
Optional feature that runs a targeted Codex review before Claude completes a task.
/codex:setup --enable-review-gate
/codex:setup --disable-review-gateWarning: The review gate can create long-running Claude/Codex loops and may drain usage limits quickly.
Philosophy: Open Ecosystem
“We love an open ecosystem!”
Key Principles
- Interoperability — Codex works with various dev environments and tools
- Flexibility — Developers use Codex within their preferred setups
- No Lock-in — No proprietary ecosystem restrictions
Supported Platforms
- Claude Code
- VSCode
- Xcode
- JetBrains
- (And more via plugin ecosystem)
Technical Details
How it Works
- Plugin wraps the Codex app server
- Uses global
codexbinary in your environment - Applies same configuration as direct Codex usage
- Delegates through local Codex CLI and Codex app server
What it Means
- Same Codex install as direct usage
- Same local authentication state
- Same repository checkout and machine-local environment
Cost & Limits
- Requires ChatGPT subscription (incl. Free) or OpenAI API key
- Usage contributes to Codex usage limits
- Pricing details
Use Cases
- Code Reviews — Get Codex-quality reviews without leaving Claude Code
- Bug Investigation — Delegate debugging to Codex in the background
- Refactoring — Let Codex handle complex code changes
- Adversarial Reviews — Challenge design decisions and assumptions
- Multi-Agent Workflows — Combine Claude Code’s local workflow with Codex’s cloud capabilities
Significance
This is remarkable because:
- OpenAI building for Claude Code — Direct competitor integration
- Official support — Not a third-party hack, but official OpenAI product
- Three-line install — Dead simple to add Codex to Claude Code workflow
- No lock-in — Users can choose the best tool for each task
- Ecosystem mindset — OpenAI embracing open ecosystem over walled garden
Related Resources
- OpenAI Codex
- Codex Plugins Documentation
- Claude Code
- openai/codex-plugin-cc on GitHub
- Loopndroll — Codex 무한 실행 — Codex Stop 훅으로 세션 무한/턴 예산 실행
Source: 정석님 공유 (2026-03-30) + GitHub 리포지토리