
Codex Review
- 400 installs
- 954 repo stars
- Updated July 2, 2026
- jezweb/claude-skills
codex-review is a code-review skill that runs structured Codex-assisted analysis on diffs and pull requests for developers who need bug, style, test-gap, and risk findings before merge.
About
codex-review is a jezweb/claude-skills module that structures Codex-assisted review passes over git diffs and pull requests before merge or release. The skill organizes findings around bugs, style inconsistencies, missing tests, and risky behavioral changes so reviewers get a consistent checklist instead of ad-hoc comments. Developers reach for codex-review when a PR is large, touches critical paths, or needs a second pass beyond human skim. It fits Claude Code and Codex workflows where the agent already has repository context and can read patch files. The skill complements manual review and CI gates rather than replacing security scanners or production monitoring. Invoke it on open PRs, pre-release branches, or local diffs when structured feedback must land before approval.
- Diff-focused review prompts
- Severity-ranked findings
- Test and edge-case checks
- Actionable fix suggestions
- PR-ready review summaries
Codex Review by the numbers
- 400 all-time installs (skills.sh)
- +26 installs in the week ending Aug 2, 2026 (Skillselion tracking)
- Ranked #260 of 1,352 Code Review & Quality skills by installs in the Skillselion catalog
- Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/jezweb/claude-skills --skill codex-reviewAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 400 |
|---|---|
| repo stars | ★ 954 |
| Last updated | July 2, 2026 |
| Repository | jezweb/claude-skills ↗ |
How do you run Codex review on a pull request?
Run structured Codex-assisted reviews on diffs or PRs to catch bugs, style issues, missing tests, and risky changes before merge or release.
Who is it for?
Developers using Codex or Claude Code who want structured second-pass PR feedback on bugs, style, tests, and risky diffs before merge.
Skip if: Teams needing production runtime monitoring, penetration testing, or reviews without git diff or PR context.
When should I use this skill?
A pull request or local diff is ready for pre-merge review and needs structured Codex-assisted bug, style, and test-gap analysis.
What you get
Structured review findings on bugs, style, test coverage gaps, and risky diff hunks before merge approval.
- structured PR review findings
- bug and test-gap report
Files
Codex Review
Run an independent code review via the OpenAI Codex CLI (codex review). The value is a second opinion from a different model family than the one that wrote the code — Codex catches things Claude misses due to author bias.
Complements brains-trust (generic multi-model opinions). This skill is specialised: git-aware, uses a tuned review prompt, saves structured output.
When to Use
- After a meaningful change, before committing or shipping
- Before opening a PR, to self-review with an independent reviewer
- When something feels off but you can't articulate what
- Periodic whole-app reviews for projects in active development
- When the user explicitly asks for an "independent" or "second opinion" review
Do NOT use for:
- Trivial changes (typos, one-line fixes)
- Research questions or architecture discussions — use
brains-trustinstead - Auto-fixing issues — this is advisory only
Preflight
1. Confirm Codex CLI is installed:
which codexIf missing: tell the user to install it (brew install codex on macOS, or see https://github.com/openai/codex) and stop. Do not continue.
2. Confirm auth: the first codex review call will fail clearly if not logged in. If that happens, instruct the user to run codex login and stop.
Determine scope
Pick the scope flag based on what the user asked for:
| User intent | Flag |
|---|---|
| "codex review" / "review the app" / "full review" / default | no flag (reviews whole app at current HEAD) |
| "review my changes" / "review what I just did" / "review uncommitted" | --uncommitted |
| "review this branch vs main" / "review the PR" | --base main (or the branch they name) |
| "review commit abc123" | --commit abc123 |
Default is whole-app review. A bare "codex review" with no qualifier means review the entire codebase at HEAD — not just uncommitted changes. Only use --uncommitted if the user specifically refers to their recent/uncommitted work.
If ambiguous, ask once. Don't guess on commits or branches.
Run the review
The canonical review prompt lives in prompt.md next to this skill. Pipe it via stdin to avoid shell escaping:
mkdir -p .jez/reviews
TS=$(date +%Y-%m-%d-%H%M)
OUT=".jez/reviews/codex-${TS}.md"
SKILL_DIR="$(dirname "$0")" # or use the skill's absolute path
# Example: uncommitted changes
cat "${SKILL_DIR}/prompt.md" | codex review --uncommitted - 2>&1 | tee "$OUT"Other scopes:
# Vs base branch
cat prompt.md | codex review --base main - 2>&1 | tee "$OUT"
# Specific commit
cat prompt.md | codex review --commit abc123 - 2>&1 | tee "$OUT"
# Current HEAD (no scope flag)
cat prompt.md | codex review - 2>&1 | tee "$OUT"codex review can take several minutes on a large diff. Let it run.
Summarise for the user
After Codex finishes:
1. Print the output path: Report saved to .jez/reviews/codex-<timestamp>.md 2. Read the saved report and extract the top findings (anything under Critical and High) 3. Show them inline in the chat, with file:line references intact 4. Offer to action specific findings: "Want me to fix the SQL injection in auth.ts:42?"
Rules
- Advisory only. Never auto-apply Codex's suggestions. Read the findings, discuss with the user, fix with their approval.
- Don't leak Claude's reasoning into the prompt. The
prompt.mdfile is deliberately neutral — Codex reviews the code, not Claude's narrative about the code. Independence is the whole point. - Save to `.jez/reviews/`, never
.claude/(protected directory). - One report per run. Don't overwrite — the timestamp makes each run unique so the user can compare.
- Report what Codex actually found. Don't soften, editorialise, or skip findings you disagree with. If you think Codex is wrong about something, say so as your own opinion after showing what Codex said.
Verification
The skill is working if:
- Preflight correctly detects a missing
codexbinary - The right scope flag is chosen based on user intent
- The report file appears in
.jez/reviews/with a sensible timestamp - The file contains severity-prioritised findings with file:line refs
- Claude surfaces the top findings without auto-fixing them
Review the entire app for bugs, regressions, edge cases, security issues, data consistency problems, UX/state bugs, performance risks, and testing gaps. Treat this as a code review.
Prioritize findings by severity (critical / high / medium / low / nit), include file/line references for every finding, list open questions and assumptions you had to make, and mention what you verified with typecheck, lint, and tests (and what you couldn't verify).
Be concrete. Prefer "auth.ts:42 — SQL query concatenates user input, vulnerable to injection" over "watch out for SQL injection". If something looks wrong but you're not sure, say so and explain what you'd need to confirm it.
Structure the output as:
Summary
One-paragraph overview: overall health, biggest concerns, what's solid.
Critical
Issues that break things, lose data, or expose security holes. Each: file:line, what's wrong, why it matters, suggested fix.
High
Bugs, regressions, meaningful edge cases.
Medium
Code quality issues that will bite later — error handling gaps, fragile patterns, missing validation.
Low / Nits
Style, naming, minor improvements.
Testing gaps
What should be tested but isn't. What existing tests might miss.
Open questions & assumptions
What you weren't sure about. What you assumed. What the author should confirm.
Verification performed
What you ran (typecheck, lint, tests) and the results. What you couldn't run and why.
Related skills
FAQ
What does codex-review check in a pull request?
codex-review runs structured Codex-assisted analysis on diffs and PRs to flag bugs, style issues, missing tests, and risky changes. Output is organized review findings meant for triage before merge or release, not automatic merges.
When should codex-review run?
codex-review fits pre-merge and pre-release moments when a git diff or open pull request needs a consistent second pass for defects, style drift, test gaps, and behavioral risk beyond a quick human skim.