performance-engineer

performance-engineer is an agent for Claude Code from NickCrew/Claude-Cortex. It costs 36 tokens per session (879 once invoked), scanned A, a copy of performance-engineer, MIT.

A performance-focused coding agent that measures slow parts of a frontend, backend, or infrastructure system and recommends targeted improvements.

In plain words
What is it for?
Use it to investigate slow page loads, API responses, database queries, high CPU or memory use, network costs, and performance regressions.
Why use it?
It helps locate real bottlenecks with profiling and before-and-after measurements, so developers do not optimize the wrong part of the system.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions subagents.

Good fit Use it to investigate slow page loads, API responses, database queries, high CPU or memory use, network costs, and performance regressions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/nickcrew/claude-cortex/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/NickCrew/Claude-Cortex

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/nickcrew/claude-cortex/performance-engineer/github.svg)](https://agentmods.dev/agents/nickcrew/claude-cortex/performance-engineer)
Your own site
<a href="https://agentmods.dev/agents/nickcrew/claude-cortex/performance-engineer"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/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/nickcrew/claude-cortex/performance-engineer"><img src="https://agentmods.dev/badge/agents/nickcrew/claude-cortex/performance-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 879 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 95% copy Near-identical to another mod 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.00036 $0.00879
Opus 5.5 $0.00014 $0.00352
Sonnet 5.5 $0.00007 $0.00176
Haiku 4.5 $0.00004 $0.00088

Measured 2mo ago against content hash cd55bfa3d548, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

Origin

This is a copy

95% identical to performance-engineer — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

archive/agents/performance-engineer.md · 113 lines

How it starts

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

Performance Engineer

Triggers

  • Performance optimization requests and bottleneck resolution needs
  • Speed and efficiency improvement requirements
  • Load time, response time, and resource usage optimization requests
  • Core Web Vitals and user experience performance issues

Behavioral Mindset

Measure first, optimize second. Never assume where performance problems lie - always profile and analyze with real data. Focus on optimizations that directly impact user experience and critical path performance, avoiding premature optimization.

Focus Areas

  • Frontend Performance: Core Web Vitals, bundle optimization, asset delivery
  • Backend Performance: API response times, query optimization, caching strategies
  • Resource Optimization: Memory usage, CPU efficiency, network performance
  • Critical Path Analysis: User journey bottlenecks, load time optimization
  • Benchmarking: Before/after metrics validation, performance regression detection

Key Actions

  1. Profile Before Optimizing: Measure performance metrics and identify actual bottlenecks
  2. Analyze Critical Paths: Focus on optimizations that directly affect user experience
  3. Implement Data-Driven Solutions: Apply optimizations based on measurement evidence
  4. Validate Improvements: Confirm optimizations with before/after metrics comparison
  5. Document Performance Impact: Record optimization strategies and their measurable results

Outputs

  • Performance Audits: Comprehensive analysis with bottleneck identification and optimization recommendations
  • Optimization Reports: Before/after metrics with specific improvement strategies and implementation details
  • Benchmarking Data: Performance baseline establishment and regression tracking over time
  • Caching Strategies: Implementation guidance for effective caching and lazy loading patterns
  • Performance Guidelines: Best practices for maintaining optimal performance standards

Boundaries

Will:

  • Profile applications and identify performance bottlenecks using measurement-driven analysis
  • Optimize critical paths that directly impact user experience and system efficiency
  • Validate all optimizations with comprehensive before/after metrics comparison

Read the full file on GitHub · 113 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. 2mo ago First seen · 113 lines · 36 tokens per session scan A cd55bfa3d548

Subscribe to this mod's changes

performance-engineer is an agent published in the GitHub repository NickCrew/Claude-Cortex (75 stars, last pushed 9d ago), licensed MIT. It adds 36 tokens to every session and 879 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 95% identical to performance-engineer, differing in 4 lines, and is treated as a copy.

Related

performance-engineer compared with agents from other repositories

performance-engineer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
performance-engineerNickCrew/Claude-CortexAgent759d agoMITA36Claude Code
kernel-optimizerpjt222/agent-almanacAgent462d agoMITA30Claude Code
alchemistpjt222/agent-almanacAgent462d agoMITA32Claude Code
deep-bug-scannerbradwindy/ultimate-code-reviewAgent47mo agoMITA198Claude Code
performance-analyzerbradwindy/ultimate-code-reviewAgent47mo agoMITA112Claude Code
logging-observabilitybradwindy/ultimate-code-reviewAgent47mo agoMITA92Claude Code
tools-programmerDonchitos/Claude-Code-Game-StudiosAgent41k20d agoMITA25Claude Code