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/TheBeardedBearSAS/claude-craftWrote 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/thebeardedbearsas/claude-craft/ralph-run)<a href="https://agentmods.dev/commands/thebeardedbearsas/claude-craft/ralph-run"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/ralph-run/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/thebeardedbearsas/claude-craft/ralph-run"><img src="https://agentmods.dev/badge/commands/thebeardedbearsas/claude-craft/ralph-run.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.00024 | $0.02796 |
| Opus 5.5 | $0.00010 | $0.01118 |
| Sonnet 5.5 | $0.00005 | $0.00559 |
| Haiku 4.5 | $0.00002 | $0.00280 |
Grade A, and why
ralph-run 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 25d 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 — 249 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph Run - Boucle Continue d'Agent IA v2.0
Execute Claude en boucle continue jusqu'a ce que la tache soit terminee ou que les criteres Definition of Done (DoD) soient satisfaits.
Arguments
$ARGUMENTS
<description-tache>: La tache a accomplir par Claude--auto-detect: Detection automatique du type de projet et configuration DoD--init: Generer la configuration sans executer--interactive: Assistant de configuration interactif
Nouvelles fonctionnalites v2.0
| Fonctionnalite | Description |
|---|---|
| Integration Hooks | Integration bidirectionnelle avec Claude Code 2.1.23+ |
| Auto-Detection | Detection automatique du type de projet (Symfony, Flutter, React, etc.) |
| Dashboard | Affichage temps reel avec barre de progression |
| Export Metriques | Metriques au format JSON et Prometheus |
| Circuit Breaker Adaptatif | 5 profils avec apprentissage historique |
| Moniteur de Sante | Detection blocage, spirale d'erreurs, gonflement contexte |
| Templates DoD | Templates preconfigures pour 8 technologies |
Processus
1. Initialisation de session
-
Verifier prerequis:
- Verifier disponibilite de Claude
- Chercher configuration
ralph.yml - Initialiser repertoire session (
.ralph/)
-
Detection automatique (si
--auto-detect):- Detecter type de projet (Symfony, Flutter, React, Python, .NET, Go, Rust)
- Charger template DoD approprie
- Configurer commandes test et lint
-
Charger configuration:
- Lire
ralph.ymlou.claude/ralph.yml - Definir iterations max, timeouts, criteres DoD
- Initialiser hooks si actives
- Lire
Isolation des sessions et des workers parallèles
- Session Claude explicite : chaque session Ralph fixe son propre identifiant de conversation Claude —
claude --session-id <uuid>à la première itération, puisclaude --resume <uuid>. L'UUID est stocké dans.ralph/sessions/<session>/claude_session_id, ce qui permet à--continue=<session>de reprendre la bonne conversation. Ralph n'utilise plusclaude --continue, qui reprenait « la conversation la plus récente du répertoire » (partagée entre workers, voire avec une session interactive de l'utilisateur). - Worktree git par worker (mode parallèle,
lib/parallel-manager.sh) : chaque story s'exécute dans un worktree dédié.ralph/parallel/worktrees/<session>sur la brancheralph/<session>, avec son état Ralph sous.ralph/parallel/sessions/<session>/ralph/. En fin de run, les modifications restantes sont commitées enwip(ralph): <story>sur cette branche, puis le worktree est retiré (git worktree remove). Si ce commit échoue, le worktree est conservé (aucune perte) et signalé dansoutput.log. Le travail se récupère en fusionnant les branchesralph/*. - Hors dépôt git : pas de worktree ; le worker s'exécute dans le répertoire courant (avertissement affiché), l'isolation des sessions Claude restant assurée.
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.
- 25d ago Changed 28e70f8db746
- 1mo ago Changed 8b8fb548aa1a
- 3mo ago First seen · 249 lines · 24 tokens per session scan A 881cb9303d55
ralph-run is a command published in the GitHub repository TheBeardedBearSAS/claude-craft (108 stars, last pushed 19d ago), licensed MIT. It adds 24 tokens to every session and 2,796 once invoked, about $0.0001 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.
ralph-run compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ralph-runTheBeardedBearSAS/claude-craft | Command | 108 | 19d ago | MIT | A | 24 | Claude Code |
| assemble-teamtravisjneuman/.claude | Command | 116 | today | MIT | A | 25 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | yesterday | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | yesterday | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | yesterday | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | yesterday | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 154k | yesterday | MIT | A | 35 | Claude Code |