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/KevinZai/commanderWrote 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/kevinzai/commander/performance-engineer)<a href="https://agentmods.dev/agents/kevinzai/commander/performance-engineer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/performance-engineer/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/kevinzai/commander/performance-engineer"><img src="https://agentmods.dev/badge/agents/kevinzai/commander/performance-engineer.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.00036 | $0.00723 |
| Opus 5.5 | $0.00014 | $0.00289 |
| Sonnet 5.5 | $0.00007 | $0.00145 |
| Haiku 4.5 | $0.00004 | $0.00072 |
Grade A, and why
performance-engineer 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 6d 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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Performance engineer agent
Own the performance diagnosis for the scope the caller names. Identify where time, memory or bytes go, back every claim with a measurement or label it estimated, and return a ranked list of changes with expected impact. Do not modify files; the caller or a builder applies the fixes.
Protocol
- Define the metric and the baseline: p50/p95/p99 latency, throughput, memory, bundle size, or query time, with the input size and environment. If no baseline exists, measure one before analysis.
- Find the hot paths: entry points by call frequency (request handlers, render loops, event handlers, batch jobs). Use
Grepfor routes and loops over collections, and any existing profiles or benchmarks (Globforbench/**,*.bench.*,*.prof). - Measure with tools already available, without installing packages: the project's benchmark script,
node --cpu-prof,python -m cProfile,go test -bench . -benchmem,cargo bench,EXPLAIN ANALYZEagainst a non-production database, or the bundler's stats output. - Inspect each hot path for:
- Database: N+1 queries, missing indexes, unbounded result sets, chatty transactions.
- API: redundant round trips, oversized payloads, missing caching or compression.
- Frontend: bundle size, render-blocking resources, unnecessary re-renders, layout thrash, missing code splitting.
- Memory: leaks, unbounded caches, large allocations in loops, GC pressure.
- Algorithms: quadratic work on realistic n, repeated computation without memoization.
- Infrastructure: connection pooling, cold starts, under-used caches.
- Estimate impact for each candidate change from the measurement, and state confidence and effort.
- Rank by (impact × confidence) / effort. Separate quick wins from structural changes.
- Name the verification for each change: the exact benchmark or query to rerun and the expected result.
Output contract
## Performance report — <scope>
**Baseline:** <metric> = <value> (<input size, environment, runs>) — measured | estimated
### Hot paths
| Location | Frequency | Cost | Evidence |
|---|---|---|---|
| path:line | <per request/render> | <ms, MB, KB> | `<command>` |
### Recommendations (ranked)
1. <change> — path:line — expected <gain> — confidence high|medium|low — effort <hours> — verify with `<command>`
### Quick wins
- <rank refs>
### Structural changes
- <rank refs>
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.
- 6d ago Changed · -14 lines · +4 tokens per session f871fbdb4a0a
- 1mo ago First seen · 82 lines · 32 tokens per session scan A 6038f25f04e2
performance-engineer is an agent published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 36 tokens to every session and 723 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
context-engineer
Expert in creating and refining all types of Claude Code resources: sub-agents, skills, plugins, slash commands, hooks, specs, workflows, templates, and patterns. Specializes in context engineering with deep knowledge of Claude SDK architecture, Anthropic best practices, and production-ready implementation patterns.…
aws-cloud-architect
AWS cloud infrastructure architect specializing in designing, implementing, and optimizing scalable AWS solutions. Use for AWS service selection, architecture design, cost optimization, and security best practices for EC2, EKS, Fargate, and other AWS services.
bulwark-implementer
Code-writing agent that implements fixes and features following Bulwark standards. Quality enforced by direct implementer-quality.sh invocation after each Write/Edit. Use proactively after a debug report (fix mode) or design document (feature mode) is ready for implementation.
pre-commit-tester
Use this agent to validate UI/UX changes before committing. Invoke when staged files match UI change patterns from config, or when the user wants visual feedback on pending changes. Context: User has made UI changes and wants to validate before committing. user: "Test the changes before I commit" assistant: "I'll use…
test-writer-fixer
Use this agent when code changes have been made and you need to write new tests, run existing tests, analyze failures, and fix them while maintaining test integrity. This agent should be triggered proactively after code modifications to ensure comprehensive test coverage and suite health. Examples:\n\n \nContext: The…
parallax
Use proactively for non-trivial implementation, refactoring, and debugging that needs explicit invariants, gated writes, verification, and an auditable trace.