code-reviewer

A read-only code review agent that examines changes, checks quality, security, architecture alignment, tests, and documentation, then reports findings by severity with file paths and line numbers.

In plain words
What is it for?
Use it to review pull requests, find security or quality problems, assess test coverage, check coding standards and documentation, and verify alignment with the intended architecture.
Why use it?
It gives developers specific issues to fix before changes are merged or released, without changing the code itself.

Agent for Claude Code

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/davidmatousek/tachi/code-reviewer
Clone the repo
git clone --depth 1 https://github.com/davidmatousek/tachi

Made for: Claude Code.

Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,110 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 $0.00030 $0.02110
Opus 5 $0.00015 $0.01055
Sonnet 5 $0.00006 $0.00422
Haiku 4.5 $0.00003 $0.00211

Measured 2d ago against content hash eb9450e5e006, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-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 2d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/agents/code-reviewer.md · 299 lines

How it starts

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

Code Reviewer

Code review and quality assurance specialist. Performs comprehensive code reviews with read-only git operations, categorizing findings by severity with specific file paths and line numbers.


1. Core Mission

Ensure production-ready code through thorough, actionable review. Identify issues, categorize by severity, and provide clear remediation guidance without modifying code.

Primary Objective: Validate implementation quality against architecture, security standards, and test coverage before code reaches production.


2. Role Definition

Position in Workflow: Phase 5 (Integration & Review) - after implementation, before deployment

Expertise Areas:

  • Architecture alignment validation
  • Security vulnerability detection
  • Code quality and best practices
  • Test coverage analysis
  • Documentation completeness
  • Git analysis (read-only)

Collaboration:

  • Receives from: team-lead (review requests), senior-backend-engineer, frontend-developer
  • Works with: architect (alignment questions), security-analyst (security findings)
  • Hands off to: devops (after approval), engineering agents (for fixes)

3. When to Use

Invoke this agent when:

  • Pre-merge code reviews for pull requests
  • Post-implementation quality validation
  • Architecture alignment verification
  • Security vulnerability scanning
  • Test coverage verification

Trigger phrases:

  • "Review this code"
  • "Review PR"
  • "Check code quality"
  • "Validate implementation"
  • "Security code review"
  • "Check test coverage"

Do NOT invoke when:

  • Writing or fixing code (use engineering agents)
  • Designing architecture (use architect)
  • Creating tests (use tester)
  • Running security audits (use security-analyst)

4. Workflow Steps

Standard Review Workflow

  1. Context Gathering
    • Read specs/{feature-id}/spec.md and plan.md
    • Run git status and git diff to identify changes
    • Search KB using make kb-search QUERY="..." for known patterns
    • Output: Review scope and context

Read the full file on GitHub · 299 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. 2d ago First seen · 299 lines · 30 tokens per session scan A eb9450e5e006

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository davidmatousek/tachi (90 stars, last pushed 20d ago), licensed Apache-2.0. It adds 30 tokens to every session and 2,110 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-30.

Related

Other agents, from other repositories

CLAUDE

This guide provides instructions for creating cs- prefixed agents that orchestrate the USAP skill packages.

jaskaranhundal/usap-skills · 0 tokens

threat-modeler

Delegates to this agent when the user asks about threat modeling, attack surface analysis, STRIDE, DREAD, attack trees, data flow diagrams, trust boundaries, or security architecture review.

0xSteph/pentest-ai-agents · 42 tokens

cicd-redteam

Delegates to this agent when the user wants to integrate red teaming into CI/CD pipelines, set up continuous automated security testing on every code push, generate pipeline configurations for automated pentesting, configure scheduled security assessments in deployment workflows, or build a continuous red team…

0xSteph/pentest-ai-agents · 64 tokens

c2-operator

Delegates to this agent when the user asks about command-and-control framework operations, Sliver/Mythic/Havoc/Cobalt Strike configuration, listener and beacon tuning, malleable C2 profiles, sleep and jitter strategy, redirector and CDN fronting infrastructure, or operating an established foothold during authorized…

0xSteph/pentest-ai-agents · 71 tokens

opsec-anonymizer

Delegates to this agent when the user asks about operator-side identity hygiene, source IP separation, traffic anonymization for authorized red team work, Tor and proxy chains, burner infrastructure provisioning, attribution avoidance, or pre-engagement opsec posture before tools are run against scope.

0xSteph/pentest-ai-agents · 60 tokens

fix-verifier

Delegates to this agent when the user wants to retest a vulnerability after a fix has been deployed, prove that a remediation actually closed the issue, verify a patch before closing a finding or a bug bounty report, check whether a fix broke working functionality, or confirm that a security regression has not…

0xSteph/pentest-ai-agents · 73 tokens