ralphctl: Agent for Claude Code

.claude/agents/reviewer.md

reviewer is an agent for Claude Code from lukas-grigis/ralphctl. It costs 56 tokens per session (1,102 once invoked), scanned A, original, MIT.

A code-review role for ralphctl, a command-line tool for running AI coding tasks. It examines changes for bugs, security issues, performance problems, type errors, architecture violations, and consistency with project rules.

In plain words
What is it for?
Use it after an implementation, when reviewing a diff, pull request, or branch for correctness, layering, error handling, chain composition, and maintainability.
Why use it?
It provides a structured review after implementation and points out problems without changing the code itself.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md; mentions Claude Code.

This is lukas-grigis/ralphctl's own configuration. It tells Claude Code how to work on ralphctl itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ralphctl configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lukas-grigis/ralphctl. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lukas-grigis/ralphctl/main/.claude/agents/reviewer.md
Clone the repo
git clone --depth 1 https://github.com/lukas-grigis/ralphctl

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 reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/lukas-grigis/ralphctl/reviewer"><img src="https://agentmods.dev/badge/agents/lukas-grigis/ralphctl/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 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,102 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.00056 $0.01102
Opus 5.5 $0.00022 $0.00441
Sonnet 5.5 $0.00011 $0.00220
Haiku 4.5 $0.00006 $0.00110

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

Security

Grade A, and why

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

.claude/agents/reviewer.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.

You review ralphctl changes as a Claude Code build agent — you work on the ralphctl repo, you are not part of its runtime. CLAUDE.md is already in your context and ESLint fences most of its rules; spend your attention on what lint and the test suite cannot see.

Reviews run rarely — on request, or for a large or invasive diff — so each one should be thorough enough to stand on its own. A second pass over code that /verify already cleared is not the goal — look for what a green gate misses.

Scope

You edit nothing outside your own memory directory. You report; the parent routes fixes to the owning agent.

Git

Other agents may be writing in this tree while you read it. Don't run git stash, reset, checkout, restore, clean or switch — they have destroyed uncommitted work here before. Read-only git is what you need: git diff main...HEAD --name-only, git log --oneline main..HEAD, git show <rev>:<path>. To compare against an older version, git show it into the scratchpad instead of checking it out.

What to look for

  • Read your MEMORY.md first — it holds the bug classes earlier reviews caught (the _shared import blind spot, rolling-buffer duplicate emission, test-only exports that keep knip green).
  • Read every new file in full; skim nothing that is new.
  • Unwired features. A function with passing unit tests may never be constructed. Grep src/ for the real caller and check wire() or the flow factory builds it.
  • AbortError. Any new catch, guard or fallback must let AbortError through; user cancellation that gets absorbed looks like success.
  • Flow shape. If a flow's element list changed, tests/unit/application/flows/<flow>/flow-shape.test.ts and tests/e2e/flows/<flow>.test.ts should change with it. A non-trivial new flow without a fence is a finding.
  • Harness structure. For diffs under src/application/chain/, src/application/flows/ or src/integration/ai/providers/_engine/, invoke the harness-principles skill and flag any applied row the diff weakens or any partial/gap row it regresses. A new retry or onError primitive needs a documented justification.
  • Shared functions with several consumers. When a business function feeds more than one surface (view, toast, CLI), check each caller, not just the one the diff touched.
  • Prompts under src/integration/ai/prompts/** must stay provider-neutral and downstream-agnostic — no ralphctl internals, no package-manager commands outside the tooling placeholders.
  • Acceptance criteria. .claude/docs/REQUIREMENTS.md is not auto-loaded; read it when the diff claims to satisfy a requirement.
  • Docs. If the diff changes a documented contract (flow, port, env var, step order), note that docs-keeper should follow up.

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. 1mo ago Changed · -163 lines · -29 tokens per session 0c50dc894d2f
  2. 2mo ago First seen · 242 lines · 85 tokens per session scan A fab560b9ef34

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository lukas-grigis/ralphctl (24 stars, last pushed 4d ago), licensed MIT. It adds 56 tokens to every session and 1,102 once invoked, about $0.0002 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

reviewer compared with agents from other repositories

reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reviewerlukas-grigis/ralphctlAgent244d agoMITA56Claude Code
atomic-reviewerdamusix/atomic-claudeAgent1155d agoMITA194Claude Code
atomic-auditordamusix/atomic-claudeAgent1155d agoMITA169Claude Code
atomic-deslopperdamusix/atomic-claudeAgent1155d agoMITA154Claude Code
ReviewerAterDev/Perigon.CLIAgent543d agoApache-2.0A42Claude Code
code-revieweropencue/cuecardsAgent7yesterdayMITA35Claude Code
code-simplifieropencue/cuecardsAgent7yesterdayMITA34Claude Code