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.
git clone --depth 1 https://github.com/tzachbon/smart-ralphWrote 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.
[](https://agentmods.dev/commands/tzachbon/smart-ralph/start)<a href="https://agentmods.dev/commands/tzachbon/smart-ralph/start"><img src="https://agentmods.dev/badge/commands/tzachbon/smart-ralph/start/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.
<a href="https://agentmods.dev/commands/tzachbon/smart-ralph/start"><img src="https://agentmods.dev/badge/commands/tzachbon/smart-ralph/start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.01549 |
| Opus 5.5 | $0.00005 | $0.00620 |
| Sonnet 5.5 | $0.00002 | $0.00310 |
| Haiku 4.5 | $0.00001 | $0.00155 |
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 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.
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:
- Output: "No constitution found. Run /speckit:constitution first to establish project principles."
- 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:
- Output: "Usage: /speckit:start [goal]"
- Output: "Example: /speckit:start user-auth Add OAuth2 support"
- STOP
Validate feature-name is kebab-case:
- Only lowercase letters, numbers, hyphens
- Must start with letter
- Regex:
^[a-z][a-z0-9-]*$
If invalid:
- Output: "Invalid feature name. Use kebab-case (e.g., user-auth, api-v2)"
- 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.
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.
- 1mo ago First seen · 238 lines · 12 tokens per session scan A 38f5e6dd6a79
start is a command published in the GitHub repository tzachbon/smart-ralph (559 stars, last pushed 1mo ago), licensed MIT. It adds 12 tokens to every session and 1,549 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-30.
Other commands, from other repositories
ticket
Take a GitHub issue through an isolated implementation and pull request in its own Herdr tab.
pr
Push the current branch and open a pull request.
squash
Squash recent commits into a single clean commit.
worktree
Create a git worktree for isolated feature/fix work.
release
Release manager for frontend and mobile. Writes App Store notes, user-facing changelog, flags stale docs and landing copy. Actions: notes | changelog | docs | sync.
resume-project
Run resume-project now — Now / Blocked / Next. Not a cheat sheet.