codex-review
Skill9 starsChanged 8 months agoMITView on GitHub
Send plans, code, or approaches to OpenAI Codex CLI for independent review.
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
- Sateezg/codex-bridge★ 247same 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
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 repository12 other files it gives its agents.
- cost-reviewSkill
- coverage-reviewSkill
- db-reviewSkill
- functionalSkill
- learnifySkill
- mermaidSkill
- object-orientedSkill
- perf-reviewSkill
- proofreadSkill
- roast-reviewSkill
- testifySkill
- test-runnerSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 42 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
When invoked, send the relevant context — plans, approaches, code, or any combination — to codex CLI for an independent review.
- Distinctive: line 58
Run codex: Write the full prompt to a temporary file, then pipe it to the helper script:
- Very specific: line 83
Always use echo "..." | skills/codex-review/run-codex.sh — never use heredocs (indentation causes hangs)
“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
Codex Review
When invoked, send the relevant context — plans, approaches, code, or any combination — to codex CLI for an independent review.
Files and instructions: $ARGUMENTS
What to review
This skill covers both code and plans/approaches:
- Plans/Approaches: Architecture decisions, implementation strategies, proposed approaches before starting work
- Code: Code you've written, modified, or are considering changing — diffs, file contents, implementation details, proposed changes
- Both together: A plan alongside the code that implements it
Adapt what you send based on what the user asks Codex to review.
How to interpret arguments
The arguments are free-form and flexible. They may contain:
- Natural language describing what to review: "review my current plan", "review the last commit"
- File references alongside instructions:
@auth.ts review this file for security issues - Scope instructions: "review the approach and the implementation together"
Parse the arguments to determine what context to gather and send to Codex.
Examples
/codex-review review my current plan— review the plan from the current conversation/codex-review review the code I just wrote— review recent code changes/codex-review review the approach and the implementation together— review both plan and code/codex-review @auth.ts review this file for security issues— review a specific file with focus/codex-review review the last commit— review the most recent commit diff
How to proceed
- Gather context: Collect the relevant material to send for review based on what the user asked. Match the scope of what you send to the scope of the ask — if the user points at a single function, send that function and its immediate dependencies, not the entire file history or conversation. A quick opinion needs adequate context; a full architecture review needs more.
- For a targeted question (specific file, function, or snippet): Send only the relevant code and enough surrounding context for Codex to understand it (e.g. types, imports, direct callers). Skip git history, conversation recaps, and unrelated files
- For plan/approach review: Include the plan text or approach description, plus the key files it affects (entry points, schemas, interfaces) — not the entire codebase it touches
- For code review of recent changes: Include the diff (
git diff) and a brief description of intent — not every file in the repo - For broad reviews ("review the architecture", "review everything I've done"): Include more context, but summarise where possible rather than dumping raw content
- Build the prompt: Construct a clear prompt for Codex that includes:
- The context of the project and what the user is trying to achieve
- The code, plan, approach, or combination thereof
- A request to review, identify potential issues, suggest improvements, and flag anything missing
Run codex: Write the full prompt to a temporary file, then pipe it to the helper script:
echo "Review the following <code/plan/approach> for a software engineering task and provide feedback. ## Project Context <project context> ## What to Review <code, plan, approach, or combination> ## Please provide: 1. Overall assessment 2. Potential issues or risks 3. Suggested improvements 4. Anything missing or overlooked ## Output rules - Be concise - Do not echo back the entire code or plan you were given - Short code snippets are fine to illustrate a point, but never include entire files - If you explore the codebase, summarise what you found — do not paste what you read" | skills/codex-review/run-codex.shImportant:
- Always use
echo "..." | skills/codex-review/run-codex.sh— never use heredocs (indentation causes hangs) - The script checks that
codexis installed and exits with a clear error if not - Set a reasonable timeout (use Bash timeout of 300000ms)
- Always use
- Report back: Present the Codex feedback to the user clearly:
- Codex's overall assessment
- Any concerns or suggestions raised
- Your own response to the feedback (agree, disagree, or need to discuss)
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.

