code-reviewer

code-reviewer is an agent for Claude Code from synaptiai/synapti-marketplace. It costs 103 tokens per session (4,887 once invoked), scanned A, original, Apache-2.0.

A code-review agent that examines code changes for correctness, edge cases, security, error handling, and overall quality. It reports findings with suggested fixes and priority levels.

In plain words
What is it for?
It is for reviewing pull requests, checking changed code, identifying risks, and proposing fixes.
Why use it?
It helps catch problems before code is merged or released. It also gives reviewers a consistent format for explaining each issue.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; mentions subagents; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the flow plugin — 33 skills, 20 commands, 11 agents shipped together

Good fit It is for reviewing pull requests, checking changed code, identifying risks, and proposing fixes.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add synaptiai/synapti-marketplace
Claude Code
/plugin install flow

Made for: Claude Code.

Or install flow, the plugin that ships this one along with the rest of its 33 skills, 20 commands, 11 agents.

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/synaptiai/synapti-marketplace/code-reviewer/github.svg)](https://agentmods.dev/agents/synaptiai/synapti-marketplace/code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/synaptiai/synapti-marketplace/code-reviewer"><img src="https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/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/synaptiai/synapti-marketplace/code-reviewer"><img src="https://agentmods.dev/badge/agents/synaptiai/synapti-marketplace/code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,887 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.00103 $0.04887
Opus 5.5 $0.00041 $0.01955
Sonnet 5.5 $0.00021 $0.00977
Haiku 4.5 $0.00010 $0.00489

Measured 28d ago against content hash 8c4f83b35b73, 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 28d 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.

plugins/flow/agents/code-reviewer.md · 281 lines

How it starts

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

Code Reviewer Agent

You are a code review specialist for the flow plugin. Analyze code changes for quality, correctness, and security. When a true product/architecture decision arises (NOT finding triage), use the six-field Proactive Autonomy escalation structure (Situation / What I tried / Options / My recommendation / Blocking? / Risk if wrong) rather than open-ended questions or silent deferrals. Finding triage (P1/P2/P3 disposition) is NEVER a valid escalation trigger — every finding is fixed in-PR by default per skills/llm-operator-principles/SKILL.md.

Process

Step 1: Get the Diff

DEFAULT_BRANCH=$(gh repo view --json defaultBranchRef --jq '.defaultBranchRef.name' 2>/dev/null)
[ -n "$DEFAULT_BRANCH" ] || DEFAULT_BRANCH=main
# Resolving a name is not the same as having the ref. On a fork, or before the
# remote is fetched, `origin/<name>` does not exist and every command below
# prints nothing - which reads exactly like a change with nothing in it.
if ! git rev-parse --verify --quiet "origin/$DEFAULT_BRANCH" >/dev/null 2>&1; then
  printf '%s\n' "DIFF_STATE=unavailable"
  printf '%s\n' "DIFF_STATE_REASON=origin/$DEFAULT_BRANCH does not resolve, so the diff could not be read"
  exit 0
fi
git -C "${REVIEW_TREE:-.}" diff --text --no-ext-diff --no-textconv "origin/$DEFAULT_BRANCH"..HEAD --stat
git -C "${REVIEW_TREE:-.}" diff --text --no-ext-diff --no-textconv "origin/$DEFAULT_BRANCH"..HEAD

Step 2: Read Changed Files

Use the Read tool to read each changed file in full. Understand the context, not just the diff.

Step 2b: Caller Verification and Blast Radius

When the LSP tool is available with findReferences support, use it to verify that all callers of modified functions are handled:

  1. For each modified function or method in the diff, use LSP(findReferences) at the definition to find all call sites. LSP(incomingCalls) is more precise for this question — it returns callers only, not type references or re-exports.
  2. For each call site, check whether the diff updates it, and whether it is still correct under the new behaviour.
  3. Where the LSP is unavailable, or the symbol is not found, fall back to Grep for the symbol name.

Read the full file on GitHub · 281 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. 28d ago Changed 8c4f83b35b73
  2. 1mo ago Changed 1c8e9266e180
  3. 1mo ago Changed · +3 lines 32ce96d6f0f7
  4. 2mo ago Changed · +10 lines b62274977c8e
  5. 2mo ago Changed · +74 lines 9ab256dc9a21
  6. 2mo ago Changed 0667777f4c36
  7. 2mo ago Changed · +17 lines 806f17ac10b2
  8. 2mo ago Changed · +53 lines ba0505bac2ac
  9. 2mo ago Changed · +42 tokens per session a2fa0c4fd2ec
  10. 2mo ago First seen · 124 lines · 61 tokens per session scan A 3e6fbefd2139

Subscribe to this mod's changes

code-reviewer is an agent published in the GitHub repository synaptiai/synapti-marketplace (9 stars, last pushed today), licensed Apache-2.0. It adds 103 tokens to every session and 4,887 once invoked, about $0.0004 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-09-03.

Related

code-reviewer compared with agents from other repositories

code-reviewer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-reviewersynaptiai/synapti-marketplaceAgent9todayApache-2.0A103Claude Code
code-analystrhawk117/agentmasterAgent14mo agoMITA65Claude Code
debuggerkeez97/phase-gateAgent17mo agoMITA71Claude Code
codebase-analyzerCaptainMe-AI/lead-dev-osAgent224d agoMITA44Claude Code
codebase-locatorCaptainMe-AI/lead-dev-osAgent224d agoMITA68Claude Code
fec-performance-optimizerbovinphang/frontend-craftAgent2417d agoMITA72Claude Code
dry-and-code-smellsncoevoet/claude-review-allAgent456d agoMITA39Claude Code