spec-phases

spec-phases is a command for coding agents from Connorrmcd6/vibe-spec. It costs 35 tokens per session (456 once invoked), scanned A, original, MIT.

A command that turns a V1 project specification into a V2 plan divided into sequential phases. Each phase is a self-contained chunk of work that can be planned, built, and checked independently.

In plain words
What is it for?
Use it after creating docs/project-spec.md to outline foundation, data, authentication, feature, and later implementation phases in a phase index.
Why use it?
It breaks a large software project into manageable stages with clear boundaries, reducing confusion about what should happen first.

Command

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the vibe-spec plugin — 1 skill, 9 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/connorrmcd6/vibe-spec/spec-phases
Clone the repo
git clone --depth 1 https://github.com/Connorrmcd6/vibe-spec

Or install vibe-spec, the plugin that ships this one along with the rest of its 1 skill, 9 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 spec-phases

README.md
[![agentmods](https://agentmods.dev/badge/commands/connorrmcd6/vibe-spec/spec-phases.svg)](https://agentmods.dev/commands/connorrmcd6/vibe-spec/spec-phases)
Your own site
<a href="https://agentmods.dev/commands/connorrmcd6/vibe-spec/spec-phases"><img src="https://agentmods.dev/badge/commands/connorrmcd6/vibe-spec/spec-phases.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 456 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.00035 $0.00456
Opus 5 $0.00017 $0.00228
Sonnet 5 $0.00007 $0.00091
Haiku 4.5 $0.00003 $0.00046

Measured 5d ago against content hash cb451ddc2b8f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

spec-phases 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 5d 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/spec-phases.md · 36 lines

What it actually says

You are running Step 3 of the Vibe-Spec spec-driven workflow: promoting the V1 spec → V2 spec by breaking it into phases. See the vibe-spec skill (${CLAUDE_PLUGIN_ROOT}/skills/vibe-spec/reference/00-workflow.md) for the phase conventions.

What to do

  1. Read docs/project-spec.md (the V1 spec from /spec-refine). If it isn't a tool-mapped V1, tell the user to run /spec-refine first.

  2. Break the work into sequential, self-contained phases. Each phase should be a chunk that can be planned, implemented, and verified independently, completable in roughly 1–3 sessions, with clear entry/exit boundaries so no context bleeds between phases. Early phases lay foundation (scaffold, DB, auth); later phases build features and polish.

  3. Outline only at this stage — phase name, scope boundaries, and a sentence or two on what each covers. Do not fully design them yet (that's /spec-plan).

  4. Append a phase index table to the end of docs/project-spec.md and mark the document V2. Use this shape:

    ### Phase Plan
    
    | # | File | Scope |
    |---|------|-------|
    | 1 | `docs/plans/phase-1-foundation.md` | Project scaffold, data ingestion |
    | 2 | `docs/plans/phase-2-auth.md`       | Auth, onboarding |
    | 3 | `docs/plans/phase-3-dashboard.md`  | Transforms, core dashboard views |
    

The V2 spec is the final version — V0 and V1 can be discarded. End by telling the user to run /spec-plan to flesh out the first phase.

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. 5d ago First seen · 36 lines · 35 tokens per session scan A cb451ddc2b8f

Subscribe to this mod's changes

spec-phases is a command published in the GitHub repository Connorrmcd6/vibe-spec (9 stars, last pushed 2mo ago), licensed MIT. It adds 35 tokens to every session and 456 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-08-31.