Run the CI Codex PR review locally against this branch's unpushed work (committed + uncommitted) before pushing. Same policy, model, and reasoning effort as the codex-pr-review GitHub action.
69
83%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Runs the exact same review Codex performs in CI (.github/workflows/codex-pr-review.yml),
but locally and scoped to work you have not pushed yet — so you catch what CI would flag
before the PR exists. Use this before git push on a non-trivial change.
Correspondence with CI — identical:
REVIEW.md (severity triage, public-surface checklist, AGENTS.md compliance, test coverage).gpt-5.6-sol, model_reasoning_effort="xhigh".## Codex Review, findings tagged P0 / P1 / P2 with file:line.Differences from CI — local-only:
main at the merge-base, including uncommitted changes (CI reviews a pushed PR diff).read-only (CI uses danger-full-access on an ephemeral runner). Codex reads the diff and files but cannot modify your working tree.codex exec is a separate cold process, so it does not anchor on the current chat session — the same reason local-review insists on a subagent.codex CLI >= 0.144.1 installed and authed (codex login or OPENAI_API_KEY). Older CLIs reject gpt-5.6-sol with "requires a newer version of Codex". Upgrade with npm install --global @openai/codex@0.144.1 (may need sudo for a global install). Keep this in sync with the pin in .github/workflows/codex-pr-review.yml.git fetch the base ref if it's stale, so the merge-base is accurate.bash .agents/skills/local-review-codex/run.sh # review vs main (default)
bash .agents/skills/local-review-codex/run.sh <base> # review vs a different base refInvoke with bash (or run the executable directly) — the script needs Bash for
set -o pipefail; sh is Dash on Debian/Ubuntu and would fail. If main isn't a
local branch (e.g. a fresh single-branch checkout), the runner falls back to
origin/main automatically.
The script computes BASE_SHA = git merge-base HEAD <base>, feeds Codex REVIEW.md plus a
diff context pointing at git diff <BASE_SHA> (which folds in uncommitted edits), and prints
the review. It writes only temp files — nothing lands in the working tree.
Print the Codex output verbatim. Do not re-summarize or filter it — the value of a cold Codex pass is surfacing what the current session would rationalize away. Then decide with the user whether to address findings before pushing.
For a Claude-native review instead, use local-review (branch-diff-reviewer subagent). This
skill is the Codex counterpart; run both for independent perspectives.
33d2845
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.