performance-optimizer · ruvnet — Claude Code subagent: setup
The performance-optimizer subagent finds system bottlenecks and helps tune resource distribution, load balancing, and computational performance.
no license ★ 850 updated 2026-10-26
.claude/agents/performance-optimizer.mdWhat performance-optimizer does
performance-optimizer examines CPU, memory, network, and storage usage to locate system bottlenecks. It can profile performance, assess scaling limits, tune resource allocation, and suggest changes to load balancing or cache behavior.
The subagent works with the MCP tools mcp__sublinear-time-solver__solve, mcp__sublinear-time-solver__analyzeMatrix, mcp__sublinear-time-solver__estimateEntry, and mcp__sublinear-time-solver__validateTemporalAdvantage. These tools cover allocation problems, matrix analysis, metric estimation, and validation of an optimization result.
Its workflow depends on those MCP tools, so their availability matters before the agent runs. The supplied scenarios also cover agent monitoring and resource distribution in Claude Flow. For Flow Nexus, the example creates a Python sandbox with numpy, scipy, psutil, and prometheus_client.
What it helps with
- locate CPU, memory, network, or storage bottlenecks
- allocate compute resources under constraints
- balance workloads across compute nodes
- assess system scaling limits
- validate changes against original metrics
Example prompts for the agent
- Analyze this system’s CPU, memory, network, and storage usage and identify the bottlenecks.
- Distribute these workloads across the available nodes according to their capacities.
- Compare the original and optimized metrics and validate the performance change.
How to install performance-optimizer
Manually: put the files in place
.claude/agents/performance-optimizer.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/performance-optimizer.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/performance-optimizer.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about performance-optimizer
How do I install performance-optimizer in Claude Code?
Place the subagent file at .claude/agents/performance-optimizer.md.
What does performance-optimizer do?
It examines system performance, identifies bottlenecks, and helps tune resource allocation. Its scenarios include load balancing, cache tuning, and scalability assessment.
Which MCP tools does performance-optimizer use?
The described workflows use mcp__sublinear-time-solver__solve, mcp__sublinear-time-solver__analyzeMatrix, mcp__sublinear-time-solver__estimateEntry, and mcp__sublinear-time-solver__validateTemporalAdvantage.
Similar subagents
All subagents for Agent setup: memory, context, orchestration →performance-optimizer by other authors comes first.