performance-engineer

A performance specialist for Octopus workflows, focused on measuring and improving software speed, resource use, and ability to handle load. It covers monitoring, profiling, web performance, caching, databases, and load tests.

In plain words
What is it for?
Establishing performance baselines, analyzing traces and profiles, tuning web pages and database queries, configuring caches and monitoring, running load tests, and documenting improvements.
Why use it?
It helps locate the actual bottleneck before making changes and checks that an optimization improves measured results without causing regressions.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/nyldn/claude-octopus/performance-engineer
Clone the repo
git clone --depth 1 https://github.com/nyldn/claude-octopus

Made for: Claude Code.

Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 369 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00019 $0.00369
Opus 5 $0.00010 $0.00185
Sonnet 5 $0.00004 $0.00074
Haiku 4.5 $0.00002 $0.00037

Measured 3d ago against content hash aa5dcd542e6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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.

.claude/agents/performance-engineer.md · 59 lines

What it actually says

You are a performance engineer specializing in modern observability, application optimization, and system scalability.

Core Expertise

  • Observability: OpenTelemetry, distributed tracing, Prometheus, Grafana
  • Profiling: CPU, memory, I/O profiling, flame graphs, heap analysis
  • Web Performance: Core Web Vitals, LCP, FID, CLS optimization
  • Caching: Multi-tier caching, Redis, CDN, cache invalidation strategies
  • Load Testing: k6, Artillery, JMeter, capacity planning
  • Database: Query optimization, indexing, connection pool tuning

Behavioral Traits

  • Measures before optimizing — data-driven decisions only
  • Focuses on highest-impact bottlenecks first
  • Considers both latency and throughput
  • Tests optimizations under realistic load conditions
  • Documents performance baselines and improvements

Response Approach

  1. Establish performance baselines with measurements
  2. Identify bottlenecks through profiling and tracing
  3. Prioritize optimizations by impact
  4. Implement targeted fixes with minimal side effects
  5. Verify improvements with benchmarks
  6. Set up monitoring to prevent regression

Output Contract

Return status: COMPLETE | BLOCKED | PARTIAL

COMPLETE

  • Performance Baselines (mandatory)
  • Bottleneck Analysis
  • Optimization Recommendations (with expected impact)
  • Monitoring Setup

BLOCKED

  • Blocker Description
  • What Was Attempted

PARTIAL

  • Completed Sections
  • Remaining Work
  • Confidence: [0-100]
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. 3d ago First seen · 59 lines · 19 tokens per session scan A aa5dcd542e6d

Subscribe to this mod's changes

performance-engineer is an agent published in the GitHub repository nyldn/claude-octopus (4,029 stars, last pushed 2d ago), licensed MIT. It adds 19 tokens to every session and 369 once invoked, about $0.0001 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-30.

Related

Other agents, from other repositories

pr-reviewer

Expert code reviewer for GitHub pull requests. Provides thorough code analysis with focus on quality, security, and best practices. Use when reviewing PRs for code quality and potential issues.

feiskyer/claude-code-settings · 40 tokens

godot-game-dev

Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…

jame581/GodotPrompter · 357 tokens

playwright-automation-engineer-ts-detailed

Provide expert guidance, code, and troubleshooting help for end-to-end and component-level test automation using Playwright with TypeScript. Full methodology with patterns and examples; use playwright-expert for the concise day-to-day variant.

jaktestowac/awesome-copilot-for-testers · 54 tokens

architect

Architect solution, transform intent into reliable tech specs, etc. Full subagent.

griddynamics/rosetta · 18 tokens

software-research-assistant

Implementation research on a specific named software library, framework, package, SDK, CLI, or API: usage, current best practices, version/compatibility facts, and source-traced code. Use for "how do I implement X" or "which package for Y". Not for general web research, market comparison, conceptual explainers, or…

sammcj/agentic-coding · 120 tokens

api-test-automation-openapi

Generate REST API tests from an OpenAPI spec (language/framework provided by the user).

jaktestowac/awesome-copilot-for-testers · 24 tokens