with one click
codex-review
// Codex code review closeout: local dirty changes, PR branch vs main, parallel tests.
// Codex code review closeout: local dirty changes, PR branch vs main, parallel tests.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | codex-review |
| description | Codex code review closeout: local dirty changes, PR branch vs main, parallel tests. |
Run Codex's built-in code review as a closeout check. This is code review (codex review), not Guardian auto_review approval routing.
Use when:
Dirty local work:
codex review --uncommitted
Branch/PR work:
git fetch origin
codex review --base origin/main
Do not pass an inline prompt with --base; current CLI rejects --base + [PROMPT] even though help text is ambiguous. If custom instructions are needed, run the plain base review first, then do a local/manual follow-up pass.
If an open PR exists, use its actual base:
base=$(gh pr view --json baseRefName --jq .baseRefName)
codex review --base "origin/$base"
Committed single change:
codex review --commit HEAD
Format first if formatting can change line locations. Then it is OK to run tests and review in parallel:
scripts/codex-review --parallel-tests "<focused test command>"
Tradeoff: tests may force code changes that stale the review. If tests or review lead to code edits, rerun the affected tests and rerun review until no accepted/actionable findings remain.
Codex review is usually noisy. Default to a subagent filter when subagents are available. Ask it to run the review and return only:
Run inline only for tiny changes or when subagents are unavailable.
Bundled helper:
~/.codex/skills/codex-review/scripts/codex-review --help
If installed from agent-scripts, path is:
/Users/steipete/Projects/agent-scripts/skills/codex-review/scripts/codex-review --help
The helper:
--uncommitted firstgh pr view worksorigin/main for non-main branches--output or CODEX_REVIEW_OUTPUT is set--dry-run and --parallel-testsInclude: