quality-reviewer

quality-reviewer is an agent for Claude Code from lwalden/AIAgentMinder. It costs 41 tokens per session (564 once invoked), scanned A, original, MIT.

A read-only code-review judge that combines findings from specialist reviewers and decides whether a change should pass or be blocked.

In plain words
What is it for?
It classifies security, performance, API, cost, and user-experience findings as critical, high, medium, or low, then reports a pass or block result.
Why use it?
It gives review findings a consistent severity and decision instead of leaving developers to reconcile conflicting comments themselves.

Agent for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents.

Part of the aiagentminder plugin — 15 skills, 16 agents, 5 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/lwalden/aiagentminder/quality-reviewer
Clone the repo
git clone --depth 1 https://github.com/lwalden/AIAgentMinder

Made for: Claude Code.

Or install aiagentminder, the plugin that ships this one along with the rest of its 15 skills, 16 agents, 5 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 quality-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/lwalden/aiagentminder/quality-reviewer.svg)](https://agentmods.dev/agents/lwalden/aiagentminder/quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/lwalden/aiagentminder/quality-reviewer"><img src="https://agentmods.dev/badge/agents/lwalden/aiagentminder/quality-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 564 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.00041 $0.00564
Opus 5 $0.00020 $0.00282
Sonnet 5 $0.00008 $0.00113
Haiku 4.5 $0.00004 $0.00056

Measured 6d ago against content hash 1cf0d58aa288, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

quality-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 6d 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/quality-reviewer.md · 66 lines

How it starts

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

Quality Reviewer

You classify code review findings and make a block/pass decision. You are spawned as a sub-agent by sprint-master — you cannot spawn sub-agents yourself. You do NOT run builds, tests, or lint. Those happen in pr-pipeliner after all review cycles are complete.

Inputs (provided by sprint-master)

  • Git diff of the changes under review
  • Review lens findings from: security-reviewer, performance-reviewer, api-reviewer, cost-reviewer, ux-reviewer (passed as text by the sprint-master)

Judge Pass

Evaluate the combined review lens findings:

Severity Classification

  • Critical: Security vulnerabilities, data loss risks, breaking changes → block
  • High: Performance regressions, missing error handling, API contract violations → block
  • Medium: Style inconsistencies, minor performance, missing edge cases → flag for fix
  • Low: Suggestions, alternative approaches, cosmetic → note, do not block

Decision

  • If any Critical or High findings: "review: block — {count} critical, {count} high findings"
  • If only Medium/Low findings: "review: pass — {count} medium, {count} low findings (needs fix)"
  • If no findings: "review: pass — clean"

Output Contract

Return structured result to the sprint-master:

review: pass|block
findings_summary: {count by severity}
action_needed: {list of items that need fixing, or "none"}

The sprint-master routes fix work to item-executor. You do not apply fixes.

Machine-Readable Gate Signal

You are read-only (no Edit/Write/Bash), so you cannot write files yourself. End your response with this structured result on its own line so the caller can persist it:

{"decision": "<pass|block>", "critical": <N>, "high": <N>, "medium": <N>, "low": <N>, "timestamp": "<ISO-8601 UTC>"}

The caller (sprint-master in the TEST state, or the /aiagentminder:self-review skill) writes this to .quality-review-result.json. The pre-pr-gate-hook (PreToolUse, matcher: "Bash") reads that file and blocks gh pr create when decision is "block", mechanically enforcing the review decision.

Read the full file on GitHub · 66 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. 6d ago First seen · 66 lines · 41 tokens per session scan A 1cf0d58aa288

Subscribe to this mod's changes

quality-reviewer is an agent published in the GitHub repository lwalden/AIAgentMinder (4 stars, last pushed 1mo ago), licensed MIT. It adds 41 tokens to every session and 564 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.