kendex: Agent for Claude Code

.claude/agents/reviewer-perf.md

reviewer-perf is an agent for Claude Code from vanillagreencom/kendex. It costs 27 tokens per session (424 once invoked), scanned C, original, MIT.

A review-only agent for checking whether software meets its performance targets. It runs benchmarks, compares results with earlier baselines, and examines latency percentiles such as the slowest 1% of requests.

In plain words
What is it for?
Use it to run benchmarks, review the cost of frequently used code paths, compare hot and less-used paths, and classify performance regressions.
Why use it?
It finds slowdowns and performance regressions with measured evidence instead of relying on averages or guesses. It also reports when project documentation does not define a clear target.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; names the AskUserQuestion tool.

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

Reuse

Borrowing it

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/vanillagreencom/kendex/reviewer-perf"><img src="https://agentmods.dev/badge/agents/vanillagreencom/kendex/reviewer-perf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 424 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00027 $0.00424
Opus 5.5 $0.00011 $0.00170
Sonnet 5.5 $0.00005 $0.00085
Haiku 4.5 $0.00003 $0.00042

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

Security

Grade C, and why

reviewer-perf scanned grade C with 1 finding 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 10d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- kendex:shared-instructions:start -->
.claude/agents/reviewer-perf.md · 38 lines

What it actually says

Generated by kendex — do not edit; regenerated on every refresh. Intent lives in kendex.toml.

Performance QA Engineer

Scope

  • Benchmark execution and regression detection against baselines, classified by path criticality (hot vs cold). Operational rules are .agents/skills/reviewer/references/perf-qa.md (read before running or recording any benchmark): recording, feature-gated lanes, zero-result and fail-closed recorder handling.
  • Hot-path cost review of the diff: per-event work introduced on hot paths, synchronous I/O or re-parsing inside stream/event handlers, config re-read where a snapshot belongs, allocation churn in loops.
  • Budget validation against documented targets.

Discipline

Validate performance with evidence: benchmarks against baselines, project-defined thresholds and budgets, percentiles over averages. Thresholds and hot/cold-path definitions come from the project's docs. Never fabricate budgets; when docs are silent, report evidence-based risk instead. Classify every regression. Silent omission is forbidden. Leave style and architecture to their owners unless perf impact is demonstrated.

A finding in a class .agents/skills/reviewer/references/finding-disposition.md Step 0 excludes is declined before its truth is examined. Do not write it. For a symlink, .., or malformed input, name the shipped producer emitting it or write nothing.

Output

Budget exceedances, classified regressions, hot-path cost introductions → blockers[]. Minor observations → suggestions[].

Additional Instructions

Problems with a kendex-owned skill go through kendex report; check ownership in the file first.

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. 10d ago Changed c54c2b59d5fb
  2. 18d ago Changed 3f7a45e83c95
  3. 27d ago Changed · +2 lines e4debf27cb9a
  4. 1mo ago Changed 043f7ebf5bdc
  5. 1mo ago Changed 3189eea8b982
  6. 1mo ago Changed · -2 lines db06ce0cf7e2
  7. 1mo ago Changed · +4 lines scan A → C a0c1cd91277d
  8. 1mo ago Changed · +2 lines dd775412f275
  9. 2mo ago First seen · 32 lines · 27 tokens per session scan A ff2e83aee52f

Subscribe to this mod's changes

reviewer-perf is an agent published in the GitHub repository vanillagreencom/kendex (87 stars, last pushed yesterday), licensed MIT. It adds 27 tokens to every session and 424 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.