codex-review
Skill247 starsChanged 4 months agoMITView on GitHub
Get an independent code review from OpenAI Codex (GPT-5) on uncommitted changes, a branch diff, a PR, or a specific module — returns findings grouped by severity with file:line references. Use when the user says "review this", "review my changes", "check this PR", "what did I miss", or before they commit or merge something substantial.
48 other projects use a version of this.
Adopted by
Most recently taken up by
- connorch/skillstheir own version, first seen Oct 5, 2026
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- ryanportfolio/Harness-Firmwaretheir own version, first seen Oct 3, 2026
- ryanportfolio/Corewise.Academytheir own version, first seen Oct 3, 2026
- ryanportfolio/HarnessFirmware.comtheir own version, first seen Sep 29, 2026
- mia-cx/skillstheir own version, first seen Sep 29, 2026
Used with
Projects with it also use addskill, advocate and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ryanportfolioSkilladdskill
Create, import, update, or install repository or personal skills; includes runtime ownership, resources, and discovery validation.
Also in 3 projects that use this
ryanportfolioSkilladvocate
Use only when the user explicitly invokes $advocate to challenge a change just made before it lands. Do not trigger from natural-language requests.
Also in 3 projects that use this
- +10 more from ryanportfolio
Other versions48 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 48
- chaseai-yt/claudex-loop★ 2.7ksame name
- alinaqi/maggy★ 707same name
- ai-analyst-lab/ai-analyst★ 304same name
- suyuan2022/suyuan-skill★ 265same name
- sd0xdev/sd0x-harness★ 191same name
- oborchers/proqi★ 42same name
- iamneilroberts/claude-skills★ 26same name
- TSS-Blue-AI-Lab/ai-lab-agent-skills★ 25same name
- antorsae/dual-agent★ 17same name
- BenedictKing/benedictking-skills★ 14same name
38 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- ask-codexSkill
- asset-setSkill
- codex-delegateSkill
- edit-imageSkill
- generate-imageSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Check the size before sending.
- Very specific: line 57
Never pass -s workspace-write for a review.
- Distinctive: line 58
Ask the user to commit or stash unrelated work first, so the diff is clean.
“Common” is measured: kept by at least 6 in 10 of the 42 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code review by Codex
An independent reviewer that hasn't seen this conversation is genuinely useful: it won't inherit your assumptions about the change. Use it as a second pass, not a replacement for your own read.
Pick the scope
git -C <repo> diff # uncommitted, unstaged
git -C <repo> diff --staged # staged
git -C <repo> diff main...HEAD # whole branch vs main
git -C <repo> diff --stat main...HEAD # size check firstCheck the size before sending. Under ~1500 changed lines, pipe the diff in directly. Larger than that, point Codex at the files instead and let it read selectively — a giant pasted diff degrades the review.
Run it
Small or medium change — pipe the diff as the prompt body:
{ echo "Review this diff as a senior engineer on this codebase. Report findings grouped by severity (Critical / Major / Minor / Nit). For each: file:line, what's wrong, and the concrete fix. Focus on correctness, security, error handling, race conditions, and missed edge cases. Skip style unless it hides a bug. If you find nothing at a severity level, say so rather than inventing findings."; echo; git -C <repo> diff main...HEAD; } | codex-run -C <repo> --timeout 1200 -Large change or a whole module — let Codex read the tree itself:
codex-run -C <repo> --timeout 1800 \
"Review the changes on this branch versus main (run git diff main...HEAD yourself, and read the surrounding files for context). Report findings grouped by severity (Critical/Major/Minor/Nit) with file:line and a concrete fix for each. Prioritise correctness, security, error handling, and missed edge cases."Both run read-only — Codex cannot modify the working tree.
Handling the results
- Verify each finding before repeating it. Open the cited file:line. Codex reviews without conversation context and will sometimes flag intentional behaviour, or cite a line that doesn't say what it claims. A review that forwards false positives is worse than no review.
- Present it as three groups: confirmed findings (with your verification), findings you checked and disagree with (say why), and anything you couldn't verify.
- Don't auto-fix. Show the user the findings and let them choose. If they ask for fixes, apply them yourself — you have the conversation context.
- Attribute clearly: these are Codex's findings, and your assessment of them.
Rules
- Bash timeout ≥ 1200000 ms (20 min) for anything branch-sized.
- Never pass
-s workspace-writefor a review. - Ask the user to commit or stash unrelated work first, so the diff is clean.
- One review call per scope; spends the user's ChatGPT plan quota.
For a review that also needs follow-up investigation across the repo, use the
codex-reviewer subagent instead so the exploration stays out of this context.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

