From sd0x-dev-flow
Executes Codex CLI for code reviews with full disk access, enabling deep codebase exploration and uncommitted change analysis. Outputs severity-grouped findings and merge gate.
npx claudepluginhub sd0xdev/sd0x-dev-flow --plugin sd0x-dev-flowThis skill is limited to using the following tools:
- Keywords: codex cli review, cli review, script review
Runs OpenAI Codex CLI (`codex review`) for AI code reviews on git staged, unstaged, uncommitted, or branch changes before committing. Uses custom prompts, 10min timeout, saves output to .codex-review-output.md.
Provides full second-opinion code reviews using Codex MCP, running lint:fix and build checks on diffs plus local files. Supports context-preserving review loops.
Performs code reviews using OpenAI Codex CLI with GPT-5.2-Codex, detecting bugs, security flaws, and style issues. Supports Git diffs, PR comments, uncommitted changes, and CI/CD integration.
Share bugs, ideas, or general feedback.
/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 |