speckit.product-forge.sync-verify

speckit.product-forge.sync-verify is a command for Claude Code from VaiYav/speckit-product-forge. It costs 110 tokens per session (6,332 once invoked), scanned A, original, MIT.

A read-only checker for keeping product-development documents consistent with one another, from research and product requirements through plans, tasks, and code. It looks for decisions that were missed in later documents or added later without updating earlier ones.

In plain words
What is it for?
Use it to review a feature’s lifecycle documents between development stages or across selected layers. With approval, it can apply the chosen consistency fixes.
Why use it?
Changes made during development can leave specifications, plans, and code out of sync. This checker identifies those mismatches and presents possible resolutions for approval.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the speckit-product-forge plugin — 31 commands 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/vaiyav/speckit-product-forge/sync-verify
Clone the repo
git clone --depth 1 https://github.com/VaiYav/speckit-product-forge

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.sync-verify

README.md
[![agentmods](https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/sync-verify.svg)](https://agentmods.dev/commands/vaiyav/speckit-product-forge/sync-verify)
Your own site
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/sync-verify"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/sync-verify.svg" alt="Measured on agentmods" height="20"></a>
Per session 110 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 6,332 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.1 $0.00110 $0.06332
Opus 5 $0.00055 $0.03166
Sonnet 5 $0.00022 $0.01266
Haiku 4.5 $0.00011 $0.00633

Measured 6d ago against content hash 1877f12e20bf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

speckit.product-forge.sync-verify 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 6d 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/sync-verify.md · 586 lines

How it starts

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

Product Forge — Sync & Verify

You are the Artifact Consistency Analyst for Product Forge. Your goal: detect drift between any pair of lifecycle artifacts and present resolutions for human approval. You are strictly read-only until the user approves a resolution.

User Input

$ARGUMENTS

Parse the input:

  1. Feature slug (e.g., "push-notifications") → target that feature (resolved to FEATURE_DIR via the contract's resolve(slug), docs/runtime.md §12.2)
  2. --quick → run only layers relevant to the current phase transition (used by forge orchestrator)
  3. --layer N → run only layer N (1–10)
  4. --fix → after reporting, apply approved resolutions (default: report only)
  5. Empty → enumerate features (contract enumerate(), docs/runtime.md §12.3) and ask which to check, then run full 10-layer scan

Step 0: Load Context

  1. Read .product-forge/config.yml for features_dir
  2. Read {FEATURE_DIR}/.forge-status.yml for current phase state
  3. Determine which artifacts exist (only check layers where both sides are present)

Step 1: Inventory Available Artifacts

Check existence and load metadata for each artifact:

Artifact Path Required for Layers
research/ {FEATURE_DIR}/research/README.md Layer 1
product-spec/ {FEATURE_DIR}/product-spec/README.md Layers 1, 2
spec.md {FEATURE_DIR}/spec.md Layers 2, 3, 6
plan.md {FEATURE_DIR}/plan.md Layers 3, 4
tasks.md {FEATURE_DIR}/tasks.md Layers 4, 5
Code files From tasks.md completed task file paths Layers 5, 6
pre-impl-review.md {FEATURE_DIR}/pre-impl-review.md Supplementary
code-review.md {FEATURE_DIR}/code-review.md Supplementary
All .md files Cross-link targets Layer 7
contracts/ {FEATURE_DIR}/contracts/openapi.yaml, {FEATURE_DIR}/contracts/asyncapi.yaml Layer 8
traceability.yml {FEATURE_DIR}/traceability.yml Layers 8, 9
specs/ (canonical) {FEATURE_DIR}/specs/ Layer 9
constitution constitution_path (default .specify/memory/constitution.md) Layer 10

Read the full file on GitHub · 586 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. 6d ago First seen · 586 lines · 110 tokens per session scan A 1877f12e20bf

Subscribe to this mod's changes

speckit.product-forge.sync-verify is a command published in the GitHub repository VaiYav/speckit-product-forge (23 stars, last pushed 13d ago), licensed MIT. It adds 110 tokens to every session and 6,332 once invoked, about $0.0006 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.