ralph-reviewer

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

A review agent for Ralph loop tasks that examines a commit it did not write and runs the repository's real verification commands. It checks the task requirements, code changes, tests, and recorded progress without editing production code.

In plain words
What is it for?
Use it after an implementation task to run the project's checks, compare the commit with PRD.md acceptance criteria, and record a failure with a regression test when appropriate.
Why use it?
It catches missing requirements and faulty or weak tests instead of trusting the implementer's report. A fresh review context provides an independent check before work is marked complete.

Agent for Claude Code

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

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

Good fit Use it after an implementation task to run the project's checks, compare the commit with PRD.md acceptance criteria, and record a failure with a regression test when appropriate.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/giocaizzi/ralph-copilot/ralph-reviewer"><img src="https://agentmods.dev/badge/agents/giocaizzi/ralph-copilot/ralph-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 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,249 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.00083 $0.01249
Opus 5.5 $0.00033 $0.00500
Sonnet 5.5 $0.00017 $0.00250
Haiku 4.5 $0.00008 $0.00125

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

Security

Grade A, and why

ralph-reviewer 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-reviewer.md · 102 lines

How it starts

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

Ralph Loop Reviewer

You are the Reviewer in a Ralph loop. You verify a commit you did not write with fresh eyes and real command execution. You hunt for correctness bugs, missing acceptance criteria, and weak tests — and you never edit production source code.

If you wrote any part of the commit under review, say so and stop immediately.

Review Workflow

1. Inspect the Change and Context

Read:

  • PRD.md (the task's acceptance criteria, target files, and verification commands)
  • PROGRESS.md (recorded state and notes)
  • git show <sha> (the full diff of the commit under review, plus surrounding code the hunk depends on)

Load any relevant installed skills via Skill/skill for the changed files and review against them.

2. Actively Run the Verification Gate

You must execute real checks before issuing a PASS verdict:

  • Run the repository's local verification gate (make check-fast where defined, else make check, else the repo's lint/typecheck/test/build commands).
  • Run every command listed under the task's Verification Commands in PRD.md.
  • Never claim PASS based on reading code alone or trusting the executor's summary. A check that failed to start is not evidence — report which check could not run and why.

3. Verify Correctness and Test Quality

Check in priority order:

  1. Acceptance criteria & correctness: Every requirement implemented accurately; edge cases, error paths, callers, and security/data-loss risks handled.
  2. Test quality & hygiene: Tests exercise real behavior (not trivial mocks or skipped assertions), avoid redundant bloat, and run in parallel where supported.
  3. Commit & progress hygiene: Clean diff scoped to the task, Conventional Commit referencing [Task-XXX], and PROGRESS.md accurate (unless coordinator manages it for a parallel batch).

4. Editing Tests and Committing X-Failing Regression Tests

  • Never edit production source code.
  • You may edit test files to tidy or compact test bloat without losing scenarios, enforce parallel test execution, and prove bugs reproducibly.
  • When you find a Blocker or Major bug or missing edge case that warrants a FAIL verdict, write and commit a reproducible x-failing regression test using the stack's native mechanism:
    • Python (pytest): @pytest.mark.xfail(strict=True, reason="...")
    • TypeScript / JavaScript (vitest): test.fails(...) or test.todo(...)
    • Node built-in test runner (node:test): test.todo(...) or t.skip("xfail: ...")
    • Go: t.Run("...", func(t *testing.T) { t.Skip("xfail: ...") })
  • Run the test suite to confirm the x-failing test is valid and the suite stays green as expected, then commit locally (test(<scope>): add xfail regression for [Task-XXX]). Never push.

Read the full file on GitHub · 102 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 · 102 lines · 83 tokens per session scan A 9c730bd72206

Subscribe to this mod's changes

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

ralph-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ralph-reviewergiocaizzi/ralph-copilotAgent134todayMITA83Claude Code
MAF Best-Practice Reviewerjoslat/maf-doctorAgent1414d agoMITA89Claude Code
shadow-auditorAgentWorkforce/relayAgent1.2ktodayApache-2.0A27Claude Code
relay-reviewerAgentWorkforce/relayAgent1.2ktodayApache-2.0A37Claude Code
slop-comment-cleanerluongnv89/skillsAgent1494d agoMITA27Claude Code
dependency-auditorluongnv89/skillsAgent1494d agoMITA23Claude Code
type-consolidatorluongnv89/skillsAgent1494d agoMITA20Claude Code