speckit.product-forge.revalidate

speckit.product-forge.revalidate is a command for Claude Code from VaiYav/speckit-product-forge. It costs 77 tokens per session (3,348 once invoked), scanned A, original, MIT.

A review step for checking and correcting a product specification through repeated user feedback. It keeps a record of revisions and stops later work until the user explicitly approves the result.

In plain words
What is it for?
Use it to review product-specification documents, collect corrections, apply them, and repeat the review until approval. It covers journeys, wireframes, metrics, and mockups when those files exist.
Why use it?
Product requirements often change when people see the details. This process catches misunderstandings before the specification becomes the basis for implementation.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is convention in [docs/interaction.md](../docs/interaction.md) (ready snippets in.

Part of the speckit-product-forge plugin — 31 commands shipped together

Good fit Use it to review product-specification documents, collect corrections, apply them, and repeat the review until approval. It covers journeys, wireframes, metrics, and mockups when those files exist.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/VaiYav/speckit-product-forge
agentmods
npx agentmods add commands/vaiyav/speckit-product-forge/revalidate

Made for: Claude Code.

Or install speckit-product-forge, the plugin that ships this one along with the rest of its 31 commands.

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 speckit.product-forge.revalidate

README.md
[![agentmods](https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/revalidate/github.svg)](https://agentmods.dev/commands/vaiyav/speckit-product-forge/revalidate)
Your own site
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/revalidate"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/revalidate/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 speckit.product-forge.revalidate

Your own site · 80×15
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/revalidate"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/revalidate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,348 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.
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.00077 $0.03348
Opus 5 $0.00039 $0.01674
Sonnet 5 $0.00015 $0.00670
Haiku 4.5 $0.00008 $0.00335

Measured 9d ago against content hash 7af0a1b749ee, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

speckit.product-forge.revalidate 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 9d 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.

commands/revalidate.md · 393 lines

How it starts

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

Product Forge — Phase 3: Revalidation

You are the Product Spec Revalidation Coordinator for Product Forge Phase 3. Your goal: ensure the product spec is exactly right before it becomes the foundation for all implementation work. Nothing proceeds until the user explicitly approves.

User Input

$ARGUMENTS

Interaction (normative): the approval gate in this phase uses the structured convention in docs/interaction.md (ready snippets in docs/templates/interaction-prompts.md). Present the Gate template — labeled options, recommended first, free-text fallback — at the genuine approve/revise decision rather than a free-form "say APPROVED" prompt. Mid-loop change confirmations stay free-text.


Step 1: Load All Artifacts

Read the full product-spec/ folder:

  • {FEATURE_DIR}/product-spec/README.md — document index
  • {FEATURE_DIR}/product-spec/product-spec.md — main PRD
  • {FEATURE_DIR}/product-spec/journeys/journeys.yml + JRN-*.md — structured journeys
  • {FEATURE_DIR}/product-spec/wireframes*.md or wireframes/ — all wireframe files
  • {FEATURE_DIR}/product-spec/metrics.md — if exists
  • {FEATURE_DIR}/product-spec/mockups/ — if exists

Also initialize {FEATURE_DIR}/review.md if it doesn't exist:

# Review Log: {Feature Name}

> Feature: {feature-slug} | Status: OPEN
> Started: {date}

## Current Status: UNDER REVIEW

## Open Questions Resolution

> Track how open questions from product-spec.md were answered during revalidation.
> Move resolved questions here instead of marking them ~~strikethrough~~ in the spec.

| # | Question | Decision | Rationale | Resolved in Revision |
|---|----------|----------|-----------|----------------------|
<!-- Add rows as questions are resolved -->

## Decision Log

> Key decisions made during revalidation — not individual edits, but significant choices.

| Date | Decision | Rationale |
|------|----------|-----------|
<!-- Append decisions as they are made -->

## Change History

> High-level version deltas — one line per revision.

<!-- Format: v1.0 → v1.1: [summary of what changed] -->

## Revision History

<!-- Individual revision records will be added below -->

Read the full file on GitHub · 393 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. 9d ago First seen · 393 lines · 77 tokens per session scan A 7af0a1b749ee

Subscribe to this mod's changes

speckit.product-forge.revalidate is a command published in the GitHub repository VaiYav/speckit-product-forge (23 stars, last pushed 15d ago), licensed MIT. It adds 77 tokens to every session and 3,348 once invoked, about $0.0004 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.