codex-coop/SKILL.md
Co-operative workflow with OpenAI Codex CLI for plan review and pre-commit code review. Use this skill whenever Claude is about to present a plan to the user, propose an implementation approach, or commit code changes. Also triggers when the user mentions "codex", "co-op", "second opinion", "review with codex", or asks Claude to validate plans or changes before proceeding. This skill should fire before ANY plan is shown to the user and before ANY git commit — even if the user doesn't explicitly ask for Codex review.
npx skillsauth add sssemil/skills codex-coopInstall 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.
This skill defines a two-agent workflow where Claude collaborates with OpenAI Codex CLI to get a second opinion before presenting plans or committing code. The goal is to catch blind spots, validate approaches, and improve output quality by routing work through an independent reviewer before the human ever sees it.
codex CLI must be installed and available on PATHVerify availability before first use:
which codex && codex --version
If codex is not found, inform the user and skip the review steps (proceed normally without Codex review).
When: You have drafted a plan, implementation approach, architecture decision, or multi-step strategy — and are about to present it to the user for review.
Before showing the plan to the user, submit it to Codex for independent review:
codex exec """
review my plan and suggest improvements, flag risks, or confirm it looks good:
<INSERT FULL PLAN HERE>
"""
Read Codex's feedback carefully. Look for:
Integrate valid suggestions into your plan before presenting it to the user. You do not need to accept everything — use your judgment. Discard feedback that is incorrect, irrelevant, or lower quality than your original approach.
Present the improved plan to the user. Briefly note that you consulted Codex and incorporated feedback where relevant, so the user has full transparency into the process.
When: You have made code changes and are about to commit them (or present final changes to the user).
Before committing, ask Codex to review the uncommitted diff:
codex exec """
review the uncommitted changes in this repository. Flag bugs, style issues, missing error handling, or anything that looks off. If everything looks good, confirm.
$(git diff)
$(git diff --cached)
"""
Review Codex's suggestions against the actual changes.
Apply fixes for any legitimate issues found (bugs, missing error handling, typos, logic errors).
Ignore suggestions that are stylistic preferences without substance, incorrect, or would introduce regressions.
Then proceed with the commit or present the finalized changes to the user.
codex command fails, times out, or is unavailable, proceed without it — do not block the user's workflow. Mention that Codex review was skipped and why.tools
Autonomous Linear task worker that selects Linear issues, implements them with TDD, self-reviews, commits, pushes, and moves finished work to In Review.
tools
Systematically reviews a project subsystem-by-subsystem with resumable .brutal-workspace state and creates Linear review finding issues for CRITICAL and MAJOR problems.
development
Collaborative, multi-perspective feature planning with rigorous requirements interrogation. Creates Linear project documents and Linear issues instead of local workspace plan/task files.
documentation
Compact the current conversation into a handoff document for another agent to pick up.