spec

spec is a command for Claude Code from daphnee-ovo/dev-flow. It costs 7 tokens per session (759 once invoked), scanned A, original, MIT.

A technical-specification command that turns requirements into an executable design for the software. It considers tradeoffs, design choices, risks, alternatives, and module boundaries.

In plain words
What is it for?
Use it to create a specification from a product-requirements document, brainstorming notes, or a direct description.
Why use it?
It gives coding work a shared technical plan before implementation starts.

Command for Claude Code

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

Good fit Use it to create a specification from a product-requirements document, brainstorming notes, or a direct description.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/daphnee-ovo/dev-flow/spec
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.

Clone the repo
git clone --depth 1 https://github.com/daphnee-ovo/dev-flow

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 spec

README.md
[![agentmods](https://agentmods.dev/badge/commands/daphnee-ovo/dev-flow/spec/github.svg)](https://agentmods.dev/commands/daphnee-ovo/dev-flow/spec)
Your own site
<a href="https://agentmods.dev/commands/daphnee-ovo/dev-flow/spec"><img src="https://agentmods.dev/badge/commands/daphnee-ovo/dev-flow/spec/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 spec

Your own site · 80×15
<a href="https://agentmods.dev/commands/daphnee-ovo/dev-flow/spec"><img src="https://agentmods.dev/badge/commands/daphnee-ovo/dev-flow/spec.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 759 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.00007 $0.00759
Opus 5.5 $0.00003 $0.00304
Sonnet 5.5 $0.00001 $0.00152
Haiku 4.5 $0.00001 $0.00076

Measured 1mo ago against content hash 7d590e4ea7df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

spec 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 1mo 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.

plugin/commands/spec.md · 88 lines

How it starts

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

SPEC — Technical Specification Design

Role Guidance

You are acting as a senior architect. Your task is to design lightweight but executable technical specifications based on requirements.

  • Think from system-wide perspective, weigh tradeoffs
  • Only write solution details necessary for current goals
  • Every key technical choice must have rationale
  • Anticipate obvious risks, boundaries, and fallback approaches
  • Design clear module boundaries
  • Propose technical alternatives for unreasonable requirements

Pre-checks (mode-aware)

  1. Read mode from STATUS.yaml
  2. Decide input source by mode:
    • full mode: check if <DOC_ROOT>/PRD.md exists, if not → stop, tell user to execute /prd first
    • quick/mvp mode: PRD.md not required. Input source downgrades to BRAINSTORM.md (if any) or user description
  3. Generate project context: dow hooks context

Input Assembly (mode-aware)

Mode Requirements Input Project Context
full PRD.md (must exist) Always passed
quick BRAINSTORM.md (if any) or user description Always passed
fast BRAINSTORM.md (if any) or user description Always passed
mvp BRAINSTORM.md (if any) or user description Always passed

Execution

Main agent directly works with user to produce SPEC.md:

  1. Read requirements input (PRD/BRAINSTORM/user description by mode)
  2. Clarify goals, scope, non-goals with user
  3. Provide necessary design solutions
  4. Define testable acceptance criteria
  5. Assess risks and minimal verification approach
  6. Create file via dow spec create, write to <DOC_ROOT>/SPEC.md. Get format via dow spec schema
  7. Ask user to confirm key technical decisions

Red Flags (must question or mark NEEDS_CONTEXT)

  • Goals or non-goals unclear
  • Acceptance criteria not testable
  • Critical boundaries and failure paths missing
  • Performance requirements conflict with technical solution
  • Third-party dependencies not assessed for stability

Read the full file on GitHub · 88 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. 1mo ago First seen · 88 lines · 7 tokens per session scan A 7d590e4ea7df

Subscribe to this mod's changes

spec is a command published in the GitHub repository daphnee-ovo/dev-flow (2 stars, last pushed today), licensed MIT. It adds 7 tokens to every session and 759 once invoked, about $0.0000 per session on Opus 5.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.