
agent-performance-analyzer
Agent skill for performance-analyzer - invoke with $agent-performance-analyzer
- Installs
- 1.1K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/ruvnet/ruflo --skill agent-performance-analyzer- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads agent-performance-analyzer automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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
- Task Execution Time: Average, P95, P99
- Resource Utilization: CPU, Memory, I/O
- Parallelization Ratio: Parallel vs Sequential
- Agent Efficiency: Utilization rate
- 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
FAQ
What does the agent-performance-analyzer skill do?
Agent skill for performance-analyzer - invoke with $agent-performance-analyzer
How do I install agent-performance-analyzer?
Run npx skills add https://github.com/ruvnet/ruflo --skill agent-performance-analyzer in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/agent-performance-analyzer/ (personal) or .claude/skills/agent-performance-analyzer/ (project).
Which AI agents can use agent-performance-analyzer?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is agent-performance-analyzer safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains agent-performance-analyzer?
It is published by ruvnet in ruvnet/ruflo. It has 1,133 recorded installs.
More from ruvnet/ruflo
swarm-orchestration
ruvnet/ruflo
Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules. Use when: 3+ files need changes, new feature implementation, cross-module refactoring, API changes with tests, security-related changes, performance optimization across codebase, database schema changes. Skip when: single file edits, simple bug fixes (1-2 lines), documentation updates, configuration changes, quick exploration.
agent-arch-system-design
ruvnet/ruflo
Agent skill for arch-system-design - invoke with $agent-arch-system-design
agent-workflow
ruvnet/ruflo
Agent skill for workflow - invoke with $agent-workflow
security-audit
ruvnet/ruflo
Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.
github-project-management
ruvnet/ruflo
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.