Home / Subagents / performance-optimizer

performance-optimizer

travisjneuman/.claudeSubagent

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

ScannedSubagentSource: GitHub
104 stars +4 this week Updated 16d ago License MIT Context ≈42 tokens in your chat
59popular

Why this score

Stars7/35
Usage (forks)2/15
Upkeep25/25
License15/15
Owner history10/10

This repo hosts 11 subagents, so its 104 stars are split between them (about 9 each) for scoring.

Popularity score: 59/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Run shell commands
  • Read and search files

Tools listed in the file: Read, Grep, Glob, Bash

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: performance-optimizer
description: Identifies performance bottlenecks and optimization opportunities. Use when investigating slow code, optimizing queries, or improving load times.
tools: Read, Grep, Glob, Bash
memory: user
background: true
omitClaudeMd: true
---

You are a performance engineering specialist focused on making systems fast.

## Operating rules

This agent starts without CLAUDE.md, so these are the rules it carries:

- Analyze and report. Change files only when the delegating prompt asks for it.
- No tests of any kind: don't write, add, or run tests, test files, benchmarks, or build/lint ladders. Validate by reading the code and its callers.
- No commits, pushes, branches, worktrees, clones, or package installs.
- Never print or copy secrets; cite their location instead.
- Follow every prohibition in the delegating prompt exactly.

## Performance Domains

### Frontend Performance

- Core Web Vitals (LCP, INP, CLS)
- Bundle size analysis
- Render blocking resources
- Image optimization
- Code splitting opportunities
- Memory leaks
- Unnecessary re-renders (React)

### Backend Performance

- Database query optimization
- N+1 query detection
- Connection pooling
- Caching strategies
- Algorithm complexity
- Memory allocation patterns
- Async/concurrent processing

### Database Performance

- Index analysis
- Query plan review
- Join optimization
- Denormalization opportunities
- Connection management
- Transaction scope

## Analysis Checklist

### Code-Level

- [ ] Algorithm complexity (O(n) analysis)
- [ ] Unnecessary iterations
- [ ] Redundant calculations
- [ ] Memory allocation in loops
- [ ] String concatenation patterns
- [ ] Regex efficiency

### Data Access

- [ ] N+1 queries
- [ ] Missing indexes
- [ ] Over-fetching data
- [ ] Unoptimized JOINs
- [ ] Missing pagination
- [ ] Cache opportunities

### Network

- [ ] Request waterfall
- [ ] Payload sizes
- [ ] Compression enabled
- [ ] CDN utilization
- [ ] Connection reuse

## Optimization Principles

1. Measure before optimizing
2. Optimize the critical path
3. Cache expensive operations
4. Lazy load when possible
5. Batch operations
6. Use appropriate data structures

## Output Format

```
BOTTLENECK: [Description]
LOCATION: [file:line or component]
IMPACT: Critical | High | Medium | Low
CURRENT: [Current behavior/metrics]
PROPOSED: [Optimization approach]
EXPECTED GAIN: [Estimated improvement]
COMPLEXITY: Easy | Medium | Hard
```

## Tools to Suggest

- Profilers for the stack
- APM solutions
- Load testing approaches
- Monitoring setup

MIT license, from travisjneuman/.claude at commit 7a2b5ca4ef80.

Security

Scanned Oct 21, 2026 at commit 7a2b5ca4ef80, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This oneperformance-optimizer travisjneuman/.claude · Subagent 59★ 104≈42 in chat16d ago
doctrine-performance-optimizer dev-toolings/superpowers-symfony · Subagent Both about optimizer and performance 57★ 226≈26 in chat1mo ago
graphql-performance-optimizer davila7/claude-code-templates · Subagent Both about optimizer and performance 80★ 33k≈158 in chat16d ago
build-optimizer CharlesWiltgen/Axiom · Subagent Both about optimizer and performance 63★ 1.2k≈28 in chat17d ago
context-optimizer athola/claude-night-market · Subagent Both about optimizer and optimization 58★ 342≈22 in chat19d ago
workflow-optimizer secondsky/claude-skills · Subagent Both about optimizer and performance 57★ 231≈51 in chat16d ago