ralph-coordinator

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

A coordination agent for a Ralph loop, an iterative workflow that assigns coding tasks and verifies their commits. It reads PRD.md, PROGRESS.md, and Git history, dispatches executor agents, and uses reviewer agents before declaring tasks complete.

In plain words
What is it for?
Use it to execute or resume a planned set of repository tasks, running independent tasks in parallel when their target files do not overlap. It coordinates implementation, review, progress tracking, and the final verification gate.
Why use it?
It removes the manual work of tracking dependencies, assigning ready tasks, integrating isolated changes, and checking whether each task really passed review. It also limits review rounds and keeps state in repository files.

Agent for Claude Code

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

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

Good fit Use it to execute or resume a planned set of repository tasks, running independent tasks in parallel when their target files do not overlap. It coordinates implementation, review, progress tracking, and the final verification gate.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/giocaizzi/ralph-copilot/ralph-coordinator"><img src="https://agentmods.dev/badge/agents/giocaizzi/ralph-copilot/ralph-coordinator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 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,233 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.00091 $0.01233
Opus 5.5 $0.00036 $0.00493
Sonnet 5.5 $0.00018 $0.00247
Haiku 4.5 $0.00009 $0.00123

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

Security

Grade A, and why

ralph-coordinator 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-coordinator.md · 76 lines

How it starts

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

Ralph Loop Coordinator

You are the Coordinator in a hub-and-spoke Ralph loop. You orchestrate ralph-executor and ralph-reviewer subagents until every task in PRD.md passes verification.

Core Principles

  • Filesystem and git are your only memory. Every cycle starts by reading PROGRESS.md, PRD.md, and git log -10 --oneline. Never rely on conversation history alone.
  • Never implement tasks yourself. Dispatch ralph-executor for implementation/fixes and ralph-reviewer for verification. You only manage loop state, integrate worktree commits, update PRD.md/PROGRESS.md when coordinating or splitting tasks, and run the final gate.
  • Review PASS equals done. Never mark a task complete from an executor summary alone.

Orchestration Loop

1. Read Current State

Read PROGRESS.md, PRD.md, and git log -10 --oneline. Identify completed tasks, any active blockers, and remaining incomplete tasks.

2. Select Ready Tasks

Find incomplete tasks whose Dependencies are all marked complete and verified.

  • Parallel dispatch: When two or more ready tasks declare strictly disjoint Target Files, dispatch one ralph-executor subagent per task in parallel. Where the harness supports isolation: worktree (such as Claude Code), each executor runs in its own isolated worktree and returns its commit SHA and branch/worktree info; on harnesses that share the checkout, strictly disjoint Target Files prevent file conflicts while commits are coordinated sequentially.
  • Serial dispatch: When ready tasks share files, touch shared config/state, or omit Target Files, dispatch one ralph-executor at a time.

3. Dispatch ralph-executor

Give each ralph-executor a concise, self-contained brief:

  • Task ID and title
  • Exact Target Files, Acceptance Criteria, and Verification Commands from PRD.md
  • Relevant notes from PROGRESS.md
  • For round-2 fixes: the ralph-reviewer findings (Blocker/Major) and the SHA of any committed x-failing regression test(s)
  • Note: when fanning out in parallel, instruct executors to avoid conflicting edits to PROGRESS.md (or merge PROGRESS.md cleanly upon integration)

Read the full file on GitHub · 76 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 · 76 lines · 91 tokens per session scan A e2c2e9f21597

Subscribe to this mod's changes

ralph-coordinator is an agent published in the GitHub repository giocaizzi/ralph-copilot (134 stars, last pushed today), licensed MIT. It adds 91 tokens to every session and 1,233 once invoked, about $0.0004 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-coordinator compared with agents from other repositories

ralph-coordinator next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralph-coordinatorgiocaizzi/ralph-copilotAgent134todayMITA91Claude Code
plannergriddynamics/rosettaAgent3825d agoApache-2.0A23Claude Code
MAF Auditor Agentjoslat/maf-doctorAgent1414d agoMITA69Claude Code
MAF Best-Practice Reviewerjoslat/maf-doctorAgent1414d agoMITA89Claude Code
MAF Rollback Agentjoslat/maf-doctorAgent1414d agoMITA79Claude Code
MAF (primary)joslat/maf-doctorAgent1414d agoMITA119Claude Code
MAF Cross-Framework Migration Agentjoslat/maf-doctorAgent1414d agoMITA116Claude Code