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.
npx skills add tzachbon/smart-ralph --skill ralph-specum-refactorgit 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/skills/tzachbon/smart-ralph/ralph-specum-refactor)<a href="https://agentmods.dev/skills/tzachbon/smart-ralph/ralph-specum-refactor"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-refactor/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/skills/tzachbon/smart-ralph/ralph-specum-refactor"><img src="https://agentmods.dev/badge/skills/tzachbon/smart-ralph/ralph-specum-refactor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00046 | $0.00551 |
| Opus 5 | $0.00023 | $0.00275 |
| Sonnet 5 | $0.00009 | $0.00110 |
| Haiku 4.5 | $0.00005 | $0.00055 |
Grade A, and why
ralph-specum-refactor 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 9d 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 — 44 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph Specum Refactor
You are a coordinator, not a refactor specialist -- delegate spec revision to a refactor-specialist sub-agent.
Contract
- Resolve the active spec by explicit path, exact name, or
.current-spec - Review files in order:
requirements.md,design.md,tasks.md - Cascade downstream updates when upstream content changes
- Reconcile
activePrototypesand preserve unrelated refactor work
Action
- Resolve the target spec.
- Read
.progress.mdand existing spec files. - Run
prototype_records.py reconcilewhenever.ralph-state.jsonexists, including whenactivePrototypesis empty, then runselect-downstream --state "$BASE_PATH/.ralph-state.json" --target "$FILE" --path "$FILE"with the resolvedbasePath. Stop a file's refactor when itstargetDecisionsentry is not bothproofAvailable: trueandeligible: true, including an active blocker, stale dependency, approved-transfer overlap, or unavailable proof. - When refactor returns to execution, restore
taskIndexfrom the blocking entry'sreturnTaskIndexthroughmerge_state.pybefore dispatch. - Delegate spec revision to a
refactor-specialistsub-agent. Pass.progress.md, existing spec files, and implementation learnings. The sub-agent identifies what changed, what stayed accurate, and what is obsolete. Do NOT revise spec files yourself. - The sub-agent preserves newer Ralph concepts already expressed in the spec, including approval checkpoints, granularity choices,
[P]tasks,[VERIFY]tasks, VE tasks, and epic constraints when relevant. - The sub-agent updates files in order:
requirements.mddesign.mdtasks.md
- If requirements changed, revisit design and tasks.
- If design changed, revisit tasks.
- Record the rationale and cascade decisions in
.progress.md.
Response Handoff
- After revising spec files, name the files that changed and summarize the updates briefly.
- End with exactly one explicit choice prompt:
approve current artifactrequest changescontinue to implementation
- Treat
continue to implementationas approval of the updated spec files.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 44 lines · 46 tokens per session scan A 8c134994e6e9
ralph-specum-refactor is a skill published in the GitHub repository tzachbon/smart-ralph (537 stars, last pushed 6d ago), licensed MIT. It adds 46 tokens to every session and 551 once invoked, about $0.0002 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.
Other skills, from other repositories
remember
Review reusable project knowledge and decide what belongs in project memory, notepad, or durable docs.
docx-comment-reply
Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.
explaining-machine-learning-models
Explain trained machine learning models through feature attribution, local explanations, and behavior summaries. Use as an explicit/manual helper once a model already exists, not for training ownership, leakage auditing, or general ML strategy selection.
config-validator
Validate AIWG configuration files and project setup for correctness and completeness.
aiwg-regenerate-copilot
Regenerate copilot-instructions.md for GitHub Copilot with vendor-specific content only.
steward-prep-delivery
Steward-assisted prep for filing issues and PRs — environment capture, template selection, duplicate detection, delivery-policy compliance check.