codex-plan-review

codex-plan-review is a skill for Claude Code, Codex from tykisgod/quick-question. It costs 34 tokens per session (1,772 once invoked), scanned A, original, MIT.

A command that sends a design document or plan to Codex CLI for review and revises it based on the findings.

In plain words
What is it for?
Run it with a document path, or let it find the newest Markdown file under Docs/. It repeats the review until no critical issues remain or five rounds are complete.
Why use it?
It reduces the need to review and rewrite a plan manually through repeated feedback rounds.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the qq plugin — 27 skills, 4 hooks shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/tykisgod/quick-question/codex-plan-review
Any agent
npx skills add tykisgod/quick-question --skill codex-plan-review
Clone the repo
git clone --depth 1 https://github.com/tykisgod/quick-question

Made for: Claude Code, Codex.

Or install qq, the plugin that ships this one along with the rest of its 27 skills, 4 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for codex-plan-review

README.md
[![agentmods](https://agentmods.dev/badge/skills/tykisgod/quick-question/codex-plan-review.svg)](https://agentmods.dev/skills/tykisgod/quick-question/codex-plan-review)
Your own site
<a href="https://agentmods.dev/skills/tykisgod/quick-question/codex-plan-review"><img src="https://agentmods.dev/badge/skills/tykisgod/quick-question/codex-plan-review.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,772 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00034 $0.01772
Opus 5 $0.00017 $0.00886
Sonnet 5 $0.00007 $0.00354
Haiku 4.5 $0.00003 $0.00177

Measured 4d ago against content hash 71d11a2067cf, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

codex-plan-review scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/codex-plan-review/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Invoke scripts via ${CLAUDE_PLUGIN_ROOT}/bin/<name>. That env var is set by Claude Code for every plugin context and gives the absolute path to the marketplace clone — no PATH or cwd assumptions. Bare-command invocation (e.g. plan-review.sh) is NOT reliable: the plugin never puts its scripts on PATH, so bare calls exit 127.

Respond in the user's preferred language (detect from their recent messages, or fall back to the language setting in CLAUDE.md).

Send a design document to Codex CLI for review, then revise the document based on the findings. Automatically loops until no critical issues remain or 5 rounds are completed.

Arguments: $ARGUMENTS

  • A file path to a design document or plan
  • No arguments: default to the most recently modified .md file under Docs/

Execution Flow

1. Determine the Target File

Try in order of priority:

  1. If the user specified a file path, use it
  2. Otherwise check the current conversation for a Claude-generated plan (typically under Docs/ or similar), use the most recent one
  3. If no plan file exists either, review the current conversation context — find the most recently discussed design proposal, refactoring suggestion, or review conclusion, write it as a temporary spec file (Docs/qq/<branch-name>/tmp-review-spec_<YYYYMMDD-HHmm>.md, timestamped). Get branch name with: git branch --show-current | tr '/' '_'
  4. Last resort: use ls -t Docs/**/*.md | grep -v '/qq/' | head -1 to find the most recently modified design document (excluding qq-generated artifacts)

2-6. Automatic Review Loop

Loops automatically without prompting the user each round. Loop termination conditions (stop when any is met):

  • No [Critical] issues in the Codex review result
  • 5 rounds have been completed

Each round:

2a. Send to Codex for Review

Run the following command using the Bash tool with run_in_background: true:

${CLAUDE_PLUGIN_ROOT}/bin/plan-review.sh <file_path>

The script calls codex exec --sandbox read-only, outputting results to stdout and <filename>_review.md. The script automatically reads the project root's CLAUDE.md and includes the coding standards in the Codex prompt. Codex review typically takes 5-10 minutes. With background execution, the system automatically notifies you when done — no sleep or polling needed. Inform the user that the background task has been submitted and will continue automatically upon completion. You may continue other conversation with the user while waiting.

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 111 lines · 34 tokens per session scan A 71d11a2067cf

Subscribe to this mod's changes

codex-plan-review is a skill published in the GitHub repository tykisgod/quick-question (11 stars, last pushed 10d ago), licensed MIT. It adds 34 tokens to every session and 1,772 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.