
codex-review
Get an INDEPENDENT second opinion from the OpenAI Codex CLI — a separate reviewer runtime run over the real diff, not Claude reviewing its own work. Verifies Codex is available, resolves the scope (branch, a commit, or uncommitted), writes a focused instruction file grounded in the actual change set, runs codex review with disk-read sandbox so it can verify findings against source, then summarizes them by priority. Keeps secrets and credential values out of the instruction file, treats findings as candidates to verify locally before any fix, and reports an explicit clean result rather than fabricating one. Use only when the user explicitly asks for a Codex review or cross-review.
- Installs
- 140
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/ulpi-io/skills --skill codex-review- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads codex-review automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Non-negotiable rules:
- Read the real diff before writing Codex instructions.
- Make the instructions specific to the changed areas and likely risks.
- Never pass secrets or credential values into review instructions.
- Carry forward exclusion lists on later rounds.
- Verify returned findings before acting on them. </EXTREMELY-IMPORTANT>
Codex Review
Inputs
$request: Optional scope hint such aslast commit,uncommitted,auth focus, orround 2
Goal
Use codex review to get an external review pass that:
- reads the right diff scope
- focuses on the actual risk areas in the change set
- returns structured findings instead of generic commentary
Step 0: Verify Codex availability
Check:
which codex- whatever minimal auth or environment check is needed for the current setup
If the CLI is unavailable or not authenticated, explain the blocker and stop.
Success criteria: Codex can be invoked successfully from the current repository.
Step 1: Resolve review scope
Determine whether to review:
- the full branch against its base
- uncommitted changes
- a specific commit
Read the real diff summary and changed-file list before building instructions.
If there is no diff, stop and say so explicitly.
Success criteria: The exact review target is explicit and backed by a real diff.
Step 2: Write focused review instructions
Build a small temporary instruction file that includes:
- what changed
- the most relevant risk areas
- any previously fixed issues to exclude on later rounds
- an instruction to verify findings against the actual code
- a compact expected output format
Keep the instructions concrete. Generic prompts produce weak reviews.
Success criteria: The instruction file is specific to the actual change set.
Step 3: Run codex review
Use the right invocation shape for the selected scope:
--base <branch>for branch review--uncommittedfor working-tree review--commit <sha>for a single commit
Key flags:
sandbox_permissions-- codex needs disk read access to verify findings:-c 'sandbox_permissions=["disk-full-read-access","disk-full-write-access","network-full-access"]'instructions-- point to the focused instruction file from Step 2:-c 'instructions="/tmp/codex-review-instructions.md"'--title "<description>"-- descriptive review title
Always capture stderr with 2>&1 (codex logs to stderr).
If the review is expected to be long-running, background execution is acceptable.
Success criteria: Codex runs against the intended scope and returns parseable output.
Step 4: Summarize findings
Report:
- review scope
- findings by priority
- file and line references when available
- explicit clean result when no material findings are returned
If the user wants fixes, verify each finding locally before changing code.
Success criteria: The user gets a clear, scoped review summary instead of raw CLI output.
Step 5: Iterate only with exclusions
On later rounds:
- add fixed findings to the exclusion section
- narrow the scope to new changes where possible
- avoid paying for repeated generic full-branch reviews
Success criteria: Follow-up rounds look for new issues rather than re-reporting old ones.
Guardrails
- Do not run this skill proactively; it is explicit-user-only.
- Do not put secrets, tokens, or private config values in the instruction file.
- Do not trust findings blindly without local verification.
- Do not use Codex review as a substitute for reading the diff first.
Output Contract
Report:
- the review scope
- the main focus areas given to Codex
- findings by priority with locations when available
- explicit clean result if nothing material was found
- whether a next round should exclude previously fixed issues
FAQ
What does the codex-review skill do?
Get an INDEPENDENT second opinion from the OpenAI Codex CLI — a separate reviewer runtime run over the real diff, not Claude reviewing its own work. Verifies Codex is available, resolves the scope (branch, a commit, or uncommitted), writes a focused instruction file grounded in the actual change set, runs codex review with disk-read sandbox so it can verify findings against source, then summarizes them by priority. Keeps secrets and credential values out of the instruction file, treats findings as candidates to verify locally before any fix, and reports an explicit clean result rather than fabricating one. Use only when the user explicitly asks for a Codex review or cross-review.
How do I install codex-review?
Run npx skills add https://github.com/ulpi-io/skills --skill codex-review in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/codex-review/ (personal) or .claude/skills/codex-review/ (project).
Which AI agents can use codex-review?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is codex-review safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains codex-review?
It is published by ulpi-io in ulpi-io/skills. It has 140 recorded installs.
More from ulpi-io/skills
frontend-design-ui-ux
ulpi-io/skills
Produce a distinctive, LOCKED design language plus an implementation-ready UX/UI spec, written to .ulpi/design/: a per-brief visual identity (palette, type, signature), the design system to build on, user flows and states, component briefs, and accessibility constraints. Commits to a bold aesthetic direction, bans AI-slop by name, and locks the identity so every screen and future session stays consistent. Can visit inspiration links with the browse skill to extract real design DNA. Ends with a build handoff that a delegated engineering agent implements — a DESIGN-SPEC skill that produces the spec, never production UI code. Use for new features, redesigns, or design-system work where the build should follow a locked spec.
laravel-filament
ulpi-io/skills
Open the skill to read its SKILL.md instructions.
git-merge-expert
ulpi-io/skills
Open the skill to read its SKILL.md instructions.
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.