Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By cathrynlaveryv1.0.0MITIn 1 marketplace
Gets a second opinion from OpenAI Codex on Claude's plans and technical questions, with a hook that sends each plan to Codex before you approve it; needs the Codex CLI and an OpenAI API key.
Trending plugins
7-day copy clicks
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Give Claude Code a "second opinion" by letting it consult OpenAI's Codex CLI for independent verification.
When Claude Code creates a plan, Codex automatically reviews it before you approve. Two AIs checking each other's work catches more edge cases.
Automatic review on:
Manual use for:
Install Codex CLI:
npm install -g @openai/codex
Configure your OpenAI API key.
The skill supports the current visible Codex lineup. Automatic plan reviews do not pin a model; they inherit your configured Codex default.
| Model | Default effort | Supported efforts | Best for |
|---|---|---|---|
gpt-6-astra | low | low–ultra | Most capable option for difficult architecture, debugging, security, and long-horizon work |
gpt-6.1-sol | medium | low–ultra | Latest workhorse for coding and everyday work |
gpt-6.1-terra | low | low–ultra | Balanced everyday coding and review |
gpt-6-sol | medium | low–ultra | Previous-generation workhorse |
gpt-6-luna | medium | low–max | Fast and affordable checks |
gpt-5.6-sol, gpt-5.6-terra and gpt-5.6-luna are still listed as older generations.
claude plugin marketplace add cathrynlavery/codex-skill
claude plugin install codex-skill@codex-skill
This auto-registers both the /codex skill and the automatic plan review hook. No manual configuration needed.
git clone https://github.com/cathrynlavery/codex-skill.git
mkdir -p ~/.claude/skills/codex
cp codex-skill/skills/codex/SKILL.md ~/.claude/skills/codex/
Copy the hook script:
mkdir -p ~/.claude/hooks
cp codex-skill/hooks/plan-review.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/plan-review.sh
Add to your ~/.claude/settings.json:
{
"hooks": {
"PostToolUse": [
{
"matcher": "ExitPlanMode",
"hooks": [
{
"type": "command",
"command": "~/.claude/hooks/plan-review.sh",
"timeout": 120
}
]
}
]
}
}
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ Claude │────>│ ExitPlanMode│────>│ Codex │
│ creates plan│ │ (hook) │ │ reviews │
└─────────────┘ └─────────────┘ └─────────────┘
│
v
┌─────────────┐
│ You approve │
│ with context│
└─────────────┘
The hook intercepts ExitPlanMode and reads the plan from tool_response.plan (the field where Claude Code stores the plan content). It passes the plan to Codex for review and displays the result before you approve.
Automatic plan reviews always use codex exec --sandbox read-only to restrict model-generated shell commands to read-only access. Manual consultations default to the same mode; explicit requests to implement changes use --sandbox workspace-write. If Codex fails, the hook reports that the review was skipped on stderr and exits successfully so your workflow can continue.
Codex reviews for:
Invoke directly:
/codex
Or ask Claude:
"Can you verify this approach with Codex?" "Get a second opinion on this architecture"
These consultation requests use read-only mode. To have Codex make changes, explicitly request implementation, for example:
"Have Codex review and fix the parser bug, then run the relevant tests."
An explicit implementation request uses --sandbox workspace-write for edits and checks within the requested scope. No additional confirmation is needed for that same scope. Reviews do not automatically switch modes when a check needs to write files; they report the limitation. The automatic plan-review hook stays read-only even when the plan describes future edits.
The skill uses your configured Codex default. For the hardest questions (novel architecture, deep analysis, or security review), explicitly select gpt-6-astra with high or greater reasoning effort. For trivial fact checks, select gpt-6-luna.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub cathrynlavery/codex-skill --plugin codex-skillPlugins from other owners that cover similar ground