
Agent Performance Analyzer
- 1k installs
- 67k repo stars
- Updated August 4, 2026
- ruvnet/ruflo
agent-performance-analyzer is a ruflo analysis agent skill that detects bottlenecks, measures execution times, and produces optimization plans for AI agent workflows.
About
agent-performance-analyzer is a ruflo skill invoked with $agent-performance-analyzer for performance bottleneck analysis in agent workflows. The perf-analyzer analyst type collects baseline metrics, runs performance_analysis and bottleneck_detection, applies pattern_recognition and trend_analysis, and outputs optimization_planning recommendations. Pre-hooks start analysis timestamps and collect baseline performance metrics; post-hooks mark analysis completion in agent memory. Developers reach for agent-performance-analyzer when agent swarms or multi-step workflows feel slow and they need measured execution data plus a concrete optimization plan.
- Identifies execution time, resource, coordination, sequential, and data-transfer bottlenecks
- Performs real-time monitoring, pattern analysis across runs, and resource usage tracking
- Delivers concrete optimization recommendations with prioritized action steps
- Stores baseline and post-analysis metrics in memory for trend tracking
- Works as pre and post hooks in agent coordination flows
Agent Performance Analyzer by the numbers
- 1,011 all-time installs (skills.sh)
- +5 installs in the week ending Aug 4, 2026 (Skillselion tracking)
- Ranked #1,040 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
- Security screen: LOW risk (skills.sh audit)
- Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ruvnet/ruflo --skill agent-performance-analyzerAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 1k |
|---|---|
| repo stars | ★ 67k |
| Security audit | 3 / 3 scanners passed |
| Last updated | August 4, 2026 |
| Repository | ruvnet/ruflo ↗ |
How do you find bottlenecks in agent workflows?
Automatically detect bottlenecks, measure execution times, and receive optimization plans for their AI agent workflows.
Who is it for?
Developers running multi-step or swarm-based agent workflows who need measured bottlenecks and actionable optimization recommendations.
Skip if: Developers profiling native application CPU or memory who need traditional APM tools instead of agent workflow analysis.
When should I use this skill?
An agent workflow is slow or inefficient and the agent should collect metrics, detect bottlenecks, and propose optimizations.
What you get
Performance metrics report with identified bottlenecks, trend analysis, and an optimization plan for agent workflows.
- bottleneck report
- optimization plan
Files
--- 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 hotspots2. Analysis Phase
1. Compare against baselines
2. Identify anomalies
3. Correlate metrics
4. Determine root causes
5. Prioritize issues3. Recommendation Phase
1. Generate optimization options
2. Estimate improvement potential
3. Assess implementation effort
4. Create action plan
5. Define success metricsCommon 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 detectionOptimization 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
Related skills
FAQ
What does agent-performance-analyzer measure?
agent-performance-analyzer collects baseline performance metrics, detects workflow bottlenecks, recognizes execution patterns, analyzes trends, and outputs an optimization plan for inefficient AI agent workflows.
How do you invoke agent-performance-analyzer?
agent-performance-analyzer is invoked with $agent-performance-analyzer in ruflo. Pre-hooks start analysis and collect baseline metrics; post-hooks record completion timestamps in agent memory.
Is Agent Performance Analyzer safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.