agentleFS
Smirnov-LabsSmirnov-Labs/claude-skills/skills/codex-plan-review/SKILL.md

codex-plan-review

Skill5 starsChanged 7 months agoMITView on GitHub

Get a second opinion on your current implementation plan by sending it to Codex for independent review. Use after brainstorming, after writing a plan, or when you want to iterate on a plan before execution. Triggers on 'get a second opinion', 'review plan with codex', 'codex review', or 'iterate on plan'.

3 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions3 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 3

    1. antorsae/dual-agent★ 17same name
    2. syou6162/agent-skills★ 11same name
    3. tykisgod/quick-question★ 11same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository5 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If you were dispatched as a subagent to execute a specific delegated task, do NOT follow this skill — skip it and return to the task you …

    line 7
  2. Distinctive:

    After brainstorming produces a design spec

    line 16
  3. Distinctive:

    After writing an implementation plan

    line 17
  4. Distinctive:

    When you want a critical review before executing a plan

    line 18
  5. Distinctive:

    When the user says "get a second opinion" or "review this plan"

    line 19
  6. Distinctive:

    If no plan file is found, ask the user to point you to the plan or spec they want reviewed.

    line 31
  7. Distinctive:

    Read the full plan file. Construct a prompt for Codex that includes:

    line 35
  8. Distinctive:

    Run Codex with these exact settings — non-spark model, high effort, read-only:

    line 43
  9. Distinctive:

    After Codex returns its review:

    line 80
  10. Distinctive:

    Ask: "Want to incorporate any of this feedback into the plan?"

    line 84
  11. Distinctive:

    If the user wants to update the plan:

    line 88

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<SUBAGENT-STOP> If you were dispatched as a subagent to execute a specific delegated task, do NOT follow this skill — skip it and return to the task you were given. </SUBAGENT-STOP>

Codex Plan Review

Send the current working plan to Codex 5.4 for an independent second opinion. This skill is used to iterate on plans before committing to implementation.

When to Use

  • After brainstorming produces a design spec
  • After writing an implementation plan
  • When you want a critical review before executing a plan
  • When the user says "get a second opinion" or "review this plan"

Process

1. Find the Current Plan

Locate the most recent plan by checking these locations in order:

  1. Design specs: docs/superpowers/specs/*.md (most recent by date prefix)
  2. Plan files: docs/superpowers/plans/*.md (most recent by date prefix)
  3. Active context: .claude/memory-bank/activeContext.md for references to current work

If no plan file is found, ask the user to point you to the plan or spec they want reviewed.

2. Read and Summarize the Plan

Read the full plan file. Construct a prompt for Codex that includes:

  • The complete plan content
  • The project context (from CLAUDE.md or memory bank if relevant)
  • A request for critical architectural review

3. Send to Codex

Run Codex with these exact settings — non-spark model, high effort, read-only:

codex exec \
  -m gpt-5.4-codex \
  --config model_reasoning_effort="high" \
  --sandbox read-only \
  --skip-git-repo-check \
  --full-auto \
  2>/dev/null \
  "<prompt>"

The prompt sent to Codex must follow this template:

You are a senior architect reviewing an implementation plan. Your job is to find weaknesses, missing considerations, and improvements. Be direct and specific.

PROJECT CONTEXT:
<brief project description from CLAUDE.md or memory bank>

PLAN TO REVIEW:
<full plan content>

Review this plan and provide:

1. **Structural Issues** — Are there missing steps, wrong ordering, or circular dependencies?
2. **Architectural Concerns** — Does the plan fight existing patterns? Are there simpler approaches?
3. **Risk Assessment** — What could go wrong? What assumptions are fragile?
4. **Missing Considerations** — What did the plan author overlook? (edge cases, error handling, testing, rollback)
5. **Specific Improvements** — Concrete suggestions, not vague advice. Reference specific plan sections.

Be critical. The goal is to strengthen the plan, not validate it.

4. Present the Review

After Codex returns its review:

  1. Present the Codex feedback to the user clearly
  2. Highlight any blockers or high-severity concerns
  3. Ask: "Want to incorporate any of this feedback into the plan?"

5. Iterate if Requested

If the user wants to update the plan:

  1. Edit the plan file with the agreed changes
  2. Optionally re-run Codex for another pass (ask first — avoid infinite loops)

Key Rules

  • Always use gpt-5.4-codex (not spark, not 5.3)
  • Always use high reasoning effort
  • Always use read-only sandbox — this is a review, not an edit
  • Never skip the plan lookup step — if there's no plan, ask for one
  • Present Codex output faithfully — don't filter or summarize away criticisms
  • Remind the user they can run codex resume for follow-up questions

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.