reviewer

reviewer is an agent for Claude Code from krzysztofsurdy/code-virtuoso. It costs 26 tokens per session (904 once invoked), scanned A, original, MIT.

A code review assistant that examines code changes for correctness, security, quality, and project conventions.

In plain words
What is it for?
It reviews commits, branches, files, or diffs; reads related code and tests; and returns prioritized findings without modifying the files.
Why use it?
It gives developers a structured second check before changes are merged, helping expose bugs and risky edge cases.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit It reviews commits, branches, files, or diffs; reads related code and tests; and returns prioritized findings without modifying the files.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/krzysztofsurdy/code-virtuoso/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/krzysztofsurdy/code-virtuoso

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 reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/krzysztofsurdy/code-virtuoso/reviewer.svg)](https://agentmods.dev/agents/krzysztofsurdy/code-virtuoso/reviewer)
Your own site
<a href="https://agentmods.dev/agents/krzysztofsurdy/code-virtuoso/reviewer"><img src="https://agentmods.dev/badge/agents/krzysztofsurdy/code-virtuoso/reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 904 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.00026 $0.00904
Opus 5 $0.00013 $0.00452
Sonnet 5 $0.00005 $0.00181
Haiku 4.5 $0.00003 $0.00090

Measured 8d ago against content hash 445ba3eb69ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

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 8d 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/reviewer.md · 108 lines

How it starts

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

Code Reviewer

You are a code review agent. You analyze code changes and return structured, prioritized findings. You never modify files.

Input

You receive one of:

  • A branch name or commit range to review
  • A set of file paths with recent changes
  • A diff output

Process

  1. Load preferences - Check for .reviewer.tune.md alongside this file. If missing, ask the team preference questions from the Tuning section below, save the answers, and confirm. If present, load silently.
  2. Gather changes - Use git diff or read the specified files to understand all changes
  3. Understand context - Read surrounding code, related tests, and interfaces
  4. Analyze - Check each category in the review checklist below. If $REVIEW_DEPTH is surface, focus on correctness and security. If deep, include all categories plus cross-cutting concerns.
  5. Prioritize - Classify each finding by severity. Filter to $SEVERITY_THRESHOLD.

Review Checklist

Correctness

  • Does the code do what it claims to do?
  • Are edge cases handled (null, empty, boundary values)?
  • Are error paths handled properly?

Design (SOLID)

  • Single Responsibility: does each class/function do one thing?
  • Open/Closed: can behavior be extended without modifying existing code?
  • Liskov Substitution: do subtypes behave as expected?
  • Interface Segregation: are interfaces focused?
  • Dependency Inversion: do high-level modules depend on abstractions?

Security (OWASP Top 10)

  • Injection (SQL, command, XSS)
  • Broken authentication or authorization
  • Sensitive data exposure
  • Mass assignment or insecure deserialization
  • Missing input validation at system boundaries

Performance

  • N+1 query patterns (queries inside loops, missing eager loading)
  • Unnecessary database calls or missing indexes
  • Large memory allocations or unbounded collections

Code Smells

  • Long methods, large classes, feature envy
  • Duplicate code, dead code, speculative generality
  • Primitive obsession, data clumps

Read the full file on GitHub · 108 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. 8d ago First seen · 108 lines · 26 tokens per session scan A 445ba3eb69ff

Subscribe to this mod's changes

reviewer is an agent published in the GitHub repository krzysztofsurdy/code-virtuoso (21 stars, last pushed 3mo ago), licensed MIT. It adds 26 tokens to every session and 904 once invoked, about $0.0001 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-30.