Use Codex CLI (not MCP) to review uncommitted changes. Codex explores the codebase independently with full disk read access.
/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 |