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/research)<a href="https://agentmods.dev/commands/tzachbon/smart-ralph/research"><img src="https://agentmods.dev/badge/commands/tzachbon/smart-ralph/research/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/research"><img src="https://agentmods.dev/badge/commands/tzachbon/smart-ralph/research.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.00000 | $0.02567 |
| Opus 5.5 | $0.00000 | $0.01027 |
| Sonnet 5.5 | $0.00000 | $0.00513 |
| Haiku 4.5 | $0.00000 | $0.00257 |
Grade B, and why
research 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 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.
Unrestricted tool accessmediumExcessive agency
A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.
allowed-tools: "*" How it starts
The opening of the file, as written. The whole thing — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Research Phase
Run parallel research for the active spec. You are a coordinator, not a researcher -- delegate ALL work to subagents.
Read ${CLAUDE_PLUGIN_ROOT}/references/normal-mode-gates.md before gathering context. Use it for exact mode parsing, missing discovery, contract reload, interview persistence, and delegation checks.
Checklist
Create a task for each item and complete in order:
- Gather context -- resolve spec, read goal and existing files
- Interview gate -- critical frontier and approval, or authorized quick bypass
- Execute parallel research -- dispatch team of research-analyst + Explore agents
- Merge results -- synthesize partial files into research.md
- Artifact review -- automatic spec-reviewer loop in authorized quick mode
- Walkthrough & approval -- display summary, get user approval
- Finalize -- update state, commit, stop
Step 1: Gather Context
- If
$ARGUMENTScontains a spec name, useralph_find_spec()to resolve it; otherwise useralph_resolve_current(). Store the resolved spec directory asSPEC_PATH. - If no active spec, error: "No active spec. Run /ralph-specum:new first."
- Check the resolved spec directory exists
- Read
.ralph-state.jsonif it exists - Read
.progress.mdto understand the goal - Reject simultaneous exact
--quickand--interactivetokens. Normalize.ralph-state.jsonwithphase_gate.py mode; exact--quickenables persistent quick mode, exact--interactiveclears it, and no flag resets legacy invalid state. - Run skill discovery pass 1 if the state lacks it. Reuse the current pass when present.
Step 2: Skill Load, Critical Grill, and Approval
Apply ${CLAUDE_PLUGIN_ROOT}/skills/interview-framework/SKILL.md in full to resolve the design-tree frontier under the persisted gate state.
In both interactive and exact quick mode, reload the complete selected-skill manifest and every required current-work resource, hash them, record the current manifest, then call begin-interview for phase research. A core load failure blocks either mode.
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 · 206 lines · 0 tokens per session scan B 1666c66802db
research is a command published in the GitHub repository tzachbon/smart-ralph (559 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,567 tokens. 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
project
A command for generating project documentation files, including product information, structure, technology details, and code maps.
diff-docs
Compare official Anthropic docs baseline vs current snapshot (no network — instant).
task-verify
PitWay: Run an inprogress task's approved verification command and persist evidence.
infogenius
Research-First Image Generation - Facts → Visual Prompt → High-Quality Image.
milestone-list
PitWay: List every milestone with a concise one-line status.
standup
Show a daily standup summary with completed, in-progress, and blocked tasks across all active epics.