RalphExecutor

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

An executor for a Ralph loop, an iterative workflow where an agent completes one assigned coding task at a time. It reads the project requirements and progress files before implementing the task.

In plain words
What is it for?
Use it to carry out individual development tasks in a project managed with PRD.md, PROGRESS.md, and a coordinator-driven Ralph loop.
Why use it?
It keeps implementation focused on the coordinator's current task and the project's acceptance criteria. It also encourages checking existing code, documentation, tests, and recent changes first.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it to carry out individual development tasks in a project managed with PRD.md, PROGRESS.md, and a coordinator-driven Ralph loop.

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

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 RalphExecutor

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/giocaizzi/ralph-copilot/executor"><img src="https://agentmods.dev/badge/agents/giocaizzi/ralph-copilot/executor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 11 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,395 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.00011 $0.01395
Opus 5.5 $0.00004 $0.00558
Sonnet 5.5 $0.00002 $0.00279
Haiku 4.5 $0.00001 $0.00139

Measured 1mo ago against content hash f9200bd8e2e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

RalphExecutor 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 1mo 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.

agents/executor.agent.md · 246 lines

How it starts

The opening of the file, as written. The whole thing — 246 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 system. You do the actual work.

Core Philosophy

Iteration beats perfection. Ship working code, commit, move on.

Your Workflow

1. Understand Current State

ALWAYS start by reading:

# Required files
cat PROGRESS.md    # What's done, what's current
cat PRD.md         # Full requirements
git log -5         # Recent changes

2. Execute The Task

Work on EXACTLY what Coordinator assigned:

  • ONE task per iteration
  • Follow all acceptance criteria
  • Use appropriate tools for the language/stack
  • Read all available documentation, fetch it online and look in the source code
  • Use all available skills and instructions with best practices for the language/stack
  • Make sure to always check some of the other code to understand patterns and conventions
  • No Laziness: Find root causes. No temporary fixes.
  • Write tests if specified in PRD
Execution Tips
  • Use mv, cp, rm for file operations
  • Use grep, find, ack for searching codebase, sed, python for batch edits
  • Always explore all tools at your disposal, including web search for documentation and examples
  • For complex changes, break down into smaller commits with clear messages
Code comments and documentation
  • Always write clear, minimal comments only where necessary (complex logic, non-obvious decisions)
  • Maintain clear docstrings for functions/classes if common in the language/stack, adapt to conventions
  • Avoid over-commenting - code should be self-explanatory where possible

3. Verify Success

Note: If a Makefile or project-specific scripts exist, use those instead of the generic commands below.

Note: Depending on current language/stack, check configuration files (e.g. package.json, pyproject.toml,...) for specific commands, configurations and tooling.

Before committing ALWAYS ENSURE MINIMAL QUALITY CHECKS PASS:

# Example checks commands
# Build/compile
npm run build || uv build

# Tests
npm test || uv run pytest

# Formatting
npm run format || uv run black .

# Linting
npm run lint || uv run ruff check

Read the full file on GitHub · 246 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. 1mo ago First seen · 246 lines · 11 tokens per session scan A f9200bd8e2e6

Subscribe to this mod's changes

RalphExecutor is an agent published in the GitHub repository giocaizzi/ralph-copilot (137 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 1,395 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-30.

Related

Other agents, from other repositories

planner

Plan execution: turn approved intent/specs into a sequenced plan scaled to size. Full subagent.

griddynamics/rosetta · 23 tokens

MAF Auditor Agent

Use when you need to audit a .NET codebase and generate a ready-to-execute MAF migration plan. Given a repository, this agent scans source files and packages, runs dotnet-inspect diff, cross-references the Obsolete API Registry, and outputs a complete migration-plan.md with a populated tracking table.

joslat/maf-doctor · 69 tokens

MAF Best-Practice Reviewer

Use when you need a best-practice / drift audit of a clean MAF 1.3.0 codebase. Distinct from @maf-auditor (which generates a migration plan). This reviewer assumes you are ALREADY on 1.3.0 and asks 'is this code idiomatic, secure, observable, and identity-safe?' Output: audit-report.md, NOT migration-plan.md.

joslat/maf-doctor · 89 tokens

MAF Incident Responder

Use when a deployed MAF 1.3.0 app has hit a runtime failure (exception trace, hung workflow, silent workflow exit, agent loop, cost spike, prompt-injection symptom). Walks back from the symptom to the MAF pattern responsible, cross-references the obsolete-API registry + constraints, and proposes the deterministic fix.…

joslat/maf-doctor · 101 tokens

MAF Rollback Agent

Use when a MAF 1.3.0 migration has regressed in production and the team needs to roll back to a known-good MAF 1.2.0 baseline surgically (not via blanket git revert). Inverse of @maf-migration. Plans the rollback as a tracked rollback-plan.md with build-verified per-task reverts.

joslat/maf-doctor · 79 tokens

MAF (primary)

The primary entry point for the maf-autopilot toolkit. Use this when you're not sure which specialist to invoke. @maf triages your request, calls the right MCP tool directly when one suffices, or recommends a specialist agent (@maf-migration, @maf-cross-migration, @maf-auditor, @maf-best-practice-reviewer…

joslat/maf-doctor · 119 tokens