Skip to content
Agentmart
Submit a tool

codex-cli-review

Code review via Codex CLI with full disk access.

Skill by sd0xdev

IndexedMIT★ 194
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sd0xdev-codex-cli-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Code review via Codex CLI with full disk access. Use when: deep review needing full codebase read, uncommitted change review. Not for: quick diff review (use codex-code-review), doc review (use doc-review). Output: severity-grouped findings + merge gate.

Use cases: documents, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/codex-cli-review

Tools it pre-approves 1

From allowed-tools in SKILL.md: the agent may use these without asking you each time.

  • Bash(bash:*)

What's inside

Skill name
codex-cli-review
Description
Code review via Codex CLI with full disk access. Use when: deep review needing full codebase read, uncommitted change review. Not for: quick diff review (use codex-code-review), doc review (use doc-review). Output: severity-grouped findings + merge gate.
License
MIT
Allowed tools
Bash(bash:*)
Instructions
128 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Pre-approves some shell commands

Files (2)

  • SKILL.md
  • review.sh · scripts/

SKILL.md (first lines)

# Codex CLI Review Skill

## Trigger

- Keywords: codex cli review, cli review, script review

## When to Use

- Need Codex to independently explore the entire project (full disk read)
- Don't need MCP's context persistence feature
- Want to use Codex CLI's native review format

## When NOT to Use

- Need iterative review (use `/codex-review-fast --continue`)
- Need to follow up with Codex (use MCP version)
- Only want to see diff without waiting for Codex exploration (use `/codex-review-fast`)

## Difference from MCP Version

| 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   |

## Workflow

```
┌─────────────────────────────────────────────────────────────────┐
│ 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                                               │
└─────────────────────────────────────────────────────────────────┘
```

## Script

```bash
bash skills/codex-cli-review/scripts/review.sh [options]
```

### Options

| Parameter           | Description                |
| ------------------- | -------------------------- |
| `--base <branch>`   | Compare with specified branch |
| `--title "<text>"`  | Set review title           |
| `--prompt "<text>"` | Custom review instructions |

### I/O Contract

**Input:**

- Git working directory with changes

**Output:**

- Codex review report (stdout)
- Exit code: 0 = success, non-0 = failure

## Output

```markdown
## Codex CLI Review Report
### Findings
#### P0/P1/P2
- [file:line] Issue → Fix recommendation
### Merge Gate
✅ Ready / ⛔ Blocked
```

## Verification

- [ ] Script executes without errors
- [ ] Codex explored the project (file references visible in output)
- [ ] Output includes issue classification

## Examples

```bash
# 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"
```

From sd0xdev/sd0x-harness, MIT.

Signals

Stars
194
Forks
26
Open issues
5
Last commit (this folder)
Mar 19, 2026 (7 months ago)
Last release
Oct 6, 2026 (22 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sd0xdev

Cite this page

codex-cli-review skill. Agent Mart. https://agentmart.dev/skills/sd0xdev-codex-cli-review (last updated 2026-10-24)