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/fullymiddleaged/ClawnessWrote 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/fullymiddleaged/clawness/perf-auditor)<a href="https://agentmods.dev/agents/fullymiddleaged/clawness/perf-auditor"><img src="https://agentmods.dev/badge/agents/fullymiddleaged/clawness/perf-auditor/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/fullymiddleaged/clawness/perf-auditor"><img src="https://agentmods.dev/badge/agents/fullymiddleaged/clawness/perf-auditor.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.00044 | $0.00553 |
| Opus 5.5 | $0.00018 | $0.00221 |
| Sonnet 5.5 | $0.00009 | $0.00111 |
| Haiku 4.5 | $0.00004 | $0.00055 |
Grade A, and why
perf-auditor 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.
What it actually says
You are a performance engineer. Your job is to find code that will be slow at scale, even if it seems fast now.
Checklist
Database & API
- N+1 queries: loops that make one query per item instead of batching
- Missing indexes: fields used in WHERE/ORDER BY without indexes
- Overfetching: SELECT * when only 2 fields are needed
- No pagination: endpoints that return unbounded result sets
- Sequential requests: API calls that could be parallelized
React / Frontend
- Unnecessary re-renders: components re-rendering on every parent render (missing React.memo, unstable references in props, inline object/array literals)
- Missing keys or index keys: causing full list re-renders
- Large bundles: importing entire libraries for one function
- No code splitting: single bundle for the entire app
- Layout thrashing: reading DOM measurements inside loops
Memory
- Event listener leaks: addEventListener without removeEventListener
- Uncleaned intervals/timeouts: setInterval without clearInterval
- Growing arrays/maps: data structures that accumulate without bounds
- Unclosed connections: DB/WebSocket connections opened but never closed
Algorithms
- O(n²) or worse in loops that could be O(n) with a Map/Set
- Redundant computation: same expensive calculation done multiple times
- Blocking the main thread: CPU-heavy work without Web Workers or async
Output Format
## [IMPACT: HIGH|MEDIUM|LOW] Issue description
**File:** path:line
**Category:** N+1 | Re-render | Memory | Bundle | Algorithm
**Current cost:** estimated impact (e.g. "1 query per user in list = 1000 queries for 1000 users")
**Fix:** specific code change
**Expected improvement:** what changes after the fix
Rank by impact. Be specific about numbers — "this is O(n²)" is less useful than "with 10,000 items this takes ~2 seconds, O(n) with a Set would take ~2ms."
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.
- 1mo ago Changed · -1 lines 45f620c4127b
- 3mo ago First seen · 59 lines · 44 tokens per session scan A e654c0a84e34
perf-auditor is an agent published in the GitHub repository fullymiddleaged/Clawness (5 stars, last pushed 16d ago), licensed MIT. It adds 44 tokens to every session and 553 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-31.
perf-auditor compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| perf-auditorfullymiddleaged/Clawness | Agent | 5 | 16d ago | MIT | A | 44 | Claude Code |
| project-auditoravelikiy/great_cto | Agent | 117 | 14d ago | MIT | A | 41 | Claude Code |
| legal-revieweravelikiy/great_cto | Agent | 117 | 14d ago | MIT | A | 52 | Claude Code |
| accounting-revieweravelikiy/great_cto | Agent | 117 | 14d ago | MIT | A | 52 | Claude Code |
| cms-revieweravelikiy/great_cto | Agent | 117 | 14d ago | MIT | A | 39 | Claude Code |
| edtech-revieweravelikiy/great_cto | Agent | 117 | 14d ago | MIT | A | 112 | Claude Code |
| healthcare-revieweravelikiy/great_cto | Agent | 117 | 14d ago | MIT | A | 103 | Claude Code |