What problem does it solves?
Identifying and resolving performance bottlenecks in complex AI agent swarms can be challenging and time-consuming. This skill provides a comprehensive suite for performance analysis, enabling real-time bottleneck detection, detailed profiling, and AI-powered optimization recommendations to ensure efficient swarm operations.
Core Features & Use Cases
- Bottleneck Detection: Identifies communication, processing, memory, and network bottlenecks with impact assessment.
- Performance Profiling: Offers real-time monitoring and historical analysis of swarm operations and agent utilization.
- Optimization Recommendations: Provides AI-powered, actionable suggestions for improving performance, including automatic fixes.
- Use Case: Your AI development swarm is running slowly. Use
npx claude-flow bottleneck detect to pinpoint that agent communication is causing a 35% impact. The skill then recommends switching to a hierarchical topology and enabling memory caching, which you can apply with --fix for immediate improvement.
Quick Start
Detect performance bottlenecks in your current swarm and then generate an HTML performance report including detailed metrics.
npx claude-flow bottleneck detect
npx claude-flow analysis performance-report --format html --include-metrics