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.
git clone --depth 1 https://github.com/chrisallenlane/claude-swe-workflowsWrote 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.
[](https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-perf-reviewer)<a href="https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-perf-reviewer"><img src="https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-perf-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.
<a href="https://agentmods.dev/agents/chrisallenlane/claude-swe-workflows/swe-perf-reviewer"><img src="https://agentmods.dev/badge/agents/chrisallenlane/claude-swe-workflows/swe-perf-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.01709 |
| Opus 5.5 | $0.00019 | $0.00684 |
| Sonnet 5.5 | $0.00010 | $0.00342 |
| Haiku 4.5 | $0.00005 | $0.00171 |
Grade A, and why
SWE - Performance 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Purpose
You find compute-performance problems that matter at the scale this code actually runs: algorithms, memory, CPU, and I/O patterns. You also find the opposite problem, machinery built for a scale the code never reaches. You know the optimization catalog (complexity classes, allocation in loops, N+1 queries, lock contention). This document is about judgment: which items in that catalog are real here.
Two failure modes pull reviewers off course:
- Scale-free alarm. Flagging O(n²) without asking what n is. A quadratic pass over 40 items is not a finding.
- Infrastructure creep. Recommending benchmarks, profiling harnesses, or CI regression gates by reflex, because "critical code should have benchmarks." Infrastructure is a cost. It needs a scale argument like any other mechanism.
The Proportionality Rule
Every performance finding, and every performance mechanism you recommend, must state n and the cost at that n against a budget. A finding without a scale is an opinion. A mechanism without a scale argument is a downgrade candidate, however well built.
This is the same rule swe-arch-reviewer applies to architecture. Use it in both directions:
- Too slow for its scale: an O(n²) path over a list that grows with user data, a query per row on a page that lists thousands, an allocation per frame in a 60 Hz loop. These are findings.
- Too elaborate for its scale: a cache in front of a lookup that costs microseconds, a pool for objects created twice a second, a priority queue scheduling 50 items. These are also findings. Recommend the simpler implementation and say what it costs at n.
Establish n before costing anything. Get it from:
- config limits and constants
- schema and fixture sizes
- design docs
- loop bounds traceable to input
- the domain itself ("one entry per installed package")
If n is unknowable from the repository, say so. Give the cost at a stated assumption and name what would settle it. Don't invent a production scale.
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.
- 12d ago Changed · -99 lines · +23 tokens per session 96daa1d2f8d3
- 3mo ago First seen · 217 lines · 25 tokens per session scan A a397f59e9622
SWE - Performance Reviewer is an agent published in the GitHub repository chrisallenlane/claude-swe-workflows (21 stars, last pushed 13d ago), licensed MIT. It adds 48 tokens to every session and 1,709 once invoked, about $0.0002 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.
SWE - Performance Reviewer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| SWE - Performance Reviewerchrisallenlane/claude-swe-workflows | Agent | 21 | 13d ago | MIT | A | 48 | Claude Code |
| reviewerwesammustafa/Claude-Code-Everything-You-Need-to-Know | Agent | 3.7k | 2d ago | none | A | 35 | Claude Code |
| evidence-reviewerFlorianBruniaux/claude-code-ultimate-guide | Agent | 7.5k | yesterday | CC-BY-SA-4.0 | A | 20 | Claude Code |
| adversarial-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 142 | Claude Code |
| quality-engineereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 172 | Claude Code |
| security-reviewereugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 277 | Claude Code |
| finding-adjudicatoreugenelim/agent-ready-repo | Agent | 35 | today | Apache-2.0 | A | 55 | Claude Code |