plan-validate

plan-validate is a command for coding agents from FlorianBruniaux/claude-code-plugins. It costs 37 tokens per session (1,554 once invoked), scanned A, original, MIT.

A two-stage check for a written implementation plan before any code is changed. It checks the plan's sections, task dependencies, files, and consistency with architecture decisions.

In plain words
What is it for?
Use it to validate an existing plan, confirm that tasks have acceptance criteria and tests, and resolve planning issues before execution.
Why use it?
It catches missing information, invalid dependencies, and references to the wrong files before implementation begins.

Command

Part of the pr-workflow plugin — 5 skills, 7 commands, 3 agents 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 commands/florianbruniaux/claude-code-plugins/plan-validate
Clone the repo
git clone --depth 1 https://github.com/FlorianBruniaux/claude-code-plugins

Or install pr-workflow, the plugin that ships this one along with the rest of its 5 skills, 7 commands, 3 agents.

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-validate

README.md
[![agentmods](https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/plan-validate.svg)](https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/plan-validate)
Your own site
<a href="https://agentmods.dev/commands/florianbruniaux/claude-code-plugins/plan-validate"><img src="https://agentmods.dev/badge/commands/florianbruniaux/claude-code-plugins/plan-validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,554 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.00037 $0.01554
Opus 5 $0.00018 $0.00777
Sonnet 5 $0.00007 $0.00311
Haiku 4.5 $0.00004 $0.00155

Measured yesterday against content hash 62789cfbed2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

plan-validate 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 yesterday.

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/pr-workflow/commands/plan-validate.md · 188 lines

How it starts

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

Plan Validate — 2-Layer Validation

Independently validate the plan produced by /plan-start. No code is written. Run /clear after this command before running /plan-execute.

Validation is separate from planning by design: validators that didn't write the plan are not anchored to its assumptions.


Prerequisite

A committed plan file must exist at docs/plans/plan-{name}.md. If multiple plans exist, list them and ask the user which to validate.


Layer 1: Structural Validation

Run immediately, no agents required. Check the plan document for:

Format & Completeness

  • All required sections present (Summary, Decisions, Architecture, Tasks, Test Plan, Out of Scope)
  • Each task has: description, files affected, acceptance criteria, layer assignment

Dependency Chain

  • No circular dependencies between tasks
  • Tasks in higher layers only depend on tasks in lower layers
  • All stated dependencies exist in the plan

File Existence

  • Every file listed for modification actually exists in the codebase (use Glob)
  • New files are in appropriate directories per project conventions

ADR Consistency

  • Plan decisions align with ADRs created during /plan-start
  • No contradiction with existing ADRs in docs/adr/

CLAUDE.md Compliance

  • Plan respects all hard rules in CLAUDE.md
  • No first principles violations (no workarounds, no backward-compat shims)

Test Coverage

  • Every new function/component has a corresponding test task
  • TDD-marked tasks have failing test written before implementation task

Record all Layer 1 issues with severity (BLOCKER / WARNING / INFO) before proceeding to Layer 2.


Layer 2: Specialist Review

Select agents by applying trigger rules to the plan content. No user input needed — triggers are objective.

Validation agent pool:

Agent Trigger Model
security-reviewer Auth, payments, PII, RBAC, new public APIs Opus
db-migration-reviewer New tables, columns, indexes, or migration files Opus
performance-reviewer New queries, resolvers, routes, or added dependencies Sonnet
design-system-reviewer New UI components or visual styling changes Sonnet
ux-reviewer New pages, forms, modals, or interaction patterns Sonnet
cross-platform-reviewer Changes touching both web and mobile, or shared packages Sonnet
native-app-reviewer Mobile screens, native UI package changes Sonnet
integration-reviewer New external services, libraries, or OTEL config Opus

Read the full file on GitHub · 188 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. yesterday First seen · 188 lines · 37 tokens per session scan A 62789cfbed2e

Subscribe to this mod's changes

plan-validate is a command published in the GitHub repository FlorianBruniaux/claude-code-plugins (40 stars, last pushed 3d ago), licensed MIT. It adds 37 tokens to every session and 1,554 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-09-04.