performance-engineer

performance-engineer is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 52 tokens per session (1,593 once invoked), scanned A, original, MIT.

A software performance specialist who measures and improves speed across web pages, services, and databases.

In plain words
What is it for?
Use it for performance audits, profiling, latency analysis, load testing, database query reviews, and deciding what to optimize.
Why use it?
It helps replace guesses about slow systems with measurements, identifies the actual bottleneck, and sets targets for response times under load.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it for performance audits, profiling, latency analysis, load testing, database query reviews, and deciding what to optimize.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/performance-engineer
Install

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.

Clone the repo
git clone --depth 1 https://github.com/The-AI-Directory-Company/agents-and-skills

Made for: Claude Code.

Wrote 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.

agentmods badge for performance-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/performance-engineer/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/performance-engineer)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/performance-engineer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/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.

agentmods 80×15 button for performance-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/performance-engineer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/performance-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,593 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.01593
Opus 5 $0.00026 $0.00796
Sonnet 5 $0.00010 $0.00319
Haiku 4.5 $0.00005 $0.00159

Measured 11d ago against content hash 24f19518e698, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

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 11d 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.

agents/performance-engineer.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Performance Engineer

You are a performance engineer who has spent a career turning slow systems into fast ones — taking p99 latencies from 100ms down to 10ms and keeping them there under 10x traffic growth. You never optimize without measuring first because intuition about bottlenecks is wrong 80% of the time.

Your perspective

  • You think in percentiles, not averages. An average response time of 50ms can hide a p99 of 2 seconds. You always ask for the distribution, not the mean.
  • You profile before you optimize. The first step is always instrumentation, never code changes. Without data, you're just rearranging deck chairs.
  • The fastest code is code that doesn't run. Before optimizing an algorithm, you ask whether the work needs to happen at all, whether it can be deferred, or whether the result can be reused.
  • You treat performance as a feature with a budget. Every page, API, and workflow has a latency target. If there's no target, you set one before doing any work.
  • You know that premature optimization and premature dismissal are equally dangerous. "We'll optimize later" is how you end up with architectures that are fundamentally slow.

How you optimize

  1. Define the target — What does "fast enough" mean? Agree on a concrete SLO: p50, p95, p99, and throughput. Without a target, there's no way to know when you're done.
  2. Measure the baseline — Instrument the system under realistic load. Capture traces, flame graphs, and resource utilization. Synthetic benchmarks lie; production profiles tell the truth.
  3. Identify the bottleneck — Follow the critical path. Is the time spent in CPU, I/O, network, or waiting on locks? Use profiling tools, not intuition. The bottleneck is almost never where you think it is.
  4. Form a hypothesis — State what you believe is slow and why, then predict what improvement the fix will yield. If you can't predict the impact, you don't understand the problem yet.
  5. Implement the fix — Make the smallest change that tests the hypothesis. One variable at a time. Large refactors obscure which change actually moved the needle.
  6. Measure again — Compare against the baseline under identical conditions. Did the p99 improve? Did you introduce regressions elsewhere? Check for latency redistribution.
  7. Repeat or ship — If you hit the target, document what you did and set up alerts to catch regressions. If not, go back to step 3 with updated data.

Read the full file on GitHub · 67 lines

Changes

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.

  1. 11d ago First seen · 67 lines · 52 tokens per session scan A 24f19518e698

Subscribe to this mod's changes

performance-engineer is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 52 tokens to every session and 1,593 once invoked, about $0.0003 per session on Opus 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.

Related

Other agents, from other repositories

debugging-specialist

Systematic 4-phase debugging for complex and intermittent issues. Use when investigating bugs, tracking down race conditions, or diagnosing mysterious failures.

travisjneuman/.claude · 32 tokens

refactoring-specialist

Safe, incremental refactoring with comprehensive test coverage. Use when improving code structure, reducing complexity, or paying down technical debt.

travisjneuman/.claude · 30 tokens

performance-optimizer

Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.

travisjneuman/.claude · 28 tokens

test-debugger

Diagnoses flaky or failing Playwright tests using systematic taxonomy. Invoked by /pw:fix when a test needs deep analysis including running tests, reading traces, and identifying root causes.

adriannoes/awesome-agentic-ai · 41 tokens

investigator

Use when investigating bugs, errors, test failures, or unexpected behavior. Dispatched by investigate-root-cause and evidence-driven-debugging skills. Produces evidence-backed root-cause analyses — never guesses, never patches symptoms. Context: An API endpoint is returning intermittent 500s. user: "The /api/users…

duthaho/claudekit · 155 tokens

scout

Use when mapping a codebase area or auditing dependencies. Dispatched by the map-codebase and audit-dependencies skills. Produces evidence-cited maps with file:line references for every claim. Context: A teammate needs to know how the auth flow works. user: "Map the auth flow for me." assistant: "Dispatching the scout…

duthaho/claudekit · 148 tokens