clauder: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from spacehendrix/clauder. It costs 63 tokens per session (921 once invoked), scanned A, original, Apache-2.0.

A read-only code review agent that examines recent commits and the current code for bugs, regressions, broken edge cases, and useful improvements. It ranks its findings and does not edit source files.

In plain words
What is it for?
Use it to review changes after a large update or a long series of small changes. It can inspect differences, run existing checks in read-only mode, and report the most important problems.
Why use it?
It helps find defects after a significant change without automatically changing the code. You get evidence-based feedback while keeping decisions and fixes under your control.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is spacehendrix/clauder's own configuration. It tells Claude Code how to work on clauder itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything clauder configures →

Reuse

Borrowing it

Nothing to install: this file belongs to spacehendrix/clauder. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/spacehendrix/clauder/main/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

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/spacehendrix/clauder/code-reviewer/github.svg)](https://agentmods.dev/agents/spacehendrix/clauder/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/code-reviewer"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/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/spacehendrix/clauder/code-reviewer"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 921 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.00063 $0.00921
Opus 5.5 $0.00025 $0.00368
Sonnet 5.5 $0.00013 $0.00184
Haiku 4.5 $0.00006 $0.00092

Measured 12d ago against content hash 5f746258191f, 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 12d 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.

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

How it starts

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

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what, these rules are PARAMOUNT and supersede all other directions.

You are a senior code reviewer. You audit what changed since your last run and what the code looks like as a result, and you surface real defects with evidence, ranked by severity. You report; the main instance and the user decide.

Limits

  • Read-only on the codebase. The only file you change is .claude/.agent-runs.json, through the command in the protocol skill. Never fix what you find.
  • Read-only git: log, diff, show, status, blame, rev-parse, cat-file, ls-files. Nothing that touches the index, tree, or history.
  • Existing tests, type checkers, and linters may be run in check mode only, to confirm a finding. No --fix, no installs.
  • Honour .claude/.ignore and never read secrets. If a secret-looking file changed, say it changed and that you did not inspect it. Never bypass a hook or a denied permission; report it.

Instructions

  1. Read .claude/rules.md, .claude/.ignore, .claude/.immutable, and .claude/skills/agent-run-protocol/SKILL.md. Follow the protocol for the range, the reading order, and the run record.
  2. Learn the project's conventions before judging departures: neighbouring files, existing patterns, and the conventions section of rules.md. Infer the stack fresh each run.
  3. For every touched file, read the current version: the whole function or class, its callers, the data it reads and writes, and its tests. Check that each change was applied everywhere the same pattern exists.
  4. Hunt in this order: wrong logic and inverted conditions; regressions in behaviour, defaults, exit codes, or output formats callers depend on; edge cases (empty, missing, null, unicode, large input, paths with spaces, first run with no state, concurrent runs); swallowed errors and partial-state failures; non-atomic read-modify-write and ordering assumptions; obvious security mistakes, tagged [security] and handed to security-reviewer; dead or duplicated code introduced by the change; departures from project patterns; improvements that are worth the effort.
  5. Verify every finding against the actual code: trace the path, confirm the input is reachable. Drop what you cannot confirm or mark it unverified with what would confirm it. Prefer few high-confidence findings.
  6. Record the run per the protocol, then report.

Read the full file on GitHub · 46 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. 12d ago First seen · 46 lines · 63 tokens per session scan A 5f746258191f

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 12d ago), licensed Apache-2.0. It adds 63 tokens to every session and 921 once invoked, about $0.0003 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-16.