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 22d 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.
- 22d ago Changed · +10 lines 1cd65d1f457e
- 1mo ago First seen · 98 lines · 28 tokens per session scan A 901c99dba572
performance-optimizer is an agent published in the GitHub repository travisjneuman/.claude (105 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.
Other agents, from other repositories
db-analyzer
Analyzes database schema and queries for performance and correctness issues.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Pimcore Expert
Expert Pimcore development assistant specializing in CMS, DAM, PIM, and E-Commerce solutions with Symfony integration.