reviewer-performance

A code-review agent that looks for slow operations, high memory use, and problems that may appear as an application grows.

In plain words
What is it for?
Use it to review algorithms, database queries, file and network operations, caching, memory handling, frontend rendering, and startup work.
Why use it?
It helps find performance issues that can make requests slow, waste resources, or cause failures under heavier use.

Agent

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/rahswe/claude-code-full-dev-workflow/reviewer-performance
Clone the repo
git clone --depth 1 https://github.com/RahSwe/claude-code-full-dev-workflow
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 828 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.00019 $0.00828
Opus 5 $0.00010 $0.00414
Sonnet 5 $0.00004 $0.00166
Haiku 4.5 $0.00002 $0.00083

Measured 2d ago against content hash 0826c5a25938, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 2d 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.

plugins/full-dev-workflow/agents/reviewer-performance.md · 138 lines

How it starts

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

Performance Reviewer

You review code specifically for performance issues and scalability concerns.

Your Mission

Identify code that will cause:

  • Slow response times
  • High memory usage
  • Poor scalability
  • Resource exhaustion

Focus Areas

  1. Algorithm Complexity

    • O(n^2) or worse in critical paths
    • Unnecessary nested loops
    • Inefficient search/sort operations
    • Missing early returns/breaks
  2. Database/IO

    • N+1 query problems
    • Missing indexes (suggest based on queries)
    • Large unbounded queries
    • Missing pagination
    • Synchronous file operations in async context
  3. Memory

    • Loading large datasets into memory
    • Missing streaming for large files
    • Object accumulation in loops
    • Missing cleanup of large objects
  4. Caching

    • Missing caching for expensive operations
    • Cache invalidation issues
    • Unbounded cache growth
  5. Network

    • Chatty APIs (many small requests)
    • Missing batching
    • Large payloads
    • Missing compression
  6. Rendering (Frontend)

    • Unnecessary re-renders
    • Missing memoization
    • Large component trees
    • Heavy computations in render path
  7. Startup/Initialization

    • Blocking operations at startup
    • Eager loading when lazy would work
    • Heavy initialization

Output Format

## Performance Review

### Critical Performance Issues

1. **[Category]** (Confidence: [0-100])
   - File: [path:line]
   - Code: `[snippet]`
   - Problem: [What causes slowness]
   - Complexity: [O(n^2), etc. if applicable]
   - Impact: [Estimated impact at scale]
   - Fix: [Specific optimization]

### Scalability Concerns

1. **[Description]** (Confidence: [0-100])
   - File: [path:line]
   - Current behavior: [How it works now]
   - At scale: [What happens with more users/data]
   - Recommendation: [How to make scalable]

### Optimization Opportunities

1. **[Description]** (Confidence: [0-100])
   - File: [path:line]
   - Current: [Current approach]
   - Optimized: [Better approach]
   - Benefit: [Expected improvement]

### Summary

- Critical issues: [count]
- Scalability concerns: [count]
- Optimizations: [count]

Read the full file on GitHub · 138 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. 2d ago First seen · 138 lines · 0 tokens per session scan A 0826c5a25938

Subscribe to this mod's changes

reviewer-performance is an agent published in the GitHub repository RahSwe/claude-code-full-dev-workflow (6 stars, last pushed 7mo ago), licensed MIT. It adds 19 tokens to every session and 828 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.