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
PM-GATED. Hold this repo's PM comms channel: gate what reaches the PM, reserve the push channel, carry rulings back as records.
tools
Census/launch/teardown lifecycle for a repo's declared app under coordinator.local.md's app_session config -- complementary to the platform's built-in run skill, not competing with it.
testing
Reconcile a self-description draft against the ratified one; never auto-commits.
development
Bounded spike — fuse web research with local study to a verdict.