start

A command that starts a new feature in the SpecKit workflow, a structured process for defining, planning, and implementing software changes. It checks the project's constitution, creates a feature identifier, and prepares a branch and state.

In plain words
What is it for?
Use it to begin a feature with a kebab-case name, optionally including its goal, and prepare the files and branch needed for later specification and implementation.
Why use it?
It prevents feature work from starting without the project's stated principles and required setup. It also gives the work a consistent name and place in the project.

Command

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/tzachbon/smart-ralph/start
Clone the repo
git clone --depth 1 https://github.com/tzachbon/smart-ralph
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 1,549 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.00012 $0.01549
Opus 5 $0.00006 $0.00775
Sonnet 5 $0.00002 $0.00310
Haiku 4.5 $0.00001 $0.00155

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

Security

Grade A, and why

start 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 2d 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.

plugins/ralph-speckit/commands/start.md · 238 lines

How it starts

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

Start Feature

Smart entry point for ralph-speckit. Checks constitution, auto-generates feature ID, creates branch, initializes state.

Constitution Check (FIRST)

Before any feature work, constitution must exist.

# Check if constitution exists
if [ ! -f ".specify/memory/constitution.md" ]; then
  echo "CONSTITUTION_MISSING"
else
  echo "CONSTITUTION_EXISTS"
fi

If CONSTITUTION_MISSING:

  1. Output: "No constitution found. Run /speckit:constitution first to establish project principles."
  2. STOP - do not continue

Parse Arguments

From $ARGUMENTS, extract:

  • feature-name: Required, kebab-case name for the feature
  • goal: Optional description of what the feature should accomplish

Examples:

  • /speckit:start user-auth - Create feature named user-auth
  • /speckit:start user-auth Add OAuth2 support - Create with goal

If no feature-name provided:

  1. Output: "Usage: /speckit:start [goal]"
  2. Output: "Example: /speckit:start user-auth Add OAuth2 support"
  3. STOP

Validate feature-name is kebab-case:

  • Only lowercase letters, numbers, hyphens
  • Must start with letter
  • Regex: ^[a-z][a-z0-9-]*$

If invalid:

  1. Output: "Invalid feature name. Use kebab-case (e.g., user-auth, api-v2)"
  2. STOP

Auto-Generate Feature ID

Scan .specify/specs/ for existing feature directories and find highest ID.

# Find highest existing feature ID
HIGHEST_ID=0
if [ -d ".specify/specs" ]; then
  for dir in .specify/specs/*/; do
    if [ -d "$dir" ]; then
      dirname=$(basename "$dir")
      # Extract numeric prefix (first 3 chars)
      prefix="${dirname:0:3}"
      if [[ "$prefix" =~ ^[0-9]+$ ]]; then
        num=$((10#$prefix))
        if [ $num -gt $HIGHEST_ID ]; then
          HIGHEST_ID=$num
        fi
      fi
    fi
  done
fi

# Next ID is highest + 1
NEXT_ID=$((HIGHEST_ID + 1))

# Format as 3-digit zero-padded
FEATURE_ID=$(printf "%03d" $NEXT_ID)
echo "FEATURE_ID: $FEATURE_ID"

The feature ID follows format 001, 002, 003, etc.

Read the full file on GitHub · 238 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. 2d ago First seen · 238 lines · 12 tokens per session scan A 38f5e6dd6a79

Subscribe to this mod's changes

start is a command published in the GitHub repository tzachbon/smart-ralph (527 stars, last pushed 4d ago), licensed MIT. It adds 12 tokens to every session and 1,549 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.