Skip to main content
subagent CX Codex

performance-auditor · qdhenry — Claude Code subagent: what it does

performance-auditor — a subagent that hunts bottlenecks: algorithm cost, N+1 queries, bundle size, wasted re-renders. You get a prioritized report.

no license ★ 1,357 updated 2026-03-01

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/performance-auditor.md
Open on GitHub

What performance-auditor does

It works through five areas. Algorithms: how time and memory grow with input size, loops that repeat work, data structures that don't fit the access pattern, missing memoization. Database: N+1 patterns, absent indexes, joins that pull too much, connection pool settings. Frontend: what landed in the bundle, routes that could load on demand, components re-rendering for no reason, memory that never gets released. Backend: API response times, caching, blocked I/O. Network: payload weight, compression, CDN, batched calls.

Measurement comes first, through Bash: it hunts oversized build files, counts installed packages with npm list, finds large .js files on disk. Then it reads source with Read, Grep and Glob to spot repeated work and blocking calls. The result is a written audit: a score, a table of current numbers against targets, each issue with its location and a fix, and a queue split into now, next sprint, this quarter.

The tool set is Read, Grep, Glob and Bash. Nothing writes to disk, so every fix arrives as text and code samples you apply yourself. Sample measurement commands lean on npm, and a project without Node needs its own.

What it helps with

  • Find N+1 queries before a release
  • Check how a hot loop scales with input size
  • See what inflated the bundle and what to split off
  • Get a fix list ranked for the next sprint
  • Trace memory that leaks in a component tree

Example prompts for the agent

  • Audit api/orders.js for query count and response time.
  • Check the frontend: bundle size, lazy routes, extra re-renders.
  • Write a performance report and rank the fixes by urgency.

How to install performance-auditor

Manually: put the files in place

.claude/agents/performance-auditor.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about performance-auditor

How do I install performance-auditor in Claude Code?

Place the subagent file at .claude/agents/performance-auditor.md inside your project. Claude picks it up from that path.

What does performance-auditor do?

It reviews code for speed and resource use across algorithms, database access, frontend rendering, backend calls and network payloads, then hands back a report with metrics and a fix order.

Which tools does the subagent have?

Read, Grep, Glob and Bash. It can inspect files and run shell commands, but not modify your code.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

performance-auditor by other authors comes first.

performance-auditor Samarth Gupta The performance-auditor subagent inspects code for algorithmic, data-access, and resource bottlenecks. Use it after changes on hot paths or when you need to reason about how code scales. CX Codex ★ 276repo stars performance-analysis Rudolf S. performance-analysis applies systematic profiling to find bottlenecks across CPU, memory, and database layers. It enforces measuring baselines before proposing optimizations. CX Codex +1 ★ 587repo stars golang-performance samber golang-performance guides AI coding agents through profiling, memory allocation cuts, and CPU optimization in Go projects using a strict measurement-first cycle. CX Codex +1 44,500installs python-performance-optimization Seth Hobson The python-performance-optimization skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. CX Codex +1 35,675installs swiftui-performance dpearson2699 swiftui-performance — a skill for Claude Code, Cursor, Codex and other agents that takes a reproducible SwiftUI symptom through to a measured fix. CX Codex +1 5,000installs CPU Performance Engineering usamahz Connects a CPU performance engineering knowledge base to your AI client, parsing perf stat logs, Top-down metrics, and compiler vectorisation diagnostics with cited sources. CX Codex +1 ★ 1,160repo stars m10-performance actionbook m10-performance is a Claude Code skill that guides agents in profiling Rust code and addressing bottlenecks, from algorithm choices to unnecessary allocations. CX Codex +1 4,000installs

From the same set112

The whole set →
ci-setup ci-setup — a Claude slash command that builds out a CI/CD pipeline: it reads your stack, picks a platform and writes the config for tests, Docker and deploys. CX Codex +1 ★ 1,357repo stars prepare-release The prepare-release command walks through release preparation, from checks and version updates to build validation and Git tagging. Use it when a release needs a defined checklist. CX Codex +1 ★ 1,357repo stars hotfix-deploy hotfix-deploy is a Claude Code command that guides critical fixes through incident triage, testing, release monitoring, and rollback. CX Codex +1 ★ 1,357repo stars sync-status The sync-status command for Claude Code checks GitHub–Linear sync health, queues, webhooks, failures, and data mismatches. It supports diagnosis of synchronization issues. CX Codex +1 ★ 1,357repo stars sync-linear-to-issues sync-linear-to-issues exports Linear tasks into GitHub issues while preserving issue descriptions, sprint milestones, and status mappings. CX Codex +1 ★ 1,357repo stars task-from-pr task-from-pr is a Claude Code command that transfers GitHub pull request details to a Linear task, linking PR work with project tasks. CX Codex +1 ★ 1,357repo stars memory-merge The memory-merge command consolidates multiple semantic tree nodes into one, removing duplicates and grouping related concepts under a single node. CX Codex +1 ★ 1,357repo stars sync-conflict-resolver The sync-conflict-resolver command for Claude Code identifies and resolves data conflicts between GitHub issues and Linear tasks, merging non-conflicting fields or applying a chosen strategy. CX Codex +1 ★ 1,357repo stars

Project sponsors

Companies that keep this analytics open