plugins/coordinator.bak/skills/codex-review-gate/SKILL.md
Run a Codex code review as a second-opinion gate. Returns structured result with findings or graceful skip. Used by /bug-sweep and /workday-complete.
npx skillsauth add oduffy-delphi/coordinator-claude codex-review-gateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Internal skill invoked by /bug-sweep and /workday-complete to get an independent-model code review via the Codex plugin. Codex (GPT-5.4) provides a different model family's perspective, catching issues that intra-family reviewers may share blind spots on.
The calling command provides context:
"bug-sweep-fixes" or "workday-diff" — informational, for reportingorigin/main)true or false — if false, failure is non-blocking (the normal case)git diff --shortstat {base}...HEAD
If empty (no changes against base), report and return:
"Codex review gate: no diff against {base} — skipped."
Invoke /codex:rescue with the review task:
Review the diff between {base} and HEAD for code quality issues, bugs, security vulnerabilities, and adherence to project conventions. Focus on P0/P1 findings only. Return structured findings.
This routes through the rescue subagent, which calls the Codex companion CLI directly. The /codex:review command has disable-model-invocation and cannot be invoked via the Skill tool.
Use exit code only for success/failure discrimination:
Do not use string matching on output headers — that's fragile against plugin format changes.
On success:
On failure (graceful fallback):
"not installed" — Codex CLI not installed. Suggest: /codex:setup"not authenticated" — Codex CLI not logged in. Suggest: !codex loginrequired: false (the default): continue without blocking. The calling command's existing reviewer output stands alone.required: true: halt and report to PM for decision./code-health provide the primary review. Codex is a second opinion from a different model family — complementary, not a replacement.tools
Orient session — preflight, load context, choose work
documentation
Wrap up finished work — capture lessons, update docs
development
Triangulate plan-claim / code-reality / review oracles to classify each plan into DELIVERED+REVIEWED / DELIVERED-UNREVIEWED / PARTIAL / IN-FLIGHT / ABANDONED. Run after any crash or 'did we actually finish what we think we finished?' moment.
testing
Check for a published coordinator update and advise a preserve-by-default migration path — never a blind overwrite.