plan-review-gate

plan-review-gate is a skill for Claude Code, Codex from romiluz13/cc10x. It costs 32 tokens per session (2,096 once invoked), scanned A, original, MIT.

A fail-closed review step for an implementation plan or decision record. It checks whether the proposed work fits the real codebase, is complete, and matches the stated goal before execution.

In plain words
What is it for?
Use it after saving a non-trivial plan or architecture decision, before handing that plan to someone for implementation.
Why use it?
It catches missing files, unrealistic steps, and misaligned plans before they cause implementation work to go in the wrong direction.

Skill for Claude CodeCodex

Part of the cc10x plugin — 21 skills, 11 agents, 10 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/romiluz13/cc10x/plan-review-gate
Any agent
npx skills add romiluz13/cc10x --skill plan-review-gate
Clone the repo
git clone --depth 1 https://github.com/romiluz13/cc10x

Made for: Claude Code, Codex.

Or install cc10x, the plugin that ships this one along with the rest of its 21 skills, 11 agents, 10 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 plan-review-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/romiluz13/cc10x/plan-review-gate.svg)](https://agentmods.dev/skills/romiluz13/cc10x/plan-review-gate)
Your own site
<a href="https://agentmods.dev/skills/romiluz13/cc10x/plan-review-gate"><img src="https://agentmods.dev/badge/skills/romiluz13/cc10x/plan-review-gate.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,096 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.00032 $0.02096
Opus 5 $0.00016 $0.01048
Sonnet 5 $0.00006 $0.00419
Haiku 4.5 $0.00003 $0.00210

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

Security

Grade A, and why

plan-review-gate 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 5d 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.

plugins/cc10x/skills/plan-review-gate/SKILL.md · 140 lines

How it starts

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

Spec Review Gate

Core principle: No execution plan or decision RFC reaches the user without surviving adversarial scrutiny. No leniency. "Close enough" is FAIL. A structurally neat but repo-wrong plan is FAIL.

How it works: This skill runs inline in the calling agent's context (no subagents). The calling LLM acts as an independent auditor, reads the saved artifact, and checks it against 3 criteria using Read/Grep/Glob. The value is fail-closed blocking and adversarial framing, not reviewer isolation — keep the auditor posture, but do not claim independence the gate doesn't have.

When to Skip

Skip when artifact is truly trivial: Single-file fix, copy edit, or config tweak with <3 changes and no architecture choice → return SPEC_GATE_PASS immediately.

The 3 Checks (Run in Sequence)

Check 1: Feasibility — Can this be executed against the real codebase?

Run these verifications using Read/Grep/Glob:

Criterion How to verify Blocking if
Artifact file exists on disk Glob(pattern="{plan_file_path}") where plan_file_path is the path from the calling agent's context Returns 0 matches
File paths exist Glob(pattern="{path}") for every referenced file Any path returns 0 matches and doesn't exist
Codebase reality check is present Read artifact for Codebase Reality Check Non-trivial plan omits repo-grounded verification of existing code
Dependency ordering Read plan phases — do later phases depend on earlier ones only? Circular or forward-reference dependencies
Technical approach matches codebase Read 1-2 existing files in the affected area Proposed patterns/libs differ from what codebase actually uses
No unstated infra assumptions Read plan for external services, env vars, DBs Plan silently assumes infra that doesn't exist
No invented or unverified file/module assumptions Compare claimed touched surfaces to repo reality Artifact presents guessed files/modules as verified facts
Plan mode fits the task Read request + artifact: direct, execution_plan, or decision_rfc Request changes ≥3 files or any contract/schema/auth surface while mode is direct; or request asks for a decision between alternatives and mode is not decision_rfc
Verification rigor fits risk Check verification_rigor against the requested work Critical-path work is missing critical_path rigor or claims proof it never defined

Read the full file on GitHub · 140 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. 5d ago First seen · 140 lines · 32 tokens per session scan A 487e04f979cf

Subscribe to this mod's changes

plan-review-gate is a skill published in the GitHub repository romiluz13/cc10x (164 stars, last pushed 1mo ago), licensed MIT. It adds 32 tokens to every session and 2,096 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.

Related

Other skills, from other repositories

push-ci

Push to remote and monitor CI. Validates branch safety, executes git push WITH explicit user approval, then monitors CI run status via gh CLI. Use when: user says 'push', 'push and watch CI', 'ship it', 'push-ci'. Not for: committing (use /smart-commit), creating PRs (use /create-pr), merging (use /merge-prep).

sd0xdev/sd0x-harness · 82 tokens

create-request

Create, update, or scan per-task request tickets for progress tracking. These are date-prefixed non-lifecycle docs under requests/, NOT feature-level requirements (use /req-analyze for those). Use when: tracking task progress, updating completion status, scanning incomplete requests, checking request status dashboard.…

sd0xdev/sd0x-harness · 112 tokens

codex-setup

Initialize sd0x-dev-flow infrastructure for Codex CLI and other non-Claude agents. Generates AGENTS.md, installs the commit-msg hook, copies runner scripts. The pre-push gate is opt-in via --with-push-gate. Use when setting up a new project or after updating skills.

sd0xdev/sd0x-harness · 65 tokens

codex-code-review

Code review using Codex MCP. Use when: PR review, code audit, second opinion on changes. Not for: doc review (use doc-review), security audit (use security-review). Output: severity-grouped findings + merge gate.

sd0xdev/sd0x-harness · 53 tokens

smart-rebase

Smart partial rebase for squash-merge repositories. Auto-detect which commits to keep/drop when base branch was squash-merged into target. Use when: user says 'rebase', 'partial rebase', 'base already merged', 'smart rebase', or /smart-rebase. Not for: simple git rebase (the developer runs it — Claude never executes…

sd0xdev/sd0x-harness · 131 tokens

remind

Lightweight model correction with context-aware rule loading. Use when: model forgot a rule, skipped a required step, edited code/docs without running review, needs to re-read CLAUDE.md or rules. Triggers on: 'you forgot', 'remind', 'check rules', 'what did you miss', '你忘了', 'did you skip review', 'why didn't you run…

sd0xdev/sd0x-harness · 157 tokens