Discover MCPs & agents
Loading MCPs and agents…
Loading MCPs and agents…
Make OpenAI Codex a teammate inside Claude Code — delegate review, plan, refactor, implement over the local codex MCP server, with model + effort matched to the task.
Jump to setup instructionsFetched from the repository for this visit.
Make OpenAI Codex a teammate inside Claude Code.
Delegate reviews, plan validation, refactors, and implementations to Codex through the local
Codex CLI (codex exec) — with a small GPT-6.1 routing policy and optional multi-turn loops.
ask-codex teaches Claude Code when to bring Codex in, which model to use, and how to keep the handoff compact. It is optimized for the two jobs this plugin is used for most:
It also keeps the codex-teammate subagent for multi-turn workflows such as
implement → self-review → fix.
Claude runs OpenAI's first-party codex exec CLI locally through Bash, on your own Codex/ChatGPT
seat (inference itself is done by OpenAI's hosted models). There is no MCP server and no
third-party bridge.
| Task | Model | Effort |
|---|---|---|
| Code review, plan critique / approval, debugging, implementation, architecture / security (default) | gpt-6.1-sol | high |
| Well-scoped refactors / implementations where cost matters | gpt-6.1-terra | high |
| Quick consults, easy or mechanical tasks | gpt-6-luna | high |
| Hardest or still-unresolved work (escalation) | gpt-6-astra | medium |
The normal default is gpt-6.1-sol/high. Raise the effort (xhigh, max) before reaching
for Astra. gpt-6-sol (previous generation) is used only when a 6.1 model is unavailable on your
seat, and gpt-5.6-* (legacy) only on explicit request; hidden models are never used.
One-shot review and plan requests call codex exec directly (the CLI's native
codex exec review --uncommitted|--base|--commit is used for plain diff reviews).
For workflows that genuinely benefit from multiple turns, Claude can use the
codex-teammate subagent:
The agent uses the same routing policy and continues a conversation with
codex exec resume <thread_id>, keeping the model stable within it. If escalation is needed,
it starts a fresh stronger conversation rather than bouncing models mid-thread.
Install codex (the OpenAI Codex CLI) and run it once to sign in. Verified with
codex-cli 0.160.1; codex exec must be available. Nothing needs to be registered with
Claude Code.
/plugin marketplace add emirdegirmenci/ask-codex
/plugin install ask-codex@ask-codex
1.x used the codex MCP server, which Codex CLI 0.160.1 no longer ships. After updating, remove
the old registration (the plugin no longer uses it):
claude mcp remove codex
and delete any [mcp_servers.codex] block from ~/.codex/config.toml. See
CHANGELOG.md.
gpt-6.1-sol/high, native codex exec review --uncommitted.gpt-6.1-sol/high, read-only.gpt-6.1-sol/high, read-only (xhigh if it stays inconclusive).skills/ask-codex/MODELS.md is generated from the local Codex model cache
($CODEX_HOME/models_cache.json), but scripts/sync-models.py applies an explicit allowlist and
only renders user-facing models, so refreshing the cache cannot silently reintroduce an
unreviewed or hidden model.
python scripts/sync-models.py
python scripts/sync-models.py --check
If a model is unavailable on the current seat, the plugin reports that instead of silently falling back to another one.
-C <repo> + paths instead of pasting repository contents.-s read-only, always passed explicitly).-o last-message file.read-only inspects. workspace-write allows edits in the working root.
danger-full-access is never used unless explicitly requested. The sandbox is always passed
explicitly (-s on codex exec; -c 'sandbox_mode="..."' on resume and review, which have
no -s) because your
~/.codex/config.toml defaults may be more permissive.
MIT © Emir Degirmenci
GitHub checked 15h ago - refresh overdue. Recently viewed repositories target hourly refresh.
Find a documented setup for your client. No sign-in, installation, or tool execution.
If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.