reviewer-performance

reviewer-performance is an agent for Claude Code from wsauret/flywheel. It costs 345 tokens per session (1,157 once invoked), scanned A, original, MIT.

A code-review agent focused on speed, memory use, database access, caching, and behavior as data grows. It examines how code spends time and resources along its main execution paths.

In plain words
What is it for?
Use it after implementing features or when reviewing scalability, database queries, asynchronous code, allocations, cleanup, and caching opportunities.
Why use it?
It helps find slow algorithms, repeated database queries, unnecessary data loading, memory leaks, and other bottlenecks before they become larger problems.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the flywheel plugin — 15 skills, 15 agents shipped together

Good fit Use it after implementing features or when reviewing scalability, database queries, asynchronous code, allocations, cleanup, and caching opportunities.

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

Made for: Claude Code.

Or install flywheel, the plugin that ships this one along with the rest of its 15 skills, 15 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/wsauret/flywheel/reviewer-performance/github.svg)](https://agentmods.dev/agents/wsauret/flywheel/reviewer-performance)
Your own site
<a href="https://agentmods.dev/agents/wsauret/flywheel/reviewer-performance"><img src="https://agentmods.dev/badge/agents/wsauret/flywheel/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/wsauret/flywheel/reviewer-performance"><img src="https://agentmods.dev/badge/agents/wsauret/flywheel/reviewer-performance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 345 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,157 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.00345 $0.01157
Opus 5.5 $0.00138 $0.00463
Sonnet 5.5 $0.00069 $0.00231
Haiku 4.5 $0.00034 $0.00116

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

Security

Grade A, and why

reviewer-performance 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 1mo 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.

flywheel/agents/reviewer-performance.md · 79 lines

How it starts

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

You trace hot paths, allocation patterns, and I/O boundaries. You ask: "at what scale does this break?" You flag O(n²) where O(n) fits, N+1 queries, and blocking calls in async paths.

Project Context

The orchestrator passes project context paths in the dispatch under "PROJECT CONTEXT PATHS." Read those paths for project-specific performance budgets and known hot paths before reviewing. If "none," apply universal scaling principles.

What to Check

1. Algorithmic Complexity

  • Identify time and space complexity for non-trivial algorithms
  • Flag O(n²) or worse without clear justification
  • Project: how does this behave at 10x and 100x current data volume?

2. Database & I/O

  • Detect N+1 query patterns
  • Verify index usage on queried columns
  • Check for unnecessary data fetching or missing eager loading
  • Identify unbatched operations on collections

3. Memory

  • Identify potential leaks (unbounded data structures, missing cleanup)
  • Check for large allocations that could be streamed or paginated
  • Verify disposal of resources in long-running processes

4. Caching Opportunities

  • Identify expensive computations that could be memoized
  • Flag repeated I/O that could be cached
  • Consider cache invalidation when recommending caching

5. Network

  • Minimize API round trips — recommend batching where appropriate
  • Flag unnecessarily large payloads

Before reviewing, load the language-standards skill and read the appropriate reference for each language in the code under review. Focus on the Performance and Anti-Patterns sections.

What NOT to review (other reviewers cover these)

  • Type safety, correctness, testability → reviewer-code-quality
  • Codebase consistency, naming, DRY → reviewer-patterns
  • Architectural boundaries, coupling → reviewer-architecture
  • Migration safety, data integrity → reviewer-data-integrity

For each finding, explain the current impact AND the projected impact at scale. Prioritize by impact.


Output Format

Return findings as natural-language prose. The orchestrating skill parses your output and structures it into schema-compliant JSON — you do NOT emit JSON.

Read the full file on GitHub · 79 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. 1mo ago First seen · 79 lines · 345 tokens per session scan A a03c6687ba73

Subscribe to this mod's changes

reviewer-performance is an agent published in the GitHub repository wsauret/flywheel (14 stars, last pushed today), licensed MIT. It adds 345 tokens to every session and 1,157 once invoked, about $0.0014 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-30.

Related

Other agents, from other repositories

code-reviewer

Code reviewer. Delegate only when the user explicitly starts an Octopus workflow.

nyldn/claude-octopus · 19 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

adversarial-validator

Assumes investigation evidence is WRONG and the proposed fix will FAIL. Searches for counter-evidence, unhandled edge cases, and flawed assumptions. Use for adversarial validation of investigation findings and planned fixes.

testdouble/han · 45 tokens

code-reviewer

Review code changes against a base branch with structured feedback. Use this agent when the user requests a code review, PR review, or wants to analyze code changes systematically.

NikiforovAll/claude-code-rules · 37 tokens

senior-code-reviewer

Reviews code changes for bugs, security issues, and code quality. Use when reviewing implementation changes, bug fixes, UI components, or utility functions.

brsbl/ottonomous · 35 tokens

claude-deep-review

Internal Claude subagent for deep code review — security vulnerabilities, bug detection, and performance analysis. Has native codebase access (Read, Grep, Glob, Bash) to trace input paths, follow call chains, profile hot paths, and verify assumptions. Launched automatically by council review workflows — not invoked…

rube-de/cc-skills · 71 tokens