plan-review-gate

plan-review-gate is a skill for Claude Code from dsifry/metaswarm. It costs 35 tokens per session (8,311 once invoked), scanned A, original, MIT.

An automatic checkpoint for software implementation plans. It sends each plan to three separate reviewers who check whether it is feasible, complete, and within scope before it is shown to the user.

In plain words
What is it for?
Use it after drafting a plan that involves several work items or files. It is meant to challenge plans before implementation starts.
Why use it?
It helps catch missing work, unrealistic steps, and misunderstandings before coding begins. A plan must pass all three reviews, with revisions and another review if needed.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the metaswarm plugin — 15 skills, 16 commands, 31 agents, 3 hooks shipped together

Good fit Use it after drafting a plan that involves several work items or files. It is meant to challenge plans before implementation starts.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add dsifry/metaswarm
Claude Code
/plugin install metaswarm

Made for: Claude Code.

Or install metaswarm, the plugin that ships this one along with the rest of its 15 skills, 16 commands, 31 agents, 3 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/dsifry/metaswarm/plan-review-gate/github.svg)](https://agentmods.dev/skills/dsifry/metaswarm/plan-review-gate)
Your own site
<a href="https://agentmods.dev/skills/dsifry/metaswarm/plan-review-gate"><img src="https://agentmods.dev/badge/skills/dsifry/metaswarm/plan-review-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plan-review-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/dsifry/metaswarm/plan-review-gate"><img src="https://agentmods.dev/badge/skills/dsifry/metaswarm/plan-review-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,311 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 354
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
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.1 $0.00035 $0.08311
Opus 5.5 $0.00014 $0.03324
Sonnet 5.5 $0.00007 $0.01662
Haiku 4.5 $0.00003 $0.00831

Measured 4d ago against content hash f5103389a1a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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/plan-review-gate/SKILL.md · 583 lines

How it starts

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

Plan Review Gate

Core principle: No plan reaches the user without surviving independent adversarial scrutiny.

Purpose

This skill automatically activates once an implementation plan is written, before writing-plans presents the plan (see ./guides/workflow-enforcement.md). It spawns three independent adversarial reviewers in parallel — Feasibility, Completeness, and Scope & Alignment — each as a fresh Task() instance. ALL three must PASS. On failure, the planner incorporates feedback and resubmits to entirely fresh reviewer instances. After each round the gate applies the severity rule from ./guides/delivery-scope.md (at most 10 rounds) to advance, iterate, clarify or escalate.


Activation Triggers

This skill auto-activates when:

  1. An implementation plan is drafted (by planner, explorer, or orchestrator)
  2. writing-plans has written the plan, before its Execution Handoff (link the plan, user review request, execution choice)
  3. The orchestrator's plan validation phase produces a plan for review
  4. User explicitly requests: /plan-review <path-to-plan>

Do NOT use for: Trivial changes (single-file bug fixes, copy edits, config tweaks). The plan must have at least 2 work units or touch 3+ files to warrant gate review. A plan that builds or changes user-facing UI (screens, components or flows, not a text-only edit) always gets the gate, whatever its size, so the Completeness check for a UI integration work unit still runs.


The 3 Adversarial Reviewers

Each reviewer is a fresh Task() instance with read-only access to the codebase. Reviewers report every finding in the 6-field contract (title, description, severity, protects, evidence, blocker) plus the signal fields (theme on every finding; needs_user, origin and assumption on blockers) from ./guides/delivery-scope.md, and return PASS/FAIL: FAIL only if at least one finding has blocker: yes.

Read the full file on GitHub · 583 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +25 lines f5103389a1a4
  2. 21d ago Changed · +44 lines a0a5816e9996
  3. 22d ago Changed · +2 lines 3ef35900efab
  4. 24d ago Changed · +1 lines · +3 tokens per session b763f0b439ab
  5. 25d ago Changed · +56 lines 25f39ccdf6ad
  6. 3mo ago First seen · 455 lines · 32 tokens per session scan A 864016bd0f4b

Subscribe to this mod's changes

plan-review-gate is a skill published in the GitHub repository dsifry/metaswarm (442 stars, last pushed yesterday), licensed MIT. It adds 35 tokens to every session and 8,311 once invoked, about $0.0001 per session on Opus 5.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

plan-review-gate compared with skills from other repositories

plan-review-gate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-review-gatedsifry/metaswarmSkill442yesterdayMITA35Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15kyesterdayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill331k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code