From sd0x-dev-flow
Performs 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.
How this skill is triggered — by the user, by Claude, or both
Slash command
/sd0x-dev-flow:codex-cli-reviewThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
- Keywords: codex cli review, cli review, script review
/codex-review-fast --continue)/codex-review-fast)| Feature | CLI Version (this skill) | MCP Version |
|---|---|---|
| Independent explore | Full disk read | Needs explicit instruction |
| Context persistence | None | threadId |
| Iterative review | Each run independent | --continue |
| Format | Codex native format | Custom prompt format |
| Execution method | Script invocation | MCP tool invocation |
┌─────────────────────────────────────────────────────────────────┐
│ Step 1: Check Changes │
├─────────────────────────────────────────────────────────────────┤
│ git status --porcelain │
│ No changes -> Early exit │
└─────────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────────┐
│ Step 2: Execute Codex CLI │
├─────────────────────────────────────────────────────────────────┤
│ codex review --uncommitted │
│ -c 'sandbox_permissions=["disk-full-read-access"]' │
│ │
│ Codex will independently: │
│ - Read changed files │
│ - Explore related dependencies │
│ - Check existing tests │
│ - Understand project structure │
└─────────────────────────────────────────────────────────────────┘
↓
┌─────────────────────────────────────────────────────────────────┐
│ Step 3: Output Review Results │
├─────────────────────────────────────────────────────────────────┤
│ Codex native format: │
│ - Summary │
│ - Issues (Critical/Major/Minor/Suggestion) │
│ - Recommendations │
└─────────────────────────────────────────────────────────────────┘
bash skills/codex-cli-review/scripts/review.sh [options]
| Parameter | Description |
|---|---|
--base <branch> | Compare with specified branch |
--title "<text>" | Set review title |
--prompt "<text>" | Custom review instructions |
Input:
Output:
## Codex CLI Review Report
### Findings
#### P0/P1/P2
- [file:line] Issue → Fix recommendation
### Merge Gate
✅ Ready / ⛔ Blocked
# Review uncommitted changes
/codex-cli-review
# Compare with main branch
/codex-cli-review --base main
# With title
/codex-cli-review --title "Feature: User Auth"
# Custom review instructions
/codex-cli-review --prompt "Focus on security and performance"
| Command/Skill | Difference |
|---|---|
/codex-review-fast | MCP version, supports iterative review |
/codex-review | MCP version, includes lint + build |
/codex-review-branch | MCP version, reviews entire branch |
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowRuns 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.
Runs a structured code review using Codex, Claude, or other engines as a closeout check before commit or ship.
Performs code reviews using Codex MCP with severity-grouped findings and a merge gate. Supports fast (diff-only), full (diff + lint/build), and branch review variants.