Cmd Codex Review Plan

Get a second opinion on the current plan from Codex (codex exec headless mode) before leaving plan mode. Pipes the plan to codex, captures critique and gap analysis, then proposes a revised plan with an explicit changelog of what changed and what was rejected. Triggers on "/cmd-codex-review-plan", "review plan with codex", "ask codex about this plan", or before approving auto mode on an exit-plan prompt.

9 starsSoftware Development Plugin marketplace

Install

Claude Code plugin
/plugin marketplace add Olshansk/agent-skills

The repo is a Claude Code plugin marketplace. Run /plugin afterwards to pick the plugin that includes this skill.

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add Olshansk/agent-skills --skill cmd-codex-review-plan
Manual install
git clone --depth 1 https://github.com/Olshansk/agent-skills.git /tmp/agent-skills
mkdir -p ~/.claude/skills
cp -r /tmp/agent-skills/skills/cmd-codex-review-plan ~/.claude/skills/cmd-codex-review-plan

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Codex Review Plan 

Use `codex exec` as an independent reviewer on the plan currently in scope. Codex sees only the plan (no conversation history), so its critique is a genuine outside perspective — useful right before exiting plan mode and switching to auto execution.

- [When to use](#when-to-use)
- [Instructions](#instructions)
- [Codex prompt](#codex-prompt)
- [Output format](#output-format)
- [Notes](#notes)

## When to use

- Right before approving "Yes, and use auto mode" on an `ExitPlanMode` prompt
- Any time the user says "review plan with codex", "second opinion from codex", or `/cmd-codex-review-plan`
- After a non-trivial plan has been drafted and the user wants an outside critique before execution

## Instructions

### 1. Locate the plan

Use the most recent plan in conversation context — typically the body of the last `ExitPlanMode` call, or the latest plan markdown the user is reviewing. If multiple candidates exist, ask the user which one. **Do not invent or summarize** — pass the plan verbatim.

### 2. Write the plan to a tempfile

Codex reads from stdin reliably only if the input is a file or a piped heredoc. Use a tempfile to avoid quoting issues:

```bash
PLAN_FILE=$(mktemp -t codex-plan.XXXXXX.md)
OUT_FILE=$(mktemp -t codex-review.XXXXXX.md)
```

Write the plan verbatim into `$PLAN_FILE` using the Write tool.

### 3. Run codex in headless review mode
Read the full skill on GitHub

Details

Skill name
cmd-codex-review-plan
Path
skills/cmd-codex-review-plan/SKILL.md
License
MIT
Repo updated
18 November 2026

FAQ

What does the Cmd Codex Review Plan skill do?

Get a second opinion on the current plan from Codex (codex exec headless mode) before leaving plan mode. Pipes the plan to codex, captures critique and gap analysis, then proposes a revised plan with an explicit changelog of what changed and what was rejected. Triggers on "/cmd-codex-review-plan", "review plan with codex", "ask codex about this plan", or before approving auto mode on an exit-plan prompt.

How do I install the Cmd Codex Review Plan skill?

Claude Code plugin: /plugin marketplace add Olshansk/agent-skills. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Cmd Codex Review Plan popular?

It lives in Olshansk/agent-skills, which has 9 GitHub stars and 0 forks.

Related skills

Cmd Agent Persona Set

9

Olshansk/agent-skills

Prime the agent with a behavioral persona for the conversation

AI, LLMs & Agents

Cmd Clean Code

9

Olshansk/agent-skills

Improve code readability without altering functionality using idiomatic best practices

Software Development

Cmd Code What

9

Olshansk/agent-skills

Catch the user up on what the agent has been doing in the current session with 3-5 ultra-tight bullet points. Use when the user invokes /cmd-what, asks "what are you doing", "what did you do", "catch me up", "status", "where are we", or otherwise needs a fast situational summary of in-flight agent work.

Software Development

Cmd Codex Review Unstaged

9

Olshansk/agent-skills

Get a second opinion on what Claude just implemented from Codex (codex exec headless mode). Pipes Claude's summary plus the working-tree diff to codex, asks codex to leverage cmd-pr-follow-up and cmd-pr-edgecase methodology to surface bugs, test gaps, edge cases, and simplification opportunities, then synthesizes a prioritized iteration plan from the feedback. Triggers on "/cmd-codex-review-unstaged", "review my changes with codex", "have codex review what I just did", or after a non-trivial implementation pass before commit.

Software Development

Cmd Makefile

9

Olshansk/agent-skills

Create or improve Makefiles with minimal complexity. Templates available: base, python-uv, python-fastapi, postgres, nodejs, go, chrome-extension, flutter, electron, static-site.

Software Development

Cmd PR Sculpt Code

9

Olshansk/agent-skills

Reshape code for readability, naming, structure, TODOs, and reduced surface area across any language

Software Development

Browse the most popular Claude skills, all software development skills, or write your own with the skills generator.