Skip to content
Agentmart
Submit a tool

codex-coop

Co-operative workflow with OpenAI Codex CLI for plan review and pre-commit code review.

Skill by sssemil

IndexedMIT★ 2
Write a review

Chalk Labs

Need help deploying codex-coop?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sssemil-codex-coop

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

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.

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/codex-coop

What's inside

Skill name
codex-coop
Description
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.
License
MIT
Instructions
84 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Co-op with Codex

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.

## Prerequisites

- `codex` CLI must be installed and available on PATH
- A working OpenAI API key configured for Codex

Verify availability before first use:

```bash
which codex && codex --version
```

If `codex` is not found, inform the user and skip the review steps (proceed normally without Codex review).

---

## Workflow 1: Plan 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:

```bash
codex exec """
review my plan and suggest improvements, flag risks, or confirm it looks good:

<INSERT FULL PLAN HERE>
"""
```

### How to handle the response

1. **Read Codex's feedback carefully.** Look for:
   - Missed edge cases or failure modes
   - Better ordering of steps
   - Unnecessary complexity that can be removed
   - Missing dependencies or prerequisites
   - Alternative approaches worth considering

2. **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.

3. **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.

---

## Workflow 2: Pre-Commit Code Review

**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:

```bash
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)
"""
```

### How to handle the response

1. **Review Codex's suggestions** against the actual changes.

2. **Apply fixes** for any legitimate issues found (bugs, missing error handling, typos, logic errors).

3. **Ignore suggestions** that are stylistic preferences without substance, incorrect, or would introduce regressions.

4. **Then proceed** with the commit or present the finalized changes to the user.

---

## General Rules

- **Always run Workflow 1 before presenting a plan.** Do not skip this step, even for small plans — a quick "looks good" confirmation from Codex is still valuable.
- **Always run Workflow 2 before committing.** This is your last line of defense before code goes in.
- **Be transparent.** When presenting to the user, mention that Codex reviewed the work. If Codex caught something meaningful, briefly note what changed.
- **Handle failures gracefully.** If the `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.
- **Don't loop endlessly.** One round of Codex review per plan or commit is sufficient. Do not re-submit to Codex after incorporating feedback unless the plan changed substantially.

From sssemil/SKILLS, MIT.

More from sssemil/SKILLS

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Jul 22, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sssemil

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get codex-coop running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying codex-coop?

CallGet help
Cite this page

codex-coop skill. Agent Mart. https://agentmart.dev/skills/sssemil-codex-coop (last updated 2026-10-24)