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/runnithan/claudex-setupWrote 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/runnithan/claudex-setup/ralph-help)<a href="https://agentmods.dev/commands/runnithan/claudex-setup/ralph-help"><img src="https://agentmods.dev/badge/commands/runnithan/claudex-setup/ralph-help/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/runnithan/claudex-setup/ralph-help"><img src="https://agentmods.dev/badge/commands/runnithan/claudex-setup/ralph-help.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.00007 | $0.00479 |
| Opus 5.5 | $0.00003 | $0.00192 |
| Sonnet 5.5 | $0.00001 | $0.00096 |
| Haiku 4.5 | $0.00001 | $0.00048 |
Grade A, and why
ralph-help 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 24d 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 — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph Loop Help
Explain the following to the user:
What is Ralph Loop?
Ralph Loop implements the Ralph Wiggum technique, an iterative development methodology based on continuous AI loops, pioneered by Geoffrey Huntley.
Core concept: The same prompt is fed to Claude repeatedly. Claude sees its own previous work in files and git history, building incrementally toward the goal.
Each iteration:
- Claude receives the SAME prompt
- Works on the task, modifying files
- Tries to exit
- Stop hook intercepts and feeds the same prompt again
- Claude sees its previous work in the files
- Iteratively improves until completion
Available Commands
/ralph-loop PROMPT [OPTIONS]
Start a Ralph loop in your current session.
Options:
--max-iterations <n>, Max iterations before auto-stop--completion-promise <text>, Promise phrase to signal completion
Examples:
/ralph-loop Refactor the cache layer --max-iterations 20
/ralph-loop Add tests --completion-promise "TESTS COMPLETE"
/ralph-loop Fix the auth bug --completion-promise "FIXED" --max-iterations 10
/cancel-ralph
Cancel an active Ralph loop (removes the loop state file).
When to Use
Good for: Well-defined tasks with clear success criteria, tasks requiring iteration, greenfield projects.
Not good for: Tasks requiring human judgment, one-shot operations, unclear success criteria.
Limitation: no fresh context per iteration
This loop runs inside your current session. The Stop hook feeds the same prompt back, but the context window is never cleared between iterations, so a long loop accumulates context and degrades the way one long session does. A true Ralph loop gives every pass a fresh context that reads only the task files.
For fresh-context iterations, relaunch a new headless session per pass from a shell loop with an
iteration cap, for example for i in $(seq 20); do claude -p "$(cat PROMPT.md)"; done. A headless
run cannot answer permission prompts, so pre-approve the tools the task needs.
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.
- 24d ago Changed · +11 lines bab8d01b5e5e
- 1mo ago First seen · 49 lines · 7 tokens per session scan A 6615c9b4258c
ralph-help is a command published in the GitHub repository runnithan/claudex-setup (1 stars, last pushed 7d ago), licensed MIT. It adds 7 tokens to every session and 479 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-31.
Other commands, from other repositories
recall-save
Generate / overwrite .recall/context.md with Recall's local offline summarizer.
security-review
A security review procedure based on CWE, a list of common software weaknesses, and STRIDE, a method for identifying threats to a system.
notebook-query
Query the notebook knowledge base (SQLite) built by /agy:notebook — precise, grounded, cited. Ask in natural language ("sum the amounts by category", "which docs mention 'Acme Corp'", "build a project timeline") or pass raw SQL. Read-only. Use this when you need exact aggregates/lookups across a document corpus…
refactor
Analyze code for SOLID violations and suggest targeted improvements.
generate-tests
Generate comprehensive tests for specified code.
roadmap-edit.template
This prompt was authored for Claude-style slash workflows. In Codex runtime, adapt tool calls as follows.