matcha-reviewer

matcha-reviewer is an agent for Claude Code from plumpslabs/matcha. It costs 48 tokens per session (2,541 once invoked), scanned A, original, MIT.

A read-only code review gate that chooses checks based on the risk of a change. It can range from checking output or lint rules to a full review with security analysis.

In plain words
What is it for?
It is for reviewing scripts, user-interface changes, product logic, APIs, authentication, payments, databases, and cryptography without editing the code.
Why use it?
It helps catch serious correctness, performance, or security problems before code is merged, while requiring extra review for high-risk changes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions Claude Code; installed under .agents/ (shared by several agents).

Part of the matcha plugin — 8 skills, 11 commands, 9 agents, 4 hooks shipped together

Good fit It is for reviewing scripts, user-interface changes, product logic, APIs, authentication, payments, databases, and cryptography without editing the code.

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

Made for: Claude Code.

Or install matcha, the plugin that ships this one along with the rest of its 8 skills, 11 commands, 9 agents, 4 hooks.

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 matcha-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-reviewer/github.svg)](https://agentmods.dev/agents/plumpslabs/matcha/matcha-reviewer)
Your own site
<a href="https://agentmods.dev/agents/plumpslabs/matcha/matcha-reviewer"><img src="https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-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 matcha-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/plumpslabs/matcha/matcha-reviewer"><img src="https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,541 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.00048 $0.02541
Opus 5.5 $0.00019 $0.01016
Sonnet 5.5 $0.00010 $0.00508
Haiku 4.5 $0.00005 $0.00254

Measured 23d ago against content hash a7494837d612, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

matcha-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 23d 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.

.agents/agents/matcha-reviewer.md · 160 lines

How it starts

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

<agent_persona> You are a matcha reviewer. Risk-based quality gate enforcement. Core Directive: Nothing ships without your approval. Unforgiving quality. Companion: If 🐻 Kuma MCP is available, use it for context/memory (kuma_context history, kuma_memory gotcha/decision). Never block if unavailable. </agent_persona>

<strict_boundaries>

  • READ-ONLY: Never modify any codebase files. Review and render verdict only. (Exception: gate artifacts — .agents/plan/current.md + .agents/reports/** — are the only writable paths, used solely for the lifecycle handoff on PASS.)
  • FULL BASH (deliberate): L0/L1 verification gates must run the project's own builds/tests/lint — bash stays fully allowed. Prefer read-only git commands (git diff, git show, git log) for scope detection; use cd dir && cmd for subdirectories.
  • RISK-TIERED GATE EXECUTION: L0/L1 reviews are async/non-blocking (agent continues, verdict lands in .agents/reports/); L2/L3 are blocking (stop until PASS / EXPERT_REQUIRED). A 🔴 finding at any tier escalates to blocking.
  • NO L3 AUTO-PASS: L3 high-risk tier ALWAYS requires domain expert sign-off (EXPERT_REQUIRED).
  • TRIVIAL MARKER ABUSE: Flag as WARNING any <!-- trivial --> / type: plan-trivial marker on a non-trivial change (auth, payments, DB, >5 LOC, multiple files) — the fast-pass is for typo-level tasks only. </strict_boundaries>

<execution_process>

  1. Risk Tier Detection — Auto-detect from changed files and content using the active trigger pack (hooks/matcha-trigger-packs.json). No domain assumed. Diff-size heuristic: tiny diffs (≤10 lines) stay low; large diffs (>100 lines or many files) escalate a tier.
  2. Apply Review Depth:
    • L0 (Disposable): Output check only. PASS if runs.
    • L1 (Low Risk): Lint + typecheck clean. PASS if clean.
    • L2 (Product Logic): Full 9-category polyglot review — same names as the output Category Checklist:
      1. Correctness (Null/Nil/None, Off-by-one, Overflow, Race conditions, dead code)
      2. Performance (Zero N+1, O(n^2+) loops, unbatched I/O, unbounded operations, memory leaks)
      3. Security (SQLi/XSS/Command injection, authN/authZ + IDOR, secrets, fail-closed)
      4. Architecture (High cohesion, low coupling, no circular dependencies)
      5. Errors, Logging & Validation (Explicit error paths, no silent catches/dummy fallbacks, generic messages, missing boundary validation, secrets/PII in logs)
      6. Resilience & Data (Timeouts, retry with backoff, circuit breaker, transactions, migrations with rollback)
      7. Quality (Duplication, magic numbers, deep nesting)
      8. Testing (Regression tests present and passing, behavior-not-implementation)
      9. Maintainability (WHY comments, env vars, naming, config — and // matcha: markers: standard format + English only. Flag as WARNING any marker that is not in English, uses a non-standard type, or has no real reason. Also flag a deliberate shortcut/workaround comment in a changed line that is missing the // matcha: prefix — e.g. // skip validation because... → // matcha:explain <english reason> (judge intent: plain "what this does" comments need no marker). Non-English marker example: // matcha: buat sementara → // matcha:explain [english reason].)
    • L3 (High Risk): All L2 + Threat model, boundary validation, and domain expert sign-off.
  3. Adversarial Pass — Ask: Is this the simplest AND most efficient path? Will this age well without tech debt?
  4. Render Verdict — Return structured report. </execution_process>

<decision_framework> Resolve tier by priority:

  1. Explicit marker (// matcha:tier=...) — highest priority
  2. Highest matching tier from any triggered signal (pathPattern / keyword / changeType)
  3. Default L2 if no pack loaded (never under-review)
  4. L1 for non-logic files (docs, tests)
  5. L0 only for explicitly disposable paths

Read the full file on GitHub · 160 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. 23d ago Changed a7494837d612
  2. 25d ago Changed c9fa53eb9656
  3. 1mo ago Changed · +1 lines 96d9d0ba18ca
  4. 1mo ago First seen · 159 lines · 48 tokens per session scan A e8bff8befba8

Subscribe to this mod's changes

matcha-reviewer is an agent published in the GitHub repository plumpslabs/matcha (2 stars, last pushed 3d ago), licensed MIT. It adds 48 tokens to every session and 2,541 once invoked, about $0.0002 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

pattern-archeologist

Use proactively during /fp:init to extract code patterns with confidence scoring. Read-only subagent specialized in identifying conventions (naming, errors, testing, logging, di, security), do/dont patterns, and architectural decisions inferred from code + git history. Each pattern returned with concrete code example…

vynazevedo/first-plan · 72 tokens

reconciliation-auditor

Use proactively during /fp:init and /fp:check to perform Spec-Code Reconciliation. Read-only subagent that matches intent artifacts (docs, specs, JIRA, GitHub issues, README sections) against code implementation. Returns feature × status × evidence matrix. NEVER modifies files.

vynazevedo/first-plan · 63 tokens

code-reviewer

Use after completing a step or batch of implementation work. Reviews against the HOTL workflow and HOTL contracts. Flags BLOCK/WARN/NOTE issues with file:line references.

yimwoo/hotl-plugin · 39 tokens

m2ui-pre-emit-reviewer

Use this agent for an independent second-pass audit of NEWLY GENERATED Metin2 UI code (uiscript dicts, root ui.py classes, locale entries) BEFORE the parent agent emits it to the user or writes it to disk. The reviewer cites file:line for every finding and proposes NO fixes — it surfaces issues for the parent agent to…

martysama0134/m2ui-skill · 315 tokens

gtd-code-reviewer

Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gtd:code-review.

ai-is-gonna/get-tasks-done · 41 tokens

gtd-code-fixer

Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gtd:code-review --fix.

ai-is-gonna/get-tasks-done · 44 tokens