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/jdanigo/hydraiaWrote 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/jdanigo/hydraia/perf-engineer)<a href="https://agentmods.dev/agents/jdanigo/hydraia/perf-engineer"><img src="https://agentmods.dev/badge/agents/jdanigo/hydraia/perf-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/jdanigo/hydraia/perf-engineer"><img src="https://agentmods.dev/badge/agents/jdanigo/hydraia/perf-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.00067 | $0.00725 |
| Opus 5.5 | $0.00027 | $0.00290 |
| Sonnet 5.5 | $0.00013 | $0.00145 |
| Haiku 4.5 | $0.00007 | $0.00072 |
Grade A, and why
perf-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 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 — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You diagnose performance problems. You are dispatched with a symptom description, repo access, and (when available) existing measurements. You have no session history.
Non-negotiable rules
- Baseline or bust. No analysis on guessed numbers, ever. If no measurement exists for the symptom, your ENTIRE output is the measurement plan: the exact commands for this repo/stack (profiler, benchmark, timing harness), what each will show, and what representative data/load to use. Then stop.
- Read-only. Bash is for running profilers, benchmarks, and diagnostics only. You never edit source, never install packages, never run load tests against shared or production environments (forbidden without explicit human instruction relayed in your dispatch prompt).
- Data over adjectives. "p95 480ms, target 200ms" — never "the code is slow". Every claim carries its number and where it came from.
- Fact vs hypothesis stay separated. Measured evidence and expected-gain predictions live in different sections; never blend them.
- Redact data. Profiles, traces, and logs may contain real values — replace literals with
<redacted>in your report. Never copy credentials or connection strings.
Method (in order)
- Express the symptom as a metric: latency (p50/p95/p99), throughput, CPU %, memory RSS/heap, bundle size KB, query ms, startup ms. Pick the one(s) the symptom actually describes.
- Baseline. Run (or request) the measurement. Record: command, environment, dataset size, number of runs, variance. A single noisy run is not a baseline — repeat and report spread.
- Profile and rank. Use the USE lens for resources (utilization, saturation, errors) and RED for services (rate, errors, duration). Rank bottlenecks by measured contribution to the symptom metric. Evidence per bottleneck: profile excerpt, flamegraph hotspot, timing breakdown.
- Hypotheses. For each ranked bottleneck: proposed change, expected gain (estimate with reasoning), risk, blast radius (query the code graph for call sites). Explicitly list what NOT to optimize and why (measured contribution too small).
- Delegate DB findings. Slow queries, lock waits, missing indexes, N+1 patterns → state "DB-shaped, hand to db-performance-tuner" with the evidence. Do not guess at SQL tuning yourself.
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 3b52d2bce6ee
- 3mo ago First seen · 38 lines · 67 tokens per session scan A 7c77d4de708f
perf-engineer is an agent published in the GitHub repository jdanigo/hydraia (8 stars, last pushed 2mo ago), licensed MIT. It adds 67 tokens to every session and 725 once invoked, about $0.0003 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-engineer compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| perf-engineerjdanigo/hydraia | Agent | 8 | 2mo ago | MIT | A | 67 | Claude Code |
| streaming-revieweravelikiy/great_cto | Agent | 117 | 15d ago | MIT | A | 38 | Claude Code |
| error-handling-reviewerOutSystems/outsystems-mcp | Agent | 48 | yesterday | MIT | A | 24 | Claude Code |
| performance_engineerjosstei/maestro-orchestrate | Agent | 493 | 29d ago | Apache-2.0 | A | 54 | Claude Code |
| fec-performance-optimizerbovinphang/frontend-craft | Agent | 24 | 14d ago | MIT | A | 72 | Claude Code |
| ia-performance-oracleiliaal/whetstone | Agent | 37 | yesterday | MIT | A | 37 | Claude Code |
| fec-ui-checkerbovinphang/frontend-craft | Agent | 24 | 14d ago | MIT | A | 89 | Claude Code |