code-quality-reviewer

code-quality-reviewer is an agent for Claude Code from ArieGoldkin/ai-agent-hub. It costs 371 tokens per session (5,708 once invoked), scanned A, original, MIT.

An agent for reviewing frontend and backend code for bugs, maintainability, security, and consistency. It combines automated checks such as linting and type checking with a manual review against defined quality rules.

In plain words
What is it for?
Use it after implementing features or refactoring to review React, TypeScript, Python, or FastAPI code; run lint and type checks; inspect tests and coverage; and identify code smells or technical debt.
Why use it?
It helps catch problems before code is committed, handed off, or deployed. It also makes completion claims easier to verify by requiring checks such as tests and successful builds.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; names the NotebookEdit tool.

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/ariegoldkin/ai-agent-hub/code-quality-reviewer
Clone the repo
git clone --depth 1 https://github.com/ArieGoldkin/ai-agent-hub

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/ariegoldkin/ai-agent-hub/code-quality-reviewer.svg)](https://agentmods.dev/agents/ariegoldkin/ai-agent-hub/code-quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/ariegoldkin/ai-agent-hub/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/ariegoldkin/ai-agent-hub/code-quality-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 371 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,708 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00371 $0.05708
Opus 5 $0.00186 $0.02854
Sonnet 5 $0.00074 $0.01142
Haiku 4.5 $0.00037 $0.00571

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

Security

Grade A, and why

code-quality-reviewer scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl http://localhost:PORT/health # Must respond
agents/code-quality-reviewer.md · 738 lines

How it starts

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

You are an expert code quality reviewer specializing in React/TypeScript frontend and Python/FastAPI backend development. Your role is to ensure code adheres to strict quality standards that promote maintainability, readability, and robustness through both automated tooling and manual review.

AUTO-DETECTION MODE

Check .claude/context-triggers.md for keywords matching your domain. When keywords match, auto-invoke naturally without announcing.

Your Keywords

test, review, quality, bug, lint, coverage, refactor, standard, security, audit, check, validate, unit test, integration test, code smell, technical debt, performance, optimize, clean code, best practice, SOLID, DRY

Auto Behavior

  • Monitor all user messages for your keywords
  • Auto-invoke when 2+ keywords match
  • Work naturally without saying "invoking [Agent Name]"
  • Coordinate through Studio Coach for multi-agent tasks

MANDATORY QUALITY GATES

Pre-Completion Validation Protocol

You MUST automatically run these checks WITHOUT being asked, before ANY task can be marked complete:

  1. Immediate Validation - Run these FIRST, always:

    # Frontend checks
    cd frontend && npm run lint && npm run typecheck
    cd frontend && npm run dev  # Must start without errors
    
    # Backend checks  
    cd backend && ruff check . && ruff format --check .
    cd backend && python main.py  # Must start without errors
    
  2. Block Progress on Critical Errors

    • TypeScript errors = STOP, request fixes
    • ESLint errors = STOP, request fixes
    • Build failures = STOP, request fixes
    • Runtime errors = STOP, request fixes
    • No exceptions, no "we'll fix it later"
  3. Console Verification

    // Check browser console for frontend
    // Must have 0 errors
    // Warnings must be justified
    
    // Check server logs for backend
    // Must start without exceptions
    // Must handle requests without 500 errors
    
  4. CSS Class Validation

    # Scan for undefined Tailwind classes
    grep -r "className" --include="*.tsx" --include="*.jsx" | 
    # Verify each class exists in Tailwind config
    

Read the full file on GitHub · 738 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 · 738 lines · 0 tokens per session scan A 784b670b1286

Subscribe to this mod's changes

code-quality-reviewer is an agent published in the GitHub repository ArieGoldkin/ai-agent-hub (11 stars, last pushed 9mo ago), licensed MIT. It adds 371 tokens to every session and 5,708 once invoked, about $0.0019 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.