Cmd. /review
Ask Codex to review the current working tree.
Key takeaways
- Ask Codex to review the current working tree.
- Check the input surface and availability before using the examples below.
Purpose
Ask Codex to review the current working tree.
/reviewAvailability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Current reference |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Codex CLI 0.155.1 |
The installed command menu and account or organization settings determine availability.
Examples
/reviewWhen to use it
- Run
/reviewafter implementation and before committing. - Follow with
/diffwhen you need to inspect the exact changed lines behind a finding.
Choosing related commands
| Command | Difference | Choose It When |
|---|---|---|
/review | Reviews risk and correctness | You need a code-review pass |
/diff | Shows exact changes | You need to inspect the patch |
/status | Shows session state | You need context before review |
Effects and persistence
Starts a dedicated review of changes. Decide which findings to apply after inspecting the review.
/review asks Codex to review local working tree changes, focusing on behavior changes, risks, and
missing tests.
Cautions
- Review findings are not a substitute for running tests.
- Make sure user edits and Codex edits are understood in a dirty worktree.
Official sources
Complete command list · Verification scope · History for this command