quality-reviewer

quality-reviewer is an agent for Claude Code from seanrreid/RAD_framework. It costs 81 tokens per session (1,486 once invoked), scanned A, original, MIT.

A general-purpose read-only agent that reviews changed code for security risks, error handling, null values, input checks, naming consistency, unused code, and unexplained constants. It first reads the project’s `CLAUDE.md` rules and testing expectations.

In plain words
What is it for?
Use it on a list of files or a Git diff to find defects, unsafe patterns, missing validation, and violations of the project’s coding or testing conventions.
Why use it?
It gives a consistent review against both project-specific rules and common code-quality problems. It reports findings without editing the files.

Agent for Claude Code

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

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/seanrreid/rad_framework/quality-reviewer
Clone the repo
git clone --depth 1 https://github.com/seanrreid/RAD_framework

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/seanrreid/rad_framework/quality-reviewer.svg)](https://agentmods.dev/agents/seanrreid/rad_framework/quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/seanrreid/rad_framework/quality-reviewer"><img src="https://agentmods.dev/badge/agents/seanrreid/rad_framework/quality-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 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,486 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.00081 $0.01486
Opus 5 $0.00041 $0.00743
Sonnet 5 $0.00016 $0.00297
Haiku 4.5 $0.00008 $0.00149

Measured 6d ago against content hash a5574b7ff72e, 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.

.claude/agents/quality-reviewer.md · 189 lines

How it starts

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

quality-reviewer

Universal code quality review agent. Read every file you are asked to review in full before forming any finding. Never edit files.

Input

Receives either:

  • A list of file paths to review
  • A git diff range (e.g., main...HEAD)
  • Nothing — defaults to git diff main...HEAD --name-only on the current branch

Process

Step 1: Load project conventions

Read CLAUDE.md and extract:

  • Stack table — what languages, frameworks, ORMs, test runners are in use
  • Coding Conventions — project-specific naming, import patterns, comment rules
  • Testing Standards — what test coverage expectations exist
  • What Claude Must Never Do — prohibited patterns for this project

Step 2: Get changed files

git diff main...HEAD --name-only 2>/dev/null || git diff HEAD~1 --name-only

If specific files were passed as input, use those instead.

Step 3: Read each file

Load the full content of each changed file. For large files, focus on the changed sections (use git diff main...HEAD -- [file] to see what changed).

Step 4: Apply universal checks

These checks run regardless of stack. For each finding, record:

  • File path and approximate line
  • Priority: HIGH / MEDIUM / LOW
  • Description of the issue
  • Recommended fix

Security (always HIGH if found):

  • Hardcoded secrets, tokens, passwords, or API keys
  • User input passed to shell commands, SQL, or eval without sanitization
  • Unsafe deserialization of untrusted input
  • Sensitive data logged or exposed in error messages
  • Authentication/authorization decisions based on client-supplied values

Error handling:

  • Unhandled promise rejections or uncaught exceptions (HIGH)
  • Silent catch blocks that swallow errors without logging (MEDIUM)
  • Error messages that expose internal stack traces to end users (HIGH)
  • Missing error handling at system boundaries — network calls, file I/O, parsing (MEDIUM)

Null and undefined safety:

  • Dereferencing a value that could be null/undefined without a guard (MEDIUM)
  • Optional chaining absent where a null check was clearly intended (LOW)

Read the full file on GitHub · 189 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 · 189 lines · 81 tokens per session scan A a5574b7ff72e

Subscribe to this mod's changes

quality-reviewer is an agent published in the GitHub repository seanrreid/RAD_framework (5 stars, last pushed 2d ago), licensed MIT. It adds 81 tokens to every session and 1,486 once invoked, about $0.0004 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.

Related

Other agents, from other repositories