codex-review
Skill by etherfunlab
Runs codex exec from the shell to review a branch, PR or diff with a hand-written, repo-aware prompt. Meant for developers who want a second model family to check their changes.
Install codex-review
Built from the published package, never by AI.
git clone --depth 1 https://github.com/etherfunlab/workflow /tmp/workflow && mkdir -p ~/.claude/skills && cp -r /tmp/workflow/modules/review/agent/skills/codex-review ~/.claude/skills/codex-reviewRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/etherfunlab/workflow /tmp/workflow && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/workflow/modules/review/agent/skills/codex-review ~/.gemini/antigravity-cli/skills/codex-reviewAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
codex-review is an agent skill for reviewing a branch, pull request or diff with the codex CLI. When asked to review with codex, the assistant runs codex exec from the shell in read-only mode, using a prompt it writes itself. That prompt includes the repo's stack facts, the intended change, and numbered review targets based on the diff's own invariants. The report is read from an output file.
The skill also documents failure modes that make codex look dead or produce no report, such as stdin hangs and piped stdout. It includes an optional fallback that sends the same prompt as one OpenRouter GPT call, used only when codex hits its usage limit. It is for developers who want a reviewer model from a different family than the one that wrote the change.
Written from the project's SKILL.md and checked against it.
What it can do
- Repo-aware codex reviewRuns codex exec in read-only mode against a repo directory with a custom prompt.
- Silent failure guidanceLists stdin, stdout, foreground and approval settings that cause codex to hang or write no report.
- Prompt structureGuides the prompt into stack facts, intended change, numbered review targets and output rules.
- OpenRouter fallbackSends one GPT call through openrouter_review.py when codex is out of quota.
- Model checkLists OpenRouter models so the user can pick a newer openai/gpt model with --model.
What you need
- codex CLI with codex exec
- OpenRouter API key (fallback only)
- Python 3 (for the fallback script)
- Git repository with a diff to review
Try asking
- Review this branch with codex
- Codex review PR 42 against main
- Review the diff in src/ with codex and list concrete defects
Good to know
- The OpenRouter fallback runs only when codex exits on a usage limit.
- The OpenRouter fallback is billed per call.
- codex cannot explore the repo, so needed context must be in the prompt.
- The reviewer model must differ from the model that wrote the change.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: modules/review/agent/skills/codex-review/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to codex-review
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
codex-review: common questions
Does this use a subagent of the same model instead of codex?
No. The source says not to substitute a subagent of the assistant's own model or a generic built-in review command.
When does the OpenRouter fallback run?
Only when codex exec exits on a usage limit and the output file is never written. The source says it is not used otherwise.
Why does codex sometimes produce no report?
The source lists causes such as stdin left open, piped stdout, foreground-less buffered output, and a read-only run without approval_policy set to never.
How do I install codex-review?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is codex-review free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is codex-review safe to use?
It scores 68 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to codex-review?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
