ralph-executor

ralph-executor is an agent for Claude Code from giocaizzi/ralph-copilot. It costs 85 tokens per session (1,037 once invoked), scanned A, original, MIT.

An implementation agent for one task in a Ralph loop. It works in an isolated worktree, follows PRD.md and repository instructions, writes or updates focused tests, runs verification, and commits the result.

In plain words
What is it for?
Use it to implement one assigned task or address review findings in a separate worktree. It is intended for repository changes that have defined files, acceptance criteria, and verification commands.
Why use it?
It keeps each implementation task scoped and separated from other work, reducing conflicts when tasks run in parallel. It also requires evidence from repository checks before reporting completion.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions AGENTS.md.

Part of the ralph plugin — 2 skills, 4 agents shipped together

Good fit Use it to implement one assigned task or address review findings in a separate worktree. It is intended for repository changes that have defined files, acceptance criteria, and verification commands.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/giocaizzi/ralph-copilot/ralph-executor
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.

Clone the repo
git clone --depth 1 https://github.com/giocaizzi/ralph-copilot

Made for: Claude Code.

Or install ralph, the plugin that ships this one along with the rest of its 2 skills, 4 agents.

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-executor

README.md
[![agentmods](https://agentmods.dev/badge/agents/giocaizzi/ralph-copilot/ralph-executor/github.svg)](https://agentmods.dev/agents/giocaizzi/ralph-copilot/ralph-executor)
Your own site
<a href="https://agentmods.dev/agents/giocaizzi/ralph-copilot/ralph-executor"><img src="https://agentmods.dev/badge/agents/giocaizzi/ralph-copilot/ralph-executor/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-executor

Your own site · 80×15
<a href="https://agentmods.dev/agents/giocaizzi/ralph-copilot/ralph-executor"><img src="https://agentmods.dev/badge/agents/giocaizzi/ralph-copilot/ralph-executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 85 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,037 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.00085 $0.01037
Opus 5.5 $0.00034 $0.00415
Sonnet 5.5 $0.00017 $0.00207
Haiku 4.5 $0.00009 $0.00104

Measured today against content hash 057b93e04144, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ralph-executor 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 today.

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.

plugins/ralph/agents/ralph-executor.md · 79 lines

How it starts

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

Ralph Loop Executor

You are the Executor in a Ralph loop. You implement one well-defined task in a fresh context inside your isolated worktree, prove it with the repository's verification gate, record progress, commit locally, and return a concise completion summary to ralph-coordinator.

Workflow

1. Load Context and Skills

Always start by reading:

  • AGENTS.md (if present, for repo-specific rules and commands)
  • PRD.md (task acceptance criteria, target files, verification commands)
  • PROGRESS.md (completed work, decisions, notes)
  • git log -5 --oneline (recent commits and conventions)

Before editing files, load any relevant installed language, framework, or testing skills via Skill/skill so your implementation and tests follow house rules.

2. Implement Strictly the Assigned Task

  • Scope: Work only on the single task and Target Files assigned by ralph-coordinator. Match existing style and architecture; fix root causes rather than adding workarounds; remove dead code, unused imports, and obsolete comments.
  • Tests: Write or update focused tests covering every acceptance criterion and edge case.
  • Round-2 review fixes: When dispatched after a ralph-reviewer FAIL verdict:
    • Resolve every Blocker and Major finding cited by the reviewer.
    • Make every committed x-failing regression test pass by fixing the underlying production code, and remove its xfail/todo/skip marker (pytest.mark.xfail, Vitest test.fails/test.todo, Go t.Skip("xfail: ..."), Node test.todo, etc.) so it executes as a normal passing test.
  • Unsettled choices: If a task requires a product, interface, or architectural decision that PRD.md and the codebase do not settle, do not guess. Commit any safe partial progress and stop, reporting the exact open choice in your summary.

3. Run the Verification Gate

Run the repository's local verification gate before committing:

  • Prefer make check-fast where defined in Makefile, else make check, else the project's native lint/typecheck/test/build commands.
  • Also run every task-specific command listed under Verification Commands in PRD.md.
  • Never claim checks passed without running them and observing exit code 0.

Read the full file on GitHub · 79 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. today First seen · 79 lines · 85 tokens per session scan A 057b93e04144

Subscribe to this mod's changes

ralph-executor is an agent published in the GitHub repository giocaizzi/ralph-copilot (134 stars, last pushed today), licensed MIT. It adds 85 tokens to every session and 1,037 once invoked, about $0.0003 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-11-30.

Related

ralph-executor compared with agents from other repositories

ralph-executor next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralph-executorgiocaizzi/ralph-copilotAgent134todayMITA85Claude Code
MAF Auditor Agentjoslat/maf-doctorAgent1414d agoMITA69Claude Code
MAF Best-Practice Reviewerjoslat/maf-doctorAgent1414d agoMITA89Claude Code
MAF Incident Responderjoslat/maf-doctorAgent1414d agoMITA101Claude Code
MAF Rollback Agentjoslat/maf-doctorAgent1414d agoMITA79Claude Code
MAF (primary)joslat/maf-doctorAgent1414d agoMITA119Claude Code
MAF Cross-Framework Migration Agentjoslat/maf-doctorAgent1414d agoMITA116Claude Code