Codex Review
AI-powered code review via the codex CLI. Runs non-interactively.
Uncommitted Changes
codex review --uncommitted
Against a Base Branch
codex review --base main
codex review --base develop
Specific Commit
codex review --commit <sha>
codex review --commit HEAD~1
Custom Prompt
Cannot be combined with --uncommitted, --base, or --commit.
codex review "Focus on security issues and error handling"
Options
- Use
--titleto add context when reviewing feature branches or PRs - Run via the Bash tool (
timeout: 3600000, do not setrun_in_background)