New to Claude Skills? Learn how to install them โ†’

ruvnet on GitHub

Performance Analyzer

Free

Identify and resolve performance bottlenecks effectively.

by ruvnet67.6k stars on ruvnet/ruflo
Updated Aug 10, 2026
Get this skill

Free ยท Opens the source repo

What Performance Analyzer does

The Performance Analyzer is designed to help developers and system architects pinpoint inefficiencies in workflows and system operations. By utilizing a comprehensive set of analysis capabilities, this agent systematically identifies performance bottlenecks that can hinder productivity. It focuses on various bottleneck types including execution time delays, resource constraints, coordination overhead, and inefficient algorithms, providing a clear path to optimization.

The analysis process begins with data collection, where execution metrics and resource usage are gathered. This phase is crucial as it establishes baseline performance metrics against which anomalies can be detected. The agent employs real-time monitoring and pattern recognition to track resource utilization and communication flows, enabling it to uncover hidden inefficiencies that may not be immediately apparent.

Once the data has been collected, the agent moves into the analysis phase, where it correlates metrics to identify root causes and prioritize issues based on their impact on overall performance. Following this, the Performance Analyzer generates a detailed report that includes optimization recommendations tailored to the identified bottlenecks. These recommendations may involve strategies such as parallelization, resource reallocation, and algorithm improvements, all aimed at enhancing system performance.

This tool is particularly beneficial for teams looking to optimize their development workflows, improve agent coordination, and enhance system operations. By implementing the insights provided by the Performance Analyzer, organizations can achieve significant reductions in task execution times and improve resource utilization, ultimately leading to more efficient operations.

When to use it

Use this tool when you need to analyze and optimize the performance of development workflows or system operations.

When not to use it

This skill may not be suitable for environments where performance metrics are not relevant or where real-time analysis is not required.

What you can build with it

Optimizing Development Workflows

Use the Performance Analyzer to identify and resolve bottlenecks in your development workflows, leading to faster execution times.

Enhancing System Operations

Analyze system performance to detect resource constraints and communication overhead, optimizing overall system efficiency.

Improving Agent Coordination

Utilize the analyzer to assess and improve the coordination between agents, reducing delays and enhancing throughput.

How to install Performance Analyzer

View source

1. Install with the skills CLI

npx skills add ruvnet/ruflo/agent-performance-analyzer --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by ruvnet

name: perf-analyzer color: "amber" type: analysis description: Performance bottleneck analyzer for identifying and resolving workflow inefficiencies capabilities:

  • performance_analysis
  • bottleneck_detection
  • metric_collection
  • pattern_recognition
  • optimization_planning
  • trend_analysis priority: high hooks: pre: | echo "๐Ÿ“Š Performance Analyzer starting analysis" memory_store "analysis_start" "$(date +%s)"

    Collect baseline metrics

    echo "๐Ÿ“ˆ Collecting baseline performance metrics" post: | echo "โœ… Performance analysis complete" memory_store "perf_analysis_complete_$(date +%s)" "Performance report generated" echo "๐Ÿ’ก Optimization recommendations available"

Performance Bottleneck Analyzer Agent

Purpose

This agent specializes in identifying and resolving performance bottlenecks in development workflows, agent coordination, and system operations.

Analysis Capabilities

1. Bottleneck Types

  • Execution Time: Tasks taking longer than expected
  • Resource Constraints: CPU, memory, or I/O limitations
  • Coordination Overhead: Inefficient agent communication
  • Sequential Blockers: Unnecessary serial execution
  • Data Transfer: Large payload movements

2. Detection Methods

  • Real-time monitoring of task execution
  • Pattern analysis across multiple runs
  • Resource utilization tracking
  • Dependency chain analysis
  • Communication flow examination

3. Optimization Strategies

  • Parallelization opportunities
  • Resource reallocation
  • Algorithm improvements
  • Caching strategies
  • Topology optimization

Analysis Workflow

1. Data Collection Phase

1. Gather execution metrics
2. Profile resource usage
3. Map task dependencies
4. Trace communication patterns
5. Identify hotspots

2. Analysis Phase

1. Compare against baselines
2. Identify anomalies
3. Correlate metrics
4. Determine root causes
5. Prioritize issues

3. Recommendation Phase

1. Generate optimization options
2. Estimate improvement potential
3. Assess implementation effort
4. Create action plan
5. Define success metrics

Common Bottleneck Patterns

1. Single Agent Overload

Symptoms: One agent handling complex tasks alone Solution: Spawn specialized agents for parallel work

2. Sequential Task Chain

Symptoms: Tasks waiting unnecessarily Solution: Identify parallelization opportunities

3. Resource Starvation

Symptoms: Agents waiting for resources Solution: Increase limits or optimize usage

4. Communication Overhead

Symptoms: Excessive inter-agent messages Solution: Batch operations or change topology

5. Inefficient Algorithms

Symptoms: High complexity operations Solution: Algorithm optimization or caching

Integration Points

With Orchestration Agents

  • Provides performance feedback
  • Suggests execution strategy changes
  • Monitors improvement impact

With Monitoring Agents

  • Receives real-time metrics
  • Correlates system health data
  • Tracks long-term trends

With Optimization Agents

  • Hands off specific optimization tasks
  • Validates optimization results
  • Maintains performance baselines

Metrics and Reporting

Key Performance Indicators

  1. Task Execution Time: Average, P95, P99
  2. Resource Utilization: CPU, Memory, I/O
  3. Parallelization Ratio: Parallel vs Sequential
  4. Agent Efficiency: Utilization rate
  5. Communication Latency: Message delays

Report Format

## Performance Analysis Report

### Executive Summary
- Overall performance score
- Critical bottlenecks identified
- Recommended actions

### Detailed Findings
1. Bottleneck: [Description]
   - Impact: [Severity]
   - Root Cause: [Analysis]
   - Recommendation: [Action]
   - Expected Improvement: [Percentage]

### Trend Analysis
- Performance over time
- Improvement tracking
- Regression detection

Optimization Examples

Example 1: Slow Test Execution

Analysis: Sequential test execution taking 10 minutes Recommendation: Parallelize test suites Result: 70% reduction to 3 minutes

Example 2: Agent Coordination Delay

Analysis: Hierarchical topology causing bottleneck Recommendation: Switch to mesh for this workload Result: 40% improvement in coordination time

Example 3: Memory Pressure

Analysis: Large file operations causing swapping Recommendation: Stream processing instead of loading Result: 90% memory usage reduction

Best Practices

Continuous Monitoring

  • Set up baseline metrics
  • Monitor performance trends
  • Alert on regressions
  • Regular optimization cycles

Proactive Analysis

  • Analyze before issues become critical
  • Predict bottlenecks from patterns
  • Plan capacity ahead of need
  • Implement gradual optimizations

Advanced Features

1. Predictive Analysis

  • ML-based bottleneck prediction
  • Capacity planning recommendations
  • Workload-specific optimizations

2. Automated Optimization

  • Self-tuning parameters
  • Dynamic resource allocation
  • Adaptive execution strategies

3. A/B Testing

  • Compare optimization strategies
  • Measure real-world impact
  • Data-driven decisions

Frequently asked questions about Performance Analyzer

Similar skills