From codex
Review code changes using OpenAI Codex CLI. Use when the user asks for a code review, wants to check for bugs or security issues, or wants feedback on their changes before committing or merging.
How this skill is triggered — by the user, by Claude, or both
Slash command
/codex:codex-code-reviewThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
AI-powered code review using OpenAI Codex CLI. Enables autonomous review workflows — implement a feature, review it with Codex, and fix issues without leaving your agent session.
AI-powered code review using OpenAI Codex CLI. Enables autonomous review workflows — implement a feature, review it with Codex, and fix issues without leaving your agent session.
When the user asks to:
# Check CLI is installed
codex --version 2>/dev/null || echo "NOT_INSTALLED"
If not installed, tell the user:
Codex CLI is not installed. Install it with:
npm install -g @openai/codexThen authenticate with your ChatGPT account by running
codex, or set an API key:export OPENAI_API_KEY=sk-...
Use the built-in codex review subcommand. It automatically detects what to review and saves the full output to .codex-review-output.md.
# Review staged changes (default)
codex review
# Review all local changes (staged + unstaged + untracked)
codex review --uncommitted
# Review changes against a specific base branch
codex review --base main
# Review a specific commit
codex review --commit <sha>
You can also pass an optional prompt to focus the review on specific concerns:
codex review "focus on security vulnerabilities and performance issues"
codex review --base main "check for breaking API changes"
Group findings by severity and create a task list for actionable issues:
## Codex Review Results
### 🔴 Critical
- [ ] `src/auth/login.ts:42` — SQL injection risk: user input not sanitized before query
### 🟠 High
- [ ] `src/api/users.ts:87` — Async function missing `await`, may return undefined
### 🟡 Medium
- [ ] `src/utils/format.ts:15` — Duplicated logic also present in `src/utils/parse.ts:30`
### 🟢 Low
- [ ] `src/components/Button.tsx:5` — Unused import `React` (not needed with new JSX transform)
When the user requests implementation + review:
npx claudepluginhub hirokazumiyaji/claude-codex-plugin --plugin claude-codex-pluginPerforms deep code review via Codex CLI with full disk access. Use for uncommitted changes and full codebase analysis. Outputs severity-grouped findings and merge gate.
Reviews code changes for bugs, security issues, and quality risks using CodeRabbit CLI. Use for PR feedback, code quality checks, or autonomous fix-review cycles.
Runs cross-model code reviews using the external Codex CLI tool from a Claude session. Catches bugs that single-model self-review would miss by leveraging a different reviewer architecture.