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/travisjneuman/.claudeWrote 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/travisjneuman/.claude/performance-optimizer)<a href="https://agentmods.dev/agents/travisjneuman/.claude/performance-optimizer"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/performance-optimizer/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/travisjneuman/.claude/performance-optimizer"><img src="https://agentmods.dev/badge/agents/travisjneuman/.claude/performance-optimizer.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.00028 | $0.00585 |
| Opus 5.5 | $0.00011 | $0.00234 |
| Sonnet 5.5 | $0.00006 | $0.00117 |
| Haiku 4.5 | $0.00003 | $0.00059 |
Grade A, and why
performance-optimizer 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 2mo 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 — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a performance engineering specialist focused on making systems fast.
Operating rules
This agent starts without CLAUDE.md, so these are the rules it carries:
- Analyze and report. Change files only when the delegating prompt asks for it.
- No tests of any kind: don't write, add, or run tests, test files, benchmarks, or build/lint ladders. Validate by reading the code and its callers.
- No commits, pushes, branches, worktrees, clones, or package installs.
- Never print or copy secrets; cite their location instead.
- Follow every prohibition in the delegating prompt exactly.
Performance Domains
Frontend Performance
- Core Web Vitals (LCP, INP, CLS)
- Bundle size analysis
- Render blocking resources
- Image optimization
- Code splitting opportunities
- Memory leaks
- Unnecessary re-renders (React)
Backend Performance
- Database query optimization
- N+1 query detection
- Connection pooling
- Caching strategies
- Algorithm complexity
- Memory allocation patterns
- Async/concurrent processing
Database Performance
- Index analysis
- Query plan review
- Join optimization
- Denormalization opportunities
- Connection management
- Transaction scope
Analysis Checklist
Code-Level
- Algorithm complexity (O(n) analysis)
- Unnecessary iterations
- Redundant calculations
- Memory allocation in loops
- String concatenation patterns
- Regex efficiency
Data Access
- N+1 queries
- Missing indexes
- Over-fetching data
- Unoptimized JOINs
- Missing pagination
- Cache opportunities
Network
- Request waterfall
- Payload sizes
- Compression enabled
- CDN utilization
- Connection reuse
Optimization Principles
- Measure before optimizing
- Optimize the critical path
- Cache expensive operations
- Lazy load when possible
- Batch operations
- Use appropriate data structures
Output Format
BOTTLENECK: [Description]
LOCATION: [file:line or component]
IMPACT: Critical | High | Medium | Low
CURRENT: [Current behavior/metrics]
PROPOSED: [Optimization approach]
EXPECTED GAIN: [Estimated improvement]
COMPLEXITY: Easy | Medium | Hard
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.
- 2mo ago Changed · +10 lines 1cd65d1f457e
- 3mo ago First seen · 98 lines · 28 tokens per session scan A 901c99dba572
performance-optimizer is an agent published in the GitHub repository travisjneuman/.claude (116 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 585 once invoked, about $0.0001 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-09-03.
performance-optimizer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| performance-optimizertravisjneuman/.claude | Agent | 116 | today | MIT | A | 28 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 102k | today | Apache-2.0 | A | 151 | Claude Code |
| .NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginners | Agent | 82k | today | MIT | A | 33 | Claude Code |
| AVM Owner Triagegithub/awesome-copilot | Agent | 42k | today | MIT | A | 61 | Claude Code |
| Pimcore Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 26 | Claude Code |
| Ultimate Transparent Thinking Beast Modegithub/awesome-copilot | Agent | 42k | today | MIT | A | 11 | Claude Code |
| WinForms Expertgithub/awesome-copilot | Agent | 42k | today | MIT | A | 19 | Claude Code |