codex-cross-review
Skill6 starsChanged 8 months agoMITView on GitHub
Use when the user wants Codex to review Claude's work, cross-validate PRs, or run high-volume PR review with dual-model verification using the codex-plugin-cc plugin.
- Installs packages
In this repository64 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- api-backward-compatibilitySkill
- api-design-standardsSkill
- api-versioningSkill
- database-designSkill
- distributed-systemsSkill
- observability-by-defaultSkill
- performance-budgetsSkill
- resilience-patternsSkill
- twelve-factor-appSkill
- dispatching-parallel-agentsSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- subagent-driven-developmentSkill
- architecture-awarenessSkill
- intent-to-specSkill
- project-diagnosisSkill
- using-shipworthySkill
- systematic-debuggingSkill
- documentation-as-codeSkill
- accessibilitySkill
- frontend-standardsSkill
- retrospectiveSkill
- writing-skillsSkill
- ci-cd-awarenessSkill
- context-managerSkill
- environment-setupSkill
- feature-flag-disciplineSkill
- finishing-a-development-branchSkill
- guardrail-audit-logSkill
- incident-responseSkill
- mcp-integrationSkill
- migration-strategiesSkill
- production-readinessSkill
- scope-creep-detectionSkill
- session-memorySkill
- slo-sli-definitionSkill
- tech-debt-trackingSkill
- using-git-worktreesSkill
- zero-downtime-migrationsSkill
- brainstormingSkill
- decision-frameworksSkill
- design-documentsSkill
- executing-plansSkill
- writing-plansSkill
- code-complexitySkill
- confidence-based-strictnessSkill
- error-handling-patternsSkill
- feedback-driven-adaptationSkill
- quality-gatesSkill
- response-schema-validationSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- adaptive-securitySkill
- bias-detectionSkill
- compliance-awarenessSkill
- container-securitySkill
- dependency-managementSkill
- pii-detectionSkill
- secrets-managementSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Before invoking any /codex:* command, check whether the plugin is available.
- Distinctive: line 44
No environment variables needed — the Codex CLI manages its own credentials.
- Distinctive: line 48
After Claude completes a feature — Codex reviews for blind spots
- Distinctive: line 49
Before merging any PR — structured review with severity-rated findings
- Distinctive: line 51
When the user wants a second opinion from a different model
- Distinctive: line 52
Before shipping to production — final cross-validation gate
- Distinctive: line 58
After Claude finishes implementing:
- Distinctive: line 89
When reviewing multiple PRs (e.g., from a team):
- Distinctive: line 155
When Claude is stuck or needs deeper investigation:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Codex Cross-Review
Optional capability. This skill requires the
codex-plugin-ccClaude Code plugin and the OpenAI Codex CLI. All other Shipworthy skills work independently — this adds dual-model review on top. Users without Codex installed lose nothing; they simply use Claude's built-incode-revieweragent viashipworthy:requesting-code-reviewinstead.
When activating, output:
⚓ shipworthy › skill:
codex-cross-review— dispatching Codex for cross-model review
Availability Check
Before invoking any /codex:* command, check whether the plugin is available. If /codex:setup is not recognized or reports Codex is not installed:
- Inform the user that this skill requires the
codex-plugin-ccplugin - Offer setup guidance (see Prerequisites below)
- Fall back to Claude's built-in
code-revieweragent — it covers the same checklist without Codex
This skill never blocks work. If Codex is unavailable, the review still happens via Claude's own agent.
Prerequisites
Requires two things — the Codex CLI and the Claude Code plugin:
# 1. Install and authenticate the Codex CLI (one-time)
npm install -g @openai/codex
codex login # browser OAuth (ChatGPT account, incl. Free tier)
# OR: codex login --with-api-key # OpenAI API key
# OR: codex login --device-auth # headless/SSH environments
# 2. Install the Claude Code plugin (one-time)
/plugin marketplace add openai/codex-plugin-cc
/plugin install codex@openai-codex
/reload-plugins
# 3. Verify
/codex:setupNo environment variables needed — the Codex CLI manages its own credentials.
When to Use
- After Claude completes a feature — Codex reviews for blind spots
- Before merging any PR — structured review with severity-rated findings
- High-volume PR review — batch review workflow across multiple PRs
- When the user wants a second opinion from a different model
- Before shipping to production — final cross-validation gate
Cross-Validation Workflow
Pattern A: Post-Implementation Review (Single PR)
After Claude finishes implementing:
- Synchronous review for small changes:
/codex:review --base main --wait - Background review for larger changes (non-blocking):
Then poll with/codex:review --base main --background/codex:statusand fetch with/codex:result. - Adversarial review to challenge design decisions:
/codex:adversarial-review --base main --wait - Address findings by severity:
- Critical: Fix immediately before merge
- High: Fix before merge
- Medium: Fix or document as accepted risk
- Low: Address in follow-up or dismiss with rationale
- Re-run review after fixes:
/codex:review --base main --wait
Pattern B: High-Volume PR Review
When reviewing multiple PRs (e.g., from a team):
- For each PR branch, run background reviews in parallel:
git checkout pr-branch-1 /codex:review --base main --background git checkout pr-branch-2 /codex:review --base main --background - Poll all jobs:
/codex:status --all - Fetch results per job:
/codex:result <job-id> - Triage findings across PRs by severity — prioritize Critical and High across all PRs before addressing Medium/Low.
Pattern C: Claude + Codex Dual Review
For maximum confidence, run both Claude's code-reviewer agent and Codex review:
- Dispatch Claude's code-reviewer agent via
shipworthy:requesting-code-review - Simultaneously run:
/codex:adversarial-review --base main --background - Compare findings — items flagged by both models are highest priority
- Items flagged by only one model deserve extra scrutiny
- Synthesize a unified review with all unique findings
Pattern D: Review Gate (Automated)
Enable the stop-hook review gate so Codex automatically reviews before session end:
/codex:setup --enable-review-gateThis runs a targeted Codex review on every Stop event. If findings are critical, the session blocks until they are resolved. Disable when not needed:
/codex:setup --disable-review-gateCodex Review Output Schema
Reviews return structured JSON:
{
"verdict": "approve | needs-attention",
"summary": "One-line summary",
"findings": [
{
"severity": "critical | high | medium | low",
"title": "Finding title",
"body": "Detailed description",
"file": "path/to/file",
"line_start": 42,
"line_end": 50,
"confidence": "high | medium | low",
"recommendation": "Suggested fix"
}
],
"next_steps": ["Action items"]
}Delegation to Codex
When Claude is stuck or needs deeper investigation:
/codex:rescue investigate the flaky test in test_upload.pyPoll with /codex:status, fetch with /codex:result, and resume with /codex:rescue --resume.
Integration with Shipworthy Skills
- Invoke
shipworthy:requesting-code-reviewfor Claude-side review - Invoke
shipworthy:receiving-code-reviewto process Codex findings - Invoke
shipworthy:quality-gatesafter all review findings are addressed - Invoke
shipworthy:verification-before-completionas the final step
Graceful Degradation
This skill adapts to what's available:
| Environment | Behavior |
| Claude Code + Codex plugin + Codex CLI | Full dual-model review (all patterns) |
| Claude Code + Codex CLI (no plugin) | Guide user to install plugin, fall back to Claude reviewer |
| Claude Code only (no Codex) | Fall back to shipworthy:requesting-code-review (Claude's code-reviewer agent) |
| Codex standalone (via adapter) | User reads this skill as documentation; commands don't apply |
| Other tools (Cursor, Copilot, etc.) | Not applicable — use their respective adapters |
The fallback is always Claude's built-in code-reviewer agent, which covers the same checklist (plan alignment, architecture, quality, security, testing, performance, type safety).
Anti-Patterns
- Running Codex review on uncommitted changes without a clear diff scope
- Auto-applying all Codex suggestions without human judgment
- Skipping Claude's own review and relying solely on Codex
- Leaving the review gate enabled during exploratory/prototyping sessions
- Ignoring low-confidence findings without reading them first
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

