/codex:setup [--enable-review-gate|--disable-review-gate]from codex
Checks local Codex CLI readiness and optionally toggles the stop-time review gate. Can install Codex via npm if missing.
Ships in codex. Installing the plugin adds it to Claude Code.
Files this command reads when invoked
What the command file sets; muted values are Claude Code's defaults
Run:
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" setup --json $ARGUMENTS
If the result says Codex is unavailable and npm is available:
AskUserQuestion exactly once to ask whether Claude should install Codex now.(Recommended).Install Codex (Recommended)Skip for nownpm install -g @openai/codex
node "${CLAUDE_PLUGIN_ROOT}/scripts/codex-companion.mjs" setup --json $ARGUMENTS
If Codex is already installed or npm is unavailable:
Output rules:
!codex login.7-day visitors to each command page
15 commands in this plugin
/adversarial-reviewAdversarial ReviewRun a Codex review that challenges the implementation approach and design choices/cancelCancel an active background Codex job in this repository/diffShow the diff a write-capable Codex job produced in its isolated worktree/exploreAsk Codex to investigate or trace a root cause without changing any files/implementHand an implementation or fix to Codex, which works in an isolated worktree and returns a reviewable diff/init-policyInit PolicyGenerate a starting .codex-plugin/policy.json from the repository's layout and toolchain12 plugins ship this exact command · first indexed Mar 30, 2026
Showing 6 of 12 plugins, one per repository first
npx claudepluginhub aksops/codex-plugin-cc --plugin codexOther plugins' commands for the same job