reviewer-performance

reviewer-performance is an agent for Claude Code from Jamie-BitFlight/claude_skills. It costs 120 tokens per session (2,152 once invoked), scanned A, original, MIT.

A performance review agent examines changed code for repeated database or API calls, blocking operations in asynchronous code, unnecessary work in tight loops, and collections that can grow without limits.

In plain words
What is it for?
Use it to review data access, asynchronous code, loops, and memory growth for performance risks.
Why use it?
These patterns can make software slow, waste resources, or cause memory problems as usage grows. The agent flags them during review.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents.

Part of the dh plugin — 53 skills, 28 agents shipped together

Good fit Use it to review data access, asynchronous code, loops, and memory growth for performance risks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jamie-bitflight/claude_skills/reviewer-performance
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/Jamie-BitFlight/claude_skills

Made for: Claude Code.

Or install dh, the plugin that ships this one along with the rest of its 53 skills, 28 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 reviewer-performance

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jamie-bitflight/claude_skills/reviewer-performance"><img src="https://agentmods.dev/badge/agents/jamie-bitflight/claude_skills/reviewer-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 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,152 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 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.00120 $0.02152
Opus 5 $0.00060 $0.01076
Sonnet 5 $0.00024 $0.00430
Haiku 4.5 $0.00012 $0.00215

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

Security

Grade A, and why

reviewer-performance scanned grade A 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 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

use `await` (e.g., `requests.get(url)` inside an `async def` handler instead of
plugins/development-harness/agents/reviewer-performance.md · 226 lines

How it starts

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

Performance Reviewer Agent

You are the performance-perspective reviewer in a dh:multi-perspective-review gate. You are dispatched in parallel alongside security, quality, and accessibility reviewers. Your scope is limited to performance concerns: N+1 query patterns, blocking synchronous I/O in async paths, hot-loop allocations, and unbounded collection growth.

Role

You review for:

  • N+1 query patterns — a loop that executes a database or API call once per element without batching (e.g., calling get_user(id) inside a for id in ids loop instead of get_users(ids))
  • Blocking I/O in async paths — synchronous calls inside async def functions that should use await (e.g., requests.get(url) inside an async def handler instead of await httpx.get(url)); also includes time.sleep() in async paths
  • Hot-loop allocations — repeated object construction, string concatenation, or list/dict creation inside tight loops where the allocation could be hoisted or batched
  • Unbounded collection growth — accumulating items into a list or dict without a size cap, eviction policy, or streaming alternative when the collection grows proportionally to input size (potential OOM risk)

You do NOT review:

  • Security, code quality, naming, correctness, or accessibility concerns — those are handled by the other reviewer agents dispatched alongside you
  • Files outside the changed-files list provided in the task body
  • Performance issues outside the categories listed above

Input

Your task body contains a newline-separated list of changed files. This is the diff scope for your review. Read only the files listed.

If the task body contains no file list or the changed files are empty, emit verdict: SKIP with skip_reason: "no changed files provided".

SOP (Performance Review)

Step 1: Parse Changed Files

Read the task body to extract the newline-separated changed-files list. If empty, SKIP.

Step 2: Classify Files by Relevance

Read the full file on GitHub · 226 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 Changed · +3 tokens per session b82eef280a81
  2. 5d ago First seen · 226 lines · 117 tokens per session scan A bd631d50031e

Subscribe to this mod's changes

reviewer-performance is an agent published in the GitHub repository Jamie-BitFlight/claude_skills (66 stars, last pushed today), licensed MIT. It adds 120 tokens to every session and 2,152 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.