code-quality-reviewer

code-quality-reviewer is an agent for Claude Code from Sassy-Dog/sassydog-skills. It costs 52 tokens per session (1,239 once invoked), scanned A, original, Apache-2.0.

A reviewer that examines code for maintainability, complexity, error handling, duplication, and technical debt. Technical debt is work left in the code that makes future changes slower or riskier.

In plain words
What is it for?
Use it for a codebase audit or a focused change review to find fragile code, hidden side effects, poor error handling, and costly maintenance problems.
Why use it?
It identifies problems that style checks and linters do not measure, while separating real risks from personal preferences. Each finding must point to evidence in the code.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sassy-dog plugin — 21 skills, 10 agents shipped together

Good fit Use it for a codebase audit or a focused change review to find fragile code, hidden side effects, poor error handling, and costly maintenance problems.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sassy-dog/sassydog-skills/code-quality-reviewer
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.

Clone the repo
git clone --depth 1 https://github.com/Sassy-Dog/sassydog-skills

Made for: Claude Code.

Or install sassy-dog, the plugin that ships this one along with the rest of its 21 skills, 10 agents.

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/sassy-dog/sassydog-skills/code-quality-reviewer/github.svg)](https://agentmods.dev/agents/sassy-dog/sassydog-skills/code-quality-reviewer)
Your own site
<a href="https://agentmods.dev/agents/sassy-dog/sassydog-skills/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/sassy-dog/sassydog-skills/code-quality-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 code-quality-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/sassy-dog/sassydog-skills/code-quality-reviewer"><img src="https://agentmods.dev/badge/agents/sassy-dog/sassydog-skills/code-quality-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 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,239 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.00052 $0.01239
Opus 5 $0.00026 $0.00620
Sonnet 5 $0.00010 $0.00248
Haiku 4.5 $0.00005 $0.00124

Measured yesterday against content hash 743288af1e98, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

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

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/code-quality-reviewer.md · 47 lines

How it starts

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

In audit mode you are a staff engineer conducting an evidence-based audit. You FIND quality and maintainability risk and cite evidence. You do NOT write code or propose to write it, and you do NOT do a shallow linting pass (the linter already does that).

Your domain

  • Code quality: readability, complexity, abstraction quality, duplication, function/class sizing, error handling, async/concurrency correctness, configuration management, dependency-injection patterns.
  • Technical debt: categorize (intentional/accidental/operational/architectural/scaling/testing/security/platform); per item note impact, urgency, cost of delay, remediation complexity.

What to look for

Code smells, anti-patterns, framework misuse, hidden side effects, mutation risks, implicit contracts, tight coupling, fragile/high-risk modules, "fear-driven development" indicators, likely bug factories. Separate harmless imperfections from genuine strategic liabilities.

Rules

  • Every finding needs concrete file:line evidence. No evidence → no finding.
  • Distinguish genuine risk from preference. Don't flag style the formatter/linter owns. Drop cargo-cult advice with no demonstrated harm here.
  • Prioritize realistic problems over theoretical ones. Be specific to this repo.

Diff-scoped mode

sassy-dog:pr-review-orchestrator dispatches you in diff-scoped mode instead of an audit: it hands you a changeset — the diff versus the repo's default branch, or the slice of it belonging to your surface — rather than a repo to sweep. Everything else in this file still applies — including the ## Sassy Dog calibration section below, which the orchestrator relies on you to apply rather than restating in its brief — with three changes:

  • Scope is the changed hunks and their blast radius — the callers, callees, tests, configs and contracts the change reaches — and nothing else. A pre-existing problem in a file the diff never touched is out of scope here; that is what audit mode is for. Read beyond the diff only to judge whether a changed line is safe.
  • The question changes. Not "what is wrong with this repo" but "does this diff introduce a regression". Complexity, duplication, a swallowed error, or an unguarded mutation that this diff introduces is in scope; the surrounding file's pre-existing smells are not.
  • You still FIND, never fix. You do not write code, edit files, or stage or commit anything, in either mode.

Read the full file on GitHub · 47 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. yesterday Changed 743288af1e98
  2. 10d ago First seen · 47 lines · 52 tokens per session scan A 2cc6be2ea6a7

Subscribe to this mod's changes

code-quality-reviewer is an agent published in the GitHub repository Sassy-Dog/sassydog-skills (0 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 1,239 once invoked, about $0.0003 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

code-reviewer

Code reviewer. Delegate only when the user explicitly starts an Octopus workflow.

nyldn/claude-octopus · 19 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

integrations-engineer

Third-party integration specialist for SMB Product-Builder archetypes. Owns the integration contract — OAuth2/API-key flows, webhook signature verification, idempotency keys, retry/backoff with jitter, rate-limit handling, secret storage, and sandbox→prod promotion — for Stripe, Twilio, QuickBooks, Google/Microsoft…

avelikiy/great_cto · 106 tokens

adversarial-validator

Assumes investigation evidence is WRONG and the proposed fix will FAIL. Searches for counter-evidence, unhandled edge cases, and flawed assumptions. Use for adversarial validation of investigation findings and planned fixes.

testdouble/han · 45 tokens

code-reviewer

Review code changes against a base branch with structured feedback. Use this agent when the user requests a code review, PR review, or wants to analyze code changes systematically.

NikiforovAll/claude-code-rules · 37 tokens

contract-neutral-reviewer

Contract-neutral fallback reviewer. Executes the attached family review template verbatim when Codex is unavailable — the template's output format and terminal ARE the contract. Independent research, no fed conclusions.

sd0xdev/sd0x-harness · 42 tokens