speckit-workflow-v2

speckit-workflow-v2 is a command for Claude Code from jmanhype/speckit. It costs 66 tokens per session (1,487 once invoked), scanned A, original, MIT.

A command that runs a complete Spec Kit workflow for turning a feature idea into a planned and implemented code change. Spec Kit is a specification-first process that documents requirements, design decisions, API contracts, tasks, and checks.

In plain words
What is it for?
Use it to create or update project principles, clarify requirements, plan architecture, define contracts, generate task lists, analyze the plan, and implement the change.
Why use it?
It gives a feature a structured path from requirements to implementation. Quality gates help identify missing details before coding proceeds.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the SlashCommand tool.

Not installable on its own: it runs a file from its repository that does not travel with it. Clone the repository, or install whatever ships that file. The line is specmatic backward-compatibility-check --target-path ./specs/<feature>/contracts/openapi.yaml.

Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

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-workflow-v2

README.md
[![agentmods](https://agentmods.dev/badge/commands/jmanhype/speckit/speckit-workflow-v2.svg)](https://agentmods.dev/commands/jmanhype/speckit/speckit-workflow-v2)
Your own site
<a href="https://agentmods.dev/commands/jmanhype/speckit/speckit-workflow-v2"><img src="https://agentmods.dev/badge/commands/jmanhype/speckit/speckit-workflow-v2.svg" alt="Measured on agentmods" height="20"></a>
Per session 66 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,487 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.00066 $0.01487
Opus 5 $0.00033 $0.00744
Sonnet 5 $0.00013 $0.00297
Haiku 4.5 $0.00007 $0.00149

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

Security

Grade A, and why

speckit-workflow-v2 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.

.claude/commands/speckit-workflow-v2.md · 136 lines

How it starts

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

Speckit Workflow v2 (Feature-complete)

Objective

Convert "$ARGUMENTS" into a validated spec-driven change using every relevant Spec Kit phase: constitution → specify → (clarify) → plan → contractchecklist → tasks → analyze → implement.

Prechecks

Inputs

  • $ARGUMENTS = brief + optional flags:
    • --domains "<csv>" e.g., "security,privacy,accessibility,performance,observability"
    • --strict fail the run if checklist/analyze/contract gates don't pass
    • --auto proceed without asking between gates (unless a blocking ambiguity is detected)
    • --parallel use specialized sub-agents for parallel backend/frontend implementation

Flow

1) Constitution (first run only)

  • If no principles exist, run: /speckit.constitution Create principles for code quality, testing standards, UX consistency, performance/SLOs, security, accessibility.

2) Specify (WHAT/WHY)

  • Run: /speckit.specify $ARGUMENTS
  • Keep tech decisions out of the spec.

3) Clarify (targeted; only if needed)

  • If the spec is underspecified, run: /speckit.clarify Ask only focused questions to resolve ambiguities blocking the plan.

4) Plan (HOW)

  • Run: /speckit.plan Draft the technical plan aligned to the spec: architecture, data model, interfaces, testing/observability, performance budgets, risks.
  • If API endpoints are defined, ensure OpenAPI spec is created in specs/<feature>/contracts/openapi.yaml

5) Contract Validation (API gate) - NEW

  • If specs/<feature>/contracts/openapi.yaml exists:
    • Use openapi-spec-author agent or run directly:
      specmatic backward-compatibility-check --target-path ./specs/<feature>/contracts/openapi.yaml
      
    • Rules:
      • Adding optional fields: ✅ ALLOWED
      • Adding new endpoints: ✅ ALLOWED
      • Removing endpoints/fields: ❌ BREAKING
      • Changing field types: ❌ BREAKING
    • If --strict and breaking changes detected → stop with actionable summary
    • For WIP APIs, add tags: ["WIP"] to bypass breaking change failures

Read the full file on GitHub · 136 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. 4d ago First seen · 136 lines · 66 tokens per session scan A 224c14725340

Subscribe to this mod's changes

speckit-workflow-v2 is a command published in the GitHub repository jmanhype/speckit (26 stars, last pushed 5mo ago), licensed MIT. It adds 66 tokens to every session and 1,487 once invoked, about $0.0003 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-01.