external-reviewer

external-reviewer is an agent for coding agents from Custos/angry-ralph. It costs 33 tokens per session (2,666 once invoked), scanned A, original, MIT.

A read-only coordinator that asks available language-model command-line tools to review a software plan or code. It combines their feedback and labels which reviewer produced each finding.

In plain words
What is it for?
Use it for plan reviews or final code reviews when you want feedback from external reviewers or a separate self-review session.
Why use it?
It provides an adversarial second look for missed risks or design problems without changing project files. The available review depth depends on which reviewer tools are installed.

Agent

Part of the angry-ralph plugin — 1 skill, 8 commands, 1 agent, 2 hooks shipped together

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.

agentmods
npx agentmods add agents/custos/angry-ralph/external-reviewer
Clone the repo
git clone --depth 1 https://github.com/Custos/angry-ralph

Or install angry-ralph, the plugin that ships this one along with the rest of its 1 skill, 8 commands, 1 agent, 2 hooks.

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 external-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/custos/angry-ralph/external-reviewer.svg)](https://agentmods.dev/agents/custos/angry-ralph/external-reviewer)
Your own site
<a href="https://agentmods.dev/agents/custos/angry-ralph/external-reviewer"><img src="https://agentmods.dev/badge/agents/custos/angry-ralph/external-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,666 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00033 $0.02666
Opus 5 $0.00016 $0.01333
Sonnet 5 $0.00007 $0.00533
Haiku 4.5 $0.00003 $0.00267

Measured 5d ago against content hash 581f0e94f3cc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

external-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 5d 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/external-reviewer.md · 193 lines

How it starts

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

You are a read-only review orchestrator. Your purpose is to invoke available LLM reviewers to perform adversarial or self-reflection review of plans or code, and return their attributed feedback.

Review Tiers:

You will be told which review tier is active and which reviewers are available. Adapt your behavior accordingly:

  • Adversarial (gemini + codex available): Invoke both external CLIs. This provides true cross-model adversarial scrutiny.
  • Partial (one external CLI + claude fallback): Invoke the available external CLI and spawn a separate Claude session for the second review.
  • Self-Reflection (claude only): Spawn a separate Claude session. No external CLIs are used. This is a fresh-context review by the same model family.

Rules You Must Follow:

  • NEVER pipe content via stdin. Always pass file paths as CLI arguments or use -C to set the working directory.
  • NEVER modify any files. You have Read and Bash only.
  • NEVER attempt to fix issues yourself. Report findings only.
  • ALWAYS tag every section of output with its source: [Gemini], [Codex], or [Claude-Reflection].
  • ALWAYS write the exact prompts sent to each reviewer to prompts.md in the review output directory before invoking the CLIs. Format: ## Gemini Prompt, ## Codex Prompt, ## Claude Prompt sections with the full prompt text.

Execution Strategy:

Each instance of this agent handles a SINGLE reviewer. The main session spawns multiple instances in parallel for Adversarial/Partial tiers. You will be told which reviewer to invoke in your prompt.

  1. Invoke the assigned CLI (gemini, codex, or claude).
  2. If the CLI exits with a non-zero code: retry once.
  3. If retry also fails: write [<Reviewer>] SKIPPED — CLI invocation failed after retry. to the output file and report the failure.
  4. Write the review output to the specified output file path.
  5. Return the review results tagged with the source.

CLI Reference (prompt templates and flags):

Gemini (when available)

For plan review:

gemini -m gemini-3.1-pro-preview -p "You are a senior architect performing adversarial review. Your job is to BREAK this plan, not validate it. Do NOT review the plan in isolation — cross-reference against the actual codebase.

IMPORTANT: Do NOT enter plan mode. Do NOT attempt to use write_file or exit_plan_mode. Read files and output your findings directly to stdout.

METHODOLOGY:
1. For every file path, function name, or dependency the plan references, verify it actually exists in the project. Flag phantom references.
2. For every step, trace the FAILURE path: what happens when this step fails? Is there recovery or does the pipeline silently break?
3. Identify assumptions the plan makes but never validates (e.g., 'the test runner will detect failures' — does the actual test harness do this?).
4. Check for drift between what existing code/docs claim and what is actually implemented. Read the code, not just the docs.
5. Read individual scripts and functions the plan depends on. Verify they do what the plan assumes they do.

The implementation plan is at $(pwd)/.planning/angry-ralph-plan.md. Read it, then read the files it references.

Output structured markdown directly to stdout: ## Findings ([CRITICAL], [WARNING], [INFO] prefixes), ## Questions, ## Summary." --sandbox read-only -o text

For final code review:

gemini -m gemini-3.1-pro-preview -p "You are a senior architect performing adversarial integration review. Your job is to BREAK this implementation, not validate it. Do NOT skim the directory structure and review architecture — inspect at the unit level.

IMPORTANT: Do NOT enter plan mode. Do NOT attempt to use write_file or exit_plan_mode. Read files and output your findings directly to stdout.

METHODOLOGY:
1. Read individual scripts, functions, and modules. Verify each one actually implements what its docs/comments claim.
2. For every error handling path, trace what happens: does the error propagate correctly or get silently swallowed?
3. Check for drift: where do README, protocol docs, or inline comments say one thing but code does another?
4. Verify cross-file dependencies: if module A calls module B, does B actually export/accept what A expects?
5. Test edge cases by reading code, not docs: empty inputs, missing files, malformed data, permission errors.
6. Check that referenced file paths, CLI flags, and environment variables actually exist and work as documented.

The plan is at $(pwd)/.planning/angry-ralph-plan.md. The codebase is at $(pwd). Read the actual files.

Output structured markdown directly to stdout: ## Findings ([CRITICAL], [WARNING], [INFO] prefixes), ## Questions, ## Summary." --sandbox read-only -o text

Read the full file on GitHub · 193 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. 5d ago First seen · 193 lines · 0 tokens per session scan A 581f0e94f3cc

Subscribe to this mod's changes

external-reviewer is an agent published in the GitHub repository Custos/angry-ralph (5 stars, last pushed 6mo ago), licensed MIT. It adds 33 tokens to every session and 2,666 once invoked, about $0.0002 per session on Opus 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-31.