ralph

ralph is a skill for Claude Code, Codex from mrzhangguoguo/oh-my-workbuddy. It costs 69 tokens per session (2,027 once invoked), scanned A, original, MIT.

A persistent coding workflow that keeps retrying and checking a task until it is complete and approved by an architecture review.

In plain words
What is it for?
Use it for complex work that needs repeated attempts, parallel execution, saved progress, automatic retries, and a final verification step.
Why use it?
It reduces the chance that a multi-step task is stopped after a partial implementation or an unverified result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Codex.

Good fit Use it for complex work that needs repeated attempts, parallel execution, saved progress, automatic retries, and a final verification step.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mrzhangguoguo/oh-my-workbuddy/ralph
Install

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.

Any agent
npx skills add mrzhangguoguo/oh-my-workbuddy --skill ralph
Clone the repo
git clone --depth 1 https://github.com/mrzhangguoguo/oh-my-workbuddy

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for ralph

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/ralph/github.svg)](https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/ralph)
Your own site
<a href="https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/ralph"><img src="https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/ralph/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.

agentmods 80×15 button for ralph

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/ralph"><img src="https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/ralph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,027 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.02027
Opus 5 $0.00034 $0.01014
Sonnet 5 $0.00014 $0.00405
Haiku 4.5 $0.00007 $0.00203

Measured 11d ago against content hash ce626a7190b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ralph 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 11d 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.

skills/ralph/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ported from oh-my-codex ralph. OMX runtime conventions ($macro invocation, omx CLI, .omx/ state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list, .workbuddy/memory).

Ralph

Ralph is a persistence loop that keeps working on a task until it is fully complete and architect-verified. It wraps parallel execution with session persistence, automatic retry on failure, and mandatory verification before completion.

Use When

  • Task requires guaranteed completion with verification (not just "do your best").
  • User says "ralph", "don't stop", "must complete", "finish this", "keep going until done".
  • Work may span multiple iterations and needs persistence across retries.
  • Task benefits from parallel execution with architect sign-off at the end.

Do Not Use When

  • User wants a full autonomous pipeline from idea to code — use the pipeline/autopilot path.
  • User wants to explore or plan first — use plan.
  • User wants a quick one-shot fix — delegate directly to an executor Agent.
  • User wants manual control over completion — execute directly.

Why This Exists

Complex tasks fail silently: partial implementations declared "done", tests skipped, edge cases forgotten. Ralph prevents this by looping until work is genuinely complete, requiring fresh verification evidence before completion, and using an explicit architect Agent verification to confirm quality.

Execution Policy

  • Fire independent Agent calls simultaneously — never wait sequentially for independent work.
  • Use run_in_background: true for long operations (installs, builds, test suites).
  • Preserve legacy Ralph tier intent through model selection if available: LOW → light model, STANDARD → default, THOROUGH → strongest available model. (WorkBuddy model routing is environment-dependent; only apply when a lighter/heavier model is selectable.)
  • Deliver the full implementation: no scope reduction, no partial completion, no deleting tests to make them pass.
  • Apply the shared workflow guidance pattern: outcome-first framing, concise visible updates, local overrides, validation proportional to risk, explicit stop rules, automatic continuation for safe reversible steps. Ask only for material, destructive, credentialed, external-production, or preference-dependent branches.

Read the full file on GitHub · 115 lines

Changes

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.

  1. 11d ago First seen · 115 lines · 69 tokens per session scan A ce626a7190b2

Subscribe to this mod's changes

ralph is a skill published in the GitHub repository mrzhangguoguo/oh-my-workbuddy (2 stars, last pushed 2mo ago), licensed MIT. It adds 69 tokens to every session and 2,027 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

execution-algo-trading

Institutional execution algorithms: TWAP, VWAP, Implementation Shortfall, POV, Iceberg orders, slippage analysis, market impact, and TCA. USE FOR: execution, TWAP, VWAP, implementation shortfall, slippage, market impact, TCA, iceberg order, POV, algo execution, transaction cost.

mahmoud20138/Tradecraft · 73 tokens

claude-md-improver

Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…

anthropics/claude-plugins-official · 82 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

gke-reliability

Improves GKE workload reliability, using PDBs, health probes, and topology spread constraints. Use when configuring GKE workload reliability, setting up PDBs, or configuring GKE health probes (liveness, readiness, startup). Don't use for disaster recovery setup or full cluster backups (use gke-backup-dr instead).

google/skills · 73 tokens

gke-workload-security

Audits, configures, and hardens workload-level security controls for Google Kubernetes Engine (GKE) applications and namespaces. Covers running cluster security audits (auditcluster.sh), configuring Workload Identity Federation (impersonation, KSA/GSA binding, and pod setup), enforcing Network Policies (default-deny…

google/skills · 181 tokens

agent-platform-model-registry

Agent Platform Model Registry Management. Use when you need to upload, list, describe, update, or delete machine learning models (and their versions) in the Agent Platform Model Registry. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform models.

google/skills · 60 tokens