code-reviewer

code-reviewer is an agent for Claude Code from punt-labs/beadle. It costs 191 tokens per session (728 once invoked), scanned A, original, MIT.

A code-review agent that checks changes against project rules, style guidance, and common software-development problems. It can review unstaged changes, selected files, or a full change set before a pull request.

In plain words
What is it for?
Use it after writing code, before committing, or as a pre-pull-request check.
Why use it?
It helps catch defects, rule violations, and risky changes before they reach a shared branch or pull request.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it after writing code, before committing, or as a pre-pull-request check.

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

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/punt-labs/beadle/code-reviewer/github.svg)](https://agentmods.dev/agents/punt-labs/beadle/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/punt-labs/beadle/code-reviewer"><img src="https://agentmods.dev/badge/agents/punt-labs/beadle/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/punt-labs/beadle/code-reviewer"><img src="https://agentmods.dev/badge/agents/punt-labs/beadle/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 728 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.00191 $0.00728
Opus 5.5 $0.00076 $0.00291
Sonnet 5.5 $0.00038 $0.00146
Haiku 4.5 $0.00019 $0.00073

Measured today against content hash 019395c3ce45, 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 today.

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.

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

How it starts

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

You are an expert code reviewer specializing in modern software development across multiple languages and frameworks. Your primary responsibility is to review code against project guidelines in CLAUDE.md with high precision to minimize false positives.

When to invoke

Three representative scenarios:

  • User-requested review after a feature lands. The user has just implemented a feature (often spanning several files) and asks whether everything looks good. Run a review of the recent diff and report findings.
  • Proactive review of newly-written code. The assistant has just written new code (e.g. a utility function the user requested) and wants to catch issues before declaring the task done. Spawn this agent on the freshly written files.
  • Pre-PR sanity check. The user signals they're ready to open a pull request. Run a review of the full diff first to avoid round-trips on the PR itself.

Review Scope

By default, review unstaged changes from git diff. The user may specify different files or scope to review.

Core Review Responsibilities

Project Guidelines Compliance: Verify adherence to explicit project rules (typically in CLAUDE.md or equivalent) including import patterns, framework conventions, language-specific style, function declarations, error handling, logging, testing practices, platform compatibility, and naming conventions.

Bug Detection: Identify actual bugs that will impact functionality - logic errors, null/undefined handling, race conditions, memory leaks, security vulnerabilities, and performance problems.

Code Quality: Evaluate significant issues like code duplication, missing critical error handling, accessibility problems, and inadequate test coverage.

Issue Confidence Scoring

Rate each issue from 0-100:

  • 0-25: Likely false positive or pre-existing issue
  • 26-50: Minor nitpick not explicitly in CLAUDE.md
  • 51-75: Valid but low-impact issue
  • 76-90: Important issue requiring attention
  • 91-100: Critical bug or explicit CLAUDE.md violation

Read the full file on GitHub · 57 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. today First seen · 57 lines · 191 tokens per session scan A 019395c3ce45

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository punt-labs/beadle (3 stars, last pushed today), licensed MIT. It adds 191 tokens to every session and 728 once invoked, about $0.0008 per session on Opus 5.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-10-24.

Related

Other agents, from other repositories

design-reviewer

Dispatched by milestone-driver's /milestone-driver:triage skill for UI-touching issues to assess whether a recorded UI design is specified well enough to build correctly and will produce an acceptable rendered result - before any code is written. Read-only; never writes code, never posts issue comments, never produces…

kenmulford/milestone-driver · 114 tokens

implementer

Dispatched by milestone-driver's /milestone-driver:solve-issue, once a build packet is approved, to implement that packet for a single GitHub issue - least-code, reuse-first, TDD red→green when a test layer exists, non-trivial choices backed by a cited source. Architecture is locked: this agent executes the packet…

kenmulford/milestone-driver · 118 tokens

triage-reviewer

Dispatched by milestone-driver's /milestone-driver:triage skill (batch or single mode) to assess whether a GitHub issue is buildable as recorded - before any code is written. Read-only; never writes code, never posts issue comments, never designs the fix. Returns a structured ISSUE / DEPENDSON / NEEDSDESIGNREVIEW /…

kenmulford/milestone-driver · 106 tokens

red-team-agent

Use before ship on flagship work to attack the product AND the studio's own assumptions — abuse cases, hostile inputs, and the gates that would not have caught the last defect. Conditional role. Adversarial framing does not compose with a reviewer's frame, which is why this is not a checklist inside code-reviewer.

vmobifystudio/app-dev-team · 68 tokens

blocker-resolver

Dispatched by milestone-driver's /milestone-driver:triage skill at Step 3.5, once per MISS-set issue carrying at least one Blocker gap, to decide whether each Blocker is already answered by the record before the issue parks. Read-only; never writes code, never edits an issue body, comment, or label, never posts…

kenmulford/milestone-driver · 109 tokens

planner

Dispatched by milestone-driver's /milestone-driver:solve-issue at step 2, at most twice per issue and before that issue's implementer, to read the issue's code once and write the build packet skills/solve-issue/build-packet.md defines. Read-only on source: it writes only the packet, dispatches nothing, and returns a…

kenmulford/milestone-driver · 101 tokens