Command reference ยท Codex CLI
codex review
Runs a review of changes via the CLI.
codex review reviews code changes and supports the flags --uncommitted, --base, --commit, and --title to determine which changes are considered and how the review is titled.
โ WHEN TO USE IT?
Review not-yet-committed changes before committing
codex review --uncommitted
Review changes against a specific branch
codex review --base main
โ WHEN NOT TO?
The review should be part of a running interactive session
codex review is a standalone CLI invocation outside a running TUI session.
Better: Use /review instead within a running session
SOURCES
- Codex CLI Doku: Reference โ developers.openai.com