Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add tzachbon/smart-ralph/plugin install ralph-specumWrote 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/prototype)<a href="https://agentmods.dev/commands/tzachbon/smart-ralph/prototype"><img src="https://agentmods.dev/badge/commands/tzachbon/smart-ralph/prototype.svg" alt="Measured on agentmods" 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.00006 | $0.00423 |
| Opus 5 | $0.00003 | $0.00211 |
| Sonnet 5 | $0.00001 | $0.00085 |
| Haiku 4.5 | $0.00001 | $0.00042 |
Grade B, and why
prototype scanned grade B with 1 finding 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
allowed-tools: "*" What it actually says
Prototype
Coordinate one optional prototype overlay. Do not implement source work in this command.
- Parse
$ARGUMENTS. Accept direct invocation by default,--suggested --return-phase <phase>,--resume <id>,--cancel <id>, or--quick. A spec name may precede the mode. - Source
${CLAUDE_PLUGIN_ROOT}/hooks/scripts/path-resolver.shand callralph_resolve_context. If a spec name was supplied, replace the contextbasePathwith the verified result fromralph_find_specand setspecRootto its parent. Stop ifbasePathis null or missing. - Read
${CLAUDE_PLUGIN_ROOT}/references/prototype-coordinator.mdcompletely and follow it without reimplementing its mechanics. - Use only the resolved
basePathand these helpers:${CLAUDE_PLUGIN_ROOT}/hooks/scripts/locked-state.py${CLAUDE_PLUGIN_ROOT}/hooks/scripts/prototype-records.py${CLAUDE_PLUGIN_ROOT}/hooks/scripts/prototype-harness.py
- Preserve the current main phase and current checkout while the overlay runs. Stop at safe tool boundaries. Require the exact normal-mode approvals for capture, dirty paths, verdict, handoff, deletion, and every remote action.
- Store and resume the request in
activePrototypeswithreturnPhaseand anyreturnTaskIndex. Reconcile immutable records before dispatch or publication. - In quick mode, let the agent own all choices, keep the run bounded, review any post-deletion bytes, publish one terminal outcome, and continue to design without a user stop.
- Never push source or evidence, update a remote issue, or publish a branch without separate explicit authorization.
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.
- 2d ago First seen · 22 lines · 6 tokens per session scan B c52299a0c1fd
prototype is a command published in the GitHub repository tzachbon/smart-ralph (533 stars, last pushed 3d ago), licensed MIT. It adds 6 tokens to every session and 423 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
Other commands, from other repositories
psm
/oh-my-claudecode:psm is a compatibility alias for /oh-my-claudecode:project-session-manager.
project
Generate project documentation (product.md, structure.md, tech.md, codemaps/).
version
Display current guide and Claude Code versions.
discover
Run a full product discovery cycle — from outcome definition through opportunity mapping, prioritisation, and experiment design. Use when the team isn't sure what to build next, or before writing a PRD for a complex feature space.
diff-docs
Compare official Anthropic docs baseline vs current snapshot (no network — instant).
voice-compliance
Voice/telephony compliance check — invokes voice-ai-reviewer to produce TM-voice-{slug}.md with TCPA, STIR/SHAKEN, state recording-consent, EU AI Act Art. 50, and synth-voice deepfake-law gaps.