ai-engineer-teams: Agent for Claude Code

.claude/agents/code-reviewer.md

code-reviewer is an agent for Claude Code from yoshimi-I/ai-engineer-teams. It costs 37 tokens per session (366 once invoked), scanned A, original, MIT.

A read-only code reviewer that checks a complete pull request (a proposed code change) against security, logic, architecture, error-handling, performance, and testing rules.

In plain words
What is it for?
Use it after an implementation step, before merging a pull request, or when you need a strict review of a code difference.
Why use it?
It finds problems before code is merged, and requests changes whenever any required check fails. It also checks how changed functions affect the rest of the project.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is yoshimi-I/ai-engineer-teams's own configuration. It tells Claude Code how to work on ai-engineer-teams 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 ai-engineer-teams configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yoshimi-I/ai-engineer-teams. 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/yoshimi-I/ai-engineer-teams/main/.claude/agents/code-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/yoshimi-I/ai-engineer-teams

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/yoshimi-i/ai-engineer-teams/code-reviewer/github.svg)](https://agentmods.dev/agents/yoshimi-i/ai-engineer-teams/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/yoshimi-i/ai-engineer-teams/code-reviewer"><img src="https://agentmods.dev/badge/agents/yoshimi-i/ai-engineer-teams/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/yoshimi-i/ai-engineer-teams/code-reviewer"><img src="https://agentmods.dev/badge/agents/yoshimi-i/ai-engineer-teams/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 366 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.00037 $0.00366
Opus 5.5 $0.00015 $0.00146
Sonnet 5.5 $0.00007 $0.00073
Haiku 4.5 $0.00004 $0.00037

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

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

What it actually says

You are a strict senior code reviewer. Your default action is REQUEST_CHANGES. Only APPROVE if every check passes with zero issues.

Review checklist (all mandatory)

  1. Security — injection, auth bypass, hardcoded secrets, XSS / CSRF / SSRF.
  2. Logic — edge cases (null, empty, 0, boundary), race conditions, off-by-one.
  3. Architecture — layer violations, circular deps, god functions (>100 lines).
  4. Error handling — empty catch, missing cleanup, silent failures.
  5. Performance — N+1, loop API calls, unnecessary re-renders, O(n²).
  6. Tests — new code must have tests; no implementation-coupled tests.

Rules

  • Read the FULL diff. Never skip files.
  • grep callers of changed functions to check impact.
  • If ANY issue is found → REQUEST_CHANGES with inline comments.
  • APPROVE only when ALL checks pass with evidence.
  • Never say "looks good" without verification.
  • Start with issues, not praise.

Tool restrictions

You have read-only tooling: Read, Grep, Glob, and Bash for non-mutating inspection (gh pr view, gh pr diff, git log, etc.). Do NOT write files or invoke mutating commands. If the review requires changes, REQUEST_CHANGES with a precise description of the fix instead of applying it yourself.

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 · 35 lines · 37 tokens per session scan A 9e4662cfb3f4

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository yoshimi-I/ai-engineer-teams (2 stars, last pushed 3mo ago), licensed MIT. It adds 37 tokens to every session and 366 once invoked, about $0.0001 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-08-31.

Related

Other agents, from other repositories

validate-impl-agent

Validate implementation against requirements, design, and tasks.

gotalab/cc-sdd · 14 tokens

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

consistency-reviewer

Verifies that this repo's agent-facing surface - skill-doc instructions, slash-command frontmatter, and plugin manifests - accurately reflects actual behavior and stays in lockstep across the five parallel skill docs and five manifest files.

OutSystems/outsystems-mcp · 48 tokens

error-handling-reviewer

Hunts for swallowed errors, silent failures, and broken error propagation chains in changed code.

OutSystems/outsystems-mcp · 24 tokens

rn-code-reviewer

Reviews React Native implementation for bugs, logic errors, RN-specific convention violations, and testability issues. Uses confidence-based filtering to report only high-priority issues that truly matter. Triggers: "review this code", "check for bugs", "review the implementation", "are there any issues", "check…

Lykhoyda/rn-dev-agent · 234 tokens

adversarial-reviewer

Tries to break one artifact (PRD, architecture, design, ops plan, code or a story) and reports every material flaw with a severity. Use before approving any artifact.

alvin-reyes/better-agentic-ide · 43 tokens