ralph-wiggum: Command for Claude Code

.cursor/commands/speckit.specify.md

speckit.specify is a command for Claude Code, Cursor from fstandhartinger/ralph-wiggum. It costs 12 tokens per session (453 once invoked), scanned A, original, MIT.

A command that turns a plain-language feature idea into a written software specification, including the required project structure.

In plain words
What is it for?
It is for creating or updating feature specs from natural-language descriptions and organizing them in numbered specification folders.
Why use it?
It gives a development team a shared description of what to build instead of relying on an informal request.

Command for Claude CodeCursor

Written for Claude Code and Cursor: $ARGUMENTS substitution, but also installed under .cursor/.

This is fstandhartinger/ralph-wiggum's own configuration. It tells Claude Code and Cursor how to work on ralph-wiggum itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ralph-wiggum configures →

Reuse

Borrowing it

Nothing to install: this file belongs to fstandhartinger/ralph-wiggum. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fstandhartinger/ralph-wiggum/main/.cursor/commands/speckit.specify.md
Clone the repo
git clone --depth 1 https://github.com/fstandhartinger/ralph-wiggum

Made for: Claude Code, Cursor.

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.specify

README.md
[![agentmods](https://agentmods.dev/badge/commands/fstandhartinger/ralph-wiggum/speckit.specify.svg)](https://agentmods.dev/commands/fstandhartinger/ralph-wiggum/speckit.specify)
Your own site
<a href="https://agentmods.dev/commands/fstandhartinger/ralph-wiggum/speckit.specify"><img src="https://agentmods.dev/badge/commands/fstandhartinger/ralph-wiggum/speckit.specify.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 453 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.00012 $0.00453
Opus 5 $0.00006 $0.00227
Sonnet 5 $0.00002 $0.00091
Haiku 4.5 $0.00001 $0.00045

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

Security

Grade A, and why

speckit.specify 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 8d 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.

.cursor/commands/speckit.specify.md · 57 lines

What it actually says

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Outline

The text after /speckit.specify is the feature description. Do not ask the user to repeat it unless it is empty.

Given that description, do this:

  1. Generate a concise short name (2-4 words) for the spec folder:

    • Extract the most meaningful keywords
    • Use action-noun format when possible (e.g., "user-auth", "billing-dashboard")
    • Preserve technical terms and acronyms (OAuth2, JWT, API)
  2. Determine the next spec number (NO BRANCH CREATION):

    a. List existing spec directories:

    ls -d specs/[0-9]*/ 2>/dev/null | sort -t/ -k2 -n
    

    b. Find the highest number N and use N+1 (zero-padded to 3 digits)

    c. Create the spec directory structure:

    mkdir -p specs/NNN-short-name/checklists
    

    d. Set SPEC_FILE = specs/NNN-short-name/spec.md

  3. Load templates/spec-template.md to understand required sections.

  4. Write the spec using the template structure, replacing placeholders with concrete details derived from the feature description while preserving section order and headings.

  5. Completion Signal: Ensure the spec includes a ## Completion Signal section with:

    • Implementation checklist
    • Testing requirements
    • Iteration instructions
    • Completion promise (<promise>DONE</promise>)
  6. Create a quality checklist at specs/NNN-short-name/checklists/requirements.md using templates/checklist-template.md.

  7. If anything is ambiguous, add up to 3 [NEEDS CLARIFICATION: ...] markers in the spec. For each marker, present a clear question and suggested answers.

Output

Return: SUCCESS (spec ready for implementation via Ralph Wiggum)

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. 8d ago First seen · 57 lines · 12 tokens per session scan A dc8233ae9541

Subscribe to this mod's changes

speckit.specify is a command published in the GitHub repository fstandhartinger/ralph-wiggum (292 stars, last pushed 3mo ago), licensed MIT. It adds 12 tokens to every session and 453 once invoked, about $0.0001 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.