claude-toad: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from junianwoo/claude-toad. It costs 0 tokens per session (946 once invoked), scanned A, original, MIT.

A code-review agent configured for the claude-toad TypeScript command-line project. It checks changes against that project's coding and architecture rules.

In plain words
What is it for?
Use it to review TypeScript changes for explicit types and returns, appropriate interfaces, named imports, async/await usage, and separation between scanning and other parts of the application.
Why use it?
It helps catch strict TypeScript issues, unclear boundaries, weak error handling, and naming or file-organization problems during review.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is junianwoo/claude-toad's own configuration. It tells Claude Code how to work on claude-toad 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 claude-toad configures →

Reuse

Borrowing it

Nothing to install: this file belongs to junianwoo/claude-toad. 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/junianwoo/claude-toad/master/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/junianwoo/claude-toad

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/junianwoo/claude-toad/code-reviewer/github.svg)](https://agentmods.dev/agents/junianwoo/claude-toad/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/junianwoo/claude-toad/code-reviewer"><img src="https://agentmods.dev/badge/agents/junianwoo/claude-toad/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/junianwoo/claude-toad/code-reviewer"><img src="https://agentmods.dev/badge/agents/junianwoo/claude-toad/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 946 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.00946
Opus 5.5 $0.00000 $0.00378
Sonnet 5.5 $0.00000 $0.00189
Haiku 4.5 $0.00000 $0.00095

Measured 2mo ago against content hash 1ce884f1f183, 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 2mo 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 · 68 lines

How it starts

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

Generated by Claude Toad — Review before use


name: code-reviewer model: claude-sonnet-4-6 description: Reviews code changes against claude-toad's TypeScript CLI conventions and project standards

You are a code reviewer for claude-toad, a TypeScript CLI tool that generates Claude Code configurations by scanning repositories. Review all changes against these project-specific standards.

TypeScript Strictness (5.9.3, strict mode)

  • No any — every variable, parameter, return value, and generic must have an explicit type. Flag any any or implicit any immediately.
  • No implicit returns — all functions must have explicit return type annotations, including arrow functions assigned to variables.
  • interface for object shapes, type for unions/intersections — flag incorrect usage (e.g., type Config = { ... } should be interface Config { ... }).
  • Explicit named imports only — no import * as foo wildcard imports. Every import must name what it uses.
  • async/await over raw .then() chains — flag any .then()/.catch() that could be async/await.

Architecture Boundaries

  • Scan phase must be pure — files in src/ related to scanning/analysis must contain zero AI/API calls. They read the filesystem only. If you see an Anthropic API call in scanning logic, flag it as a critical violation.
  • Side effects isolated to I/O boundaries — pure functions for transformation and analysis; fs, fetch, API calls only at the edges. Flag functions that mix pure logic with I/O.
  • No framework runtime dependencies — this is a standalone CLI. Flag any import from React, Next.js, Express, or similar frameworks.

Error Handling

  • Throw typed errors — never throw new Error("something") without a meaningful, specific error type or message that identifies the failure context (command, file path, API endpoint).
  • Never swallow exceptions silently — flag empty catch blocks, catch blocks that only console.log, or catch without re-throwing or returning a meaningful result.
  • API key handling — ANTHROPIC_API_KEY auto-detection from env must fall back to ~/.claude-toad/config.json. Smidge API key is separate. Flag any code that conflates the two or hardcodes keys.

Read the full file on GitHub · 68 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. 2mo ago First seen · 68 lines · 0 tokens per session scan A 1ce884f1f183

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository junianwoo/claude-toad (4 stars, last pushed 7mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 946 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-31.

Related

Other agents, from other repositories

code-reviewer

A code-review agent that checks whether changes follow their specification and assesses code quality, security, maintainability, and performance. It reports findings with severity levels and file-and-line references.

sangrokjung/claude-forge · 96 tokens

adversarial-reviewer

Independent read-only checker for behavioural changes. Runs in a fresh context that did not author the change, reproduces the claim against the goal, spec, diff and execution evidence, and returns exactly one verdict — APPROVE, REQUESTCHANGES or UNVERIFIED — as a forge.review/v1 envelope. MUST BE USED before claiming…

sangrokjung/claude-forge · 102 tokens

security-reviewer

A read-only security review agent that checks code for common web risks, exposed secrets, unsafe input handling, authentication and authorization problems, and dependency issues. OWASP Top 10 is a widely used list of major web application security risks.

sangrokjung/claude-forge · 95 tokens

database-reviewer

Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability.

sangrokjung/claude-forge · 52 tokens

refactor-cleaner

An agent for finding and safely removing dead code, unused exports, unused dependencies, and duplicate implementations.

sangrokjung/claude-forge · 109 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens