source: https://x.com/theo/status/2072482460122964067
You can run Codex from inside Claude Code by installing OpenAI’s Claude Code plugin for Codex, then invoking the /codex:* commands from within your Claude session. The plugin uses your existing local Codex CLI auth and config, so since you already have both installed, setup should be quick.
Run these inside Claude Code:
- Add the plugin marketplace:
/plugin marketplace add openai/codex-plugin-cc- Install the plugin:
/plugin install codex@openai-codex- Reload plugins:
/reload-plugins- Verify setup:
/codex:setupThe plugin’s setup flow and verification command are documented as the intended path for getting Codex working inside Claude Code. youtube
After setup, these are the main commands you’ll likely use:
/codex:reviewfor a standard review./codex:adversarial-reviewfor a more skeptical audit./codex:rescuewhen you want Codex to investigate a problem./codex:statusto check a background job./codex:resultto fetch the finished output./codex:cancelto stop a running task. youtube
A common first test is:
/codex:review --background
/codex:status
/codex:resultThat starts a background review, lets you check progress, and then pulls the findings once it finishes. youtube
If /codex:setup says Codex is missing or not authenticated, re-check that the local CLI works first with codex and codex login, then rerun the plugin setup. The plugin relies on the local Codex CLI rather than a separate runtime, so fixing the CLI auth usually resolves setup issues. reddit