codex-review
Installation
SKILL.md
Codex CLI Code Review
Use the codex review command to get an AI-powered code review of the current changes.
Workflow
1. Check codex CLI availability
Run which codex to confirm it's installed. If not found, tell the user:
"The codex CLI is not installed. Install it with npm install -g @openai/codex or see https://github.com/openai/codex"
2. Determine what to review
Pick the right flag based on context:
- Staged changes only (default before a commit):
codex review - All local changes (staged + unstaged + untracked):
codex review --uncommitted - Changes against a branch:
codex review --base <branch> - A specific commit:
codex review --commit <sha>