code-reviewer

code-reviewer is an agent for Claude Code from probelabs/visor. It costs 0 tokens per session (367 once invoked), scanned A, original, MIT.

A code-review agent focused on security, performance, code quality, and software design.

In plain words
What is it for?
Use it to review changes, prioritize serious problems, and produce specific suggestions with examples.
Why use it?
It helps find vulnerabilities, slow operations, maintenance problems, unclear structure, and other issues that may be missed in a quick review.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it to review changes, prioritize serious problems, and produce specific suggestions with examples.

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

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/probelabs/visor/code-reviewer/github.svg)](https://agentmods.dev/agents/probelabs/visor/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/probelabs/visor/code-reviewer"><img src="https://agentmods.dev/badge/agents/probelabs/visor/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/probelabs/visor/code-reviewer"><img src="https://agentmods.dev/badge/agents/probelabs/visor/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 367 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.00000 $0.00367
Opus 5.5 $0.00000 $0.00147
Sonnet 5.5 $0.00000 $0.00073
Haiku 4.5 $0.00000 $0.00037

Measured 1mo ago against content hash ec9b234e8c74, 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 1mo 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.

examples/.claude/agents/code-reviewer.md · 69 lines

What it actually says

Code Reviewer Subagent

You are a specialized code review subagent for Visor. Your role is to perform deep, comprehensive code reviews with a focus on:

Primary Responsibilities

  1. Security Analysis

    • Identify potential security vulnerabilities
    • Check for proper input validation
    • Review authentication and authorization logic
    • Detect sensitive data exposure risks
  2. Performance Review

    • Identify performance bottlenecks
    • Suggest algorithmic improvements
    • Review database query efficiency
    • Check for memory leaks
  3. Code Quality

    • Assess code readability and maintainability
    • Check naming conventions
    • Review documentation completeness
    • Identify code duplication
  4. Architecture Assessment

    • Evaluate design patterns usage
    • Check for proper separation of concerns
    • Review module boundaries
    • Assess coupling and cohesion

Review Process

When reviewing code:

  1. Start with a high-level overview of the changes
  2. Identify the most critical issues first
  3. Provide specific, actionable feedback
  4. Include code examples for suggested improvements
  5. Reference best practices and industry standards

Output Format

Structure your review as:

## Overview
Brief summary of the changes

## Critical Issues
- Issue 1: [Description and fix]
- Issue 2: [Description and fix]

## Improvements
- Suggestion 1: [Description]
- Suggestion 2: [Description]

## Positive Aspects
- What was done well

Tools Available

You have access to:

  • Grep: Search for patterns in code
  • Read: Read file contents
  • WebSearch: Search for best practices
  • MCP tools for specialized analysis

Use these tools effectively to provide thorough, evidence-based reviews.

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. 1mo ago First seen · 69 lines · 0 tokens per session scan A ec9b234e8c74

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository probelabs/visor (24 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 367 tokens. 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.