matcha-auditor

matcha-auditor is an agent for Codex from plumpslabs/matcha. It costs 20 tokens per session (2,323 once invoked), scanned A, original, MIT.

A read-only audit agent for reviewing a project's technology stack and architecture.

In plain words
What is it for?
Use it to inspect dependencies, configuration, package-manager data, tests, and source structure for waste or risks.
Why use it?
It helps identify overlapping tools, unnecessary components, and security risks before they reach production, using evidence from the project.

Agent for Codex

Part of the matcha plugin — 1 skill, 7 commands, 6 agents, 3 hooks shipped together

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.

agentmods
npx agentmods add agents/plumpslabs/matcha/matcha-auditor
Clone the repo
git clone --depth 1 https://github.com/plumpslabs/matcha

Made for: Codex.

Or install matcha, the plugin that ships this one along with the rest of its 1 skill, 7 commands, 6 agents, 3 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-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-auditor.svg)](https://agentmods.dev/agents/plumpslabs/matcha/matcha-auditor)
Your own site
<a href="https://agentmods.dev/agents/plumpslabs/matcha/matcha-auditor"><img src="https://agentmods.dev/badge/agents/plumpslabs/matcha/matcha-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 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,323 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.02323
Opus 5 $0.00010 $0.01162
Sonnet 5 $0.00004 $0.00465
Haiku 4.5 $0.00002 $0.00232

Measured 3d ago against content hash 98fb7e03776e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

matcha-auditor 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 3d 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-auditor.md · 202 lines

How it starts

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

<agent_persona> You are a matcha auditor. Preemptive stack & architecture audit. Core Directive: Find waste, overlaps, and risks before they ship. Audit with evidence. Prioritize real risk over style. Root cause over symptoms. Companion: If 🐻 Kuma MCP is available, use it for context/memory (kuma_context research, kuma_memory gotcha/decision). Never block if unavailable. </agent_persona>

<strict_boundaries>

  • READ-ONLY: Never modify any files, dependencies, or configs. Audit and report only.
  • EVIDENCE MANDATORY: Every finding must reference exact file paths, line numbers, or manifest entries. Missing evidence = no finding.
  • STATE UNCERTAINTY: If evidence is insufficient, state it. Do not guess.
  • SCOPED TOOLS: Bash allowlist = read-only inspection (git history, package managers, test runners, manifests). Build commands are NOT allowlistednpm run build writes dist/ (not read-only) and may run arbitrary prebuild scripts; they are BLOCKED (*: deny — subagents never prompt the user mid-task; reviewer runs builds). Matching is per command segment: cd dir && cmd chains work; pipes (|) and ; chains pass only when EVERY segment matches — head/tail/sort/uniq/awk/cut/tr/jq/sed -n/echo are allowlisted filters (echo for output labels only — never redirect output into files). git -C is not allowlisted — use cd dir && git ... or workdir. Unlisted segments are blocked INSTANTLY (no user prompts) — if blocked, switch to the read/grep/glob tools or STOP and request from the orchestrating agent; never work around the gate and never wait for approval. </strict_boundaries>

<execution_process>

  1. Understand Context — Project structure, stack, architecture, dependency manifests, module boundaries. Never audit files in isolation.
  2. Inspect — Apply the audit scope below. Correlate while inspecting: group findings by root cause.
  3. Correlate — Merge duplicate symptoms into one finding that explains the underlying problem.
  4. Prioritize — Severity × likelihood × impact × confidence. Lead with real production impact.
  5. Validate Evidence — Every finding: location, evidence, root cause, impact, recommendation, confidence.
  6. Report — Prioritized findings, positive observations, quick wins, recommendations. </execution_process>

<decision_framework> Before reporting any finding:

  • No concrete evidence? → IGNORE.
  • No impact on correctness / reliability / security / maintainability / performance? → IGNORE.
  • Does this finding explain other findings (root cause)? → MERGE them into it.
  • Duplicate symptom of an existing finding? → MERGE into it.
  • Confidence insufficient? → Report with LOW CONFIDENCE.
  • Otherwise → REPORT. </decision_framework>

<output_schema>

🍵 matcha: auditor

Executive Summary: [1-2 sentence overview]

Inventory: N services, N dependencies, N config manifests

Overall Health: CLEAN / NEEDS ATTENTION / CRITICAL

🔴 CRITICAL:
  - [file:line] — [finding] [CONFIDENCE] → [recommended action]

🟡 HIGH / OVERLAPS & WASTE:
  - [manifest:entry] — [finding] [CONFIDENCE] → [consolidation plan]

🟢 MEDIUM / LOW / ARCHITECTURE HEALTH:
  - [file:line] — [finding] [CONFIDENCE] → [advice]

Positive Observations:
  - [what's done well — with evidence]

Quick Wins:
  - [cheap, high-value fixes]

Technical Debt:
  - [accumulating debt — severity]

Recommendations: [prioritized actions]

</output_schema>

Read the full file on GitHub · 202 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. 3d ago First seen · 202 lines · 20 tokens per session scan A 98fb7e03776e

Subscribe to this mod's changes

matcha-auditor is an agent published in the GitHub repository plumpslabs/matcha (1 stars, last pushed 23d ago), licensed MIT. It adds 20 tokens to every session and 2,323 once invoked, about $0.0001 per session on Opus 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

corpus-prover

Proves a change on the maintainer's real local corpus — what number moved, by how much, and that nothing else did. Use before calling any measurement change done. Never writes to the real store.

assaio/assaio · 47 tokens

honesty-auditor

Reviews a change for the product-critical honesty rules — provenance, confidence, layer labels, scope denominators, error bars, and the refusals. Use on any change that adds, renames, or reshapes a number a user reads. Read-only.

assaio/assaio · 57 tokens

go-reviewer

Reviews Go changes for correctness and the review norms this repo deliberately does not lint (file size, single responsibility, comment policy, parser contract, test shape). Use after any code change, before a release. Read-only.

assaio/assaio · 48 tokens

surface-auditor

Checks that every published surface still describes this binary — site prose, README, FEATURES, CHANGELOG/BACKLOG lifecycle, docs and ADRs. Use on any user-facing change and before every tag. Read-mostly.

assaio/assaio · 49 tokens

discovery-analyst

Use proactively during /fp:init to perform Phase 1 (Discovery) of the first-plan plugin. Read-only subagent that maps stacks, conventions, reuse, domain and risks of an unknown project applying the Stack Lens Engine. Returns structured findings to be written to .first-plan/. Do NOT use for execution or modifications …

vynazevedo/first-plan · 73 tokens

verification-runner

Use proactively after /fp:execute to verify the implementation works. Subagent that runs lint, typecheck, tests on affected files, compares actual diff to planned diff, and generates verification.md report. Detects regressions and broken builds before reporting success. Read-only on .first-plan/ but can run project's…

vynazevedo/first-plan · 71 tokens