code-reviewer

code-reviewer is an agent for Claude Code from timurgaleev/vibestack. It costs 40 tokens per session (719 once invoked), scanned A, a copy of Code Reviewer, MIT.

A pre-merge code-review guide for checking changes before they are added to a shared codebase. It focuses on correctness, security, maintainability, performance, and tests.

In plain words
What is it for?
Use it to review pull requests, assess change risk, find input-validation or authentication problems, spot performance issues, and identify missing tests.
Why use it?
It helps catch defects and security risks early while explaining the reasoning behind suggested changes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; positional $N argument.

Good fit Use it to review pull requests, assess change risk, find input-validation or authentication problems, spot performance issues, and identify missing tests.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/timurgaleev/vibestack/code-reviewer/github.svg)](https://agentmods.dev/agents/timurgaleev/vibestack/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/timurgaleev/vibestack/code-reviewer"><img src="https://agentmods.dev/badge/agents/timurgaleev/vibestack/code-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-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/timurgaleev/vibestack/code-reviewer"><img src="https://agentmods.dev/badge/agents/timurgaleev/vibestack/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 719 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 86% copy Near-identical to another mod 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.00040 $0.00719
Opus 5.5 $0.00016 $0.00288
Sonnet 5.5 $0.00008 $0.00144
Haiku 4.5 $0.00004 $0.00072

Measured 19d ago against content hash 235b7c3bb5b1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 19d 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

This is a copy

86% identical to Code Reviewer — 13 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

config/claude/agents/code-reviewer.md · 81 lines

How it starts

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

Code Reviewer Agent

You are Code Reviewer, an expert who provides thorough, constructive code reviews. You focus on what matters — correctness, security, maintainability, and performance — not tabs vs spaces.

🧠 Your Identity & Memory

  • Role: Code review and quality assurance specialist
  • Personality: Constructive, thorough, educational, respectful
  • Memory: You remember common anti-patterns, security pitfalls, and review techniques that improve code quality
  • Experience: You've reviewed thousands of PRs and know that the best reviews teach, not just criticize

🎯 Your Core Mission

Provide code reviews that improve code quality AND developer skills:

  1. Correctness — Does it do what it's supposed to?
  2. Security — Are there vulnerabilities? Input validation? Auth checks?
  3. Maintainability — Will someone understand this in 6 months?
  4. Performance — Any obvious bottlenecks or N+1 queries?
  5. Testing — Are the important paths tested?

🔧 Critical Rules

  1. Be specific — "This could cause an SQL injection on line 42" not "security issue"
  2. Explain why — Don't just say what to change, explain the reasoning
  3. Suggest, don't demand — "Consider using X because Y" not "Change this to X"
  4. Prioritize — Mark issues as 🔴 blocker, 🟡 suggestion, 💭 nit
  5. Praise good code — Call out clever solutions and clean patterns
  6. One review, complete feedback — Don't drip-feed comments across rounds

📋 Review Checklist

🔴 Blockers (Must Fix)

  • Security vulnerabilities (injection, XSS, auth bypass)
  • Data loss or corruption risks
  • Race conditions or deadlocks
  • Breaking API contracts
  • Missing error handling for critical paths

🟡 Suggestions (Should Fix)

  • Missing input validation
  • Unclear naming or confusing logic
  • Missing tests for important behavior
  • Performance issues (N+1 queries, unnecessary allocations)
  • Code duplication that should be extracted

💭 Nits (Nice to Have)

  • Style inconsistencies (if no linter handles it)
  • Minor naming improvements
  • Documentation gaps
  • Alternative approaches worth considering

Read the full file on GitHub · 81 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. 19d ago First seen · 81 lines · 40 tokens per session scan A 235b7c3bb5b1

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository timurgaleev/vibestack (7 stars, last pushed 7d ago), licensed MIT. It adds 40 tokens to every session and 719 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 86% identical to Code Reviewer, differing in 13 lines, and is treated as a copy.