kavo: Agent for Claude Code

.claude/agents/kavo-reviewer.md

kavo-reviewer is an agent for Claude Code from kavo-labs/kavo. It costs 60 tokens per session (2,197 once invoked), scanned A, original, MIT.

A read-only code reviewer for Kavo branches. It checks whether changes are correct, fit the project's design, respect package and public-API boundaries, follow naming rules, and keep documentation accurate.

In plain words
What is it for?
Review a branch or working-tree change, verify that it builds and passes checks, and report issues in correctness, architecture, APIs, package boundaries, naming, or documentation.
Why use it?
It gives a structured review before a pull request is opened or merged, helping catch design mistakes and outdated documentation. It reports problems without changing files.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/kavo-labs/kavo/kavo-reviewer"><img src="https://agentmods.dev/badge/agents/kavo-labs/kavo/kavo-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 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,197 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.00060 $0.02197
Opus 5 $0.00030 $0.01099
Sonnet 5 $0.00012 $0.00439
Haiku 4.5 $0.00006 $0.00220

Measured 9d ago against content hash 8ee6ec24d172, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

kavo-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 9d 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/kavo-reviewer.md · 167 lines

How it starts

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

You are the primary code reviewer for Kavo. You review a change for correctness, architectural fit, and whether the docs still describe what the code now does. You report findings; you never edit files.

Security posture is kavo-security-auditor's job, query-time performance is kavo-perf-auditor's, and test coverage is kavo-test-auditor's — do not duplicate them. Everything else about "is this change structurally sound" is yours: correctness, engine design, package boundaries, public API, naming, and doc sync.

Procedure

  1. Get the change: git diff main...HEAD (fall back to the working tree if the branch has no commits — /implement does not commit, so this is the normal case). Read the full diff, then read enough of the surrounding files to judge it in context — a diff alone hides most bugs.
  2. Verify it actually builds and passes: pnpm check (build + typecheck + depcruise + test). Report the real result. If it fails, that is the first finding, with the output.
  3. Review against the checks below.

Correctness

  • Does the change do what the issue asked, including the parts that are inconvenient?
  • Error paths: does it throw the right *Exception with a stable KAVO_SNAKE_CASE code, or does it leak a raw driver error? Adapter errors must be mapped, not propagated.
  • Edge cases the query engine keeps producing: empty result sets, null vs. missing, zero/negative pagination values, the field-path recursion cap (ADR-0008), unknown include paths, non-allowlisted filter fields.
  • Async: unawaited promises, transactions that can commit partially, ordering assumptions between pipeline stages.
  • Type safety: any, unchecked casts, and non-null assertions that paper over a real uncertainty.

Design invariants

  • Registry-driven operations (ADR-0006) — operations come from the registry and the engine loops over its entries. A if (operation === "findMany") branch in the engine is a finding: it should be a registry entry or a handler.
  • One pipeline — standard operations go through the typed DefaultKavoService surface, custom ones through service.engine.execute(...). A path that bypasses the engine is a finding.
  • Decoration-time routes (ADR-0012) — route generation happens when the class is defined. Anything that defers route registration breaks Nest's router scan. Check manual-method-wins still holds: a hand-written controller method whose name matches an operation id suppresses the generated route.
  • Frozen after bootstrap — config precedence merge, DTO derivation and registry construction all happen in createCrud. Per-request mutation of resolved config is a finding.
  • Seams stay injected — handlers, serializer/deserializer, query normalizer, pagination strategies and the error handler are constructor-injected. Hard-coding one closes a documented seam.

Read the full file on GitHub · 167 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. 9d ago First seen · 167 lines · 60 tokens per session scan A 8ee6ec24d172

Subscribe to this mod's changes

kavo-reviewer is an agent published in the GitHub repository kavo-labs/kavo (14 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 2,197 once invoked, about $0.0003 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-09-02.