COMMAND_COMPLIANCE_REP…
CommandReviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
Analyze performance bottlenecks in swarm operations and suggest optimizations.
> /plugin marketplace add spencermarx/open-code-review> /plugin install ocr@aclarify
Analyze performance bottlenecks in swarm operations and suggest optimizations.
npx claude-flow bottleneck detect [options]
npx claude-flow bottleneck detect
npx claude-flow bottleneck detect --swarm-id swarm-123
npx claude-flow bottleneck detect -t 24h -e bottlenecks.json
npx claude-flow bottleneck detect --fix --threshold 15
🔍 Bottleneck Analysis Report ━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📊 Summary ├── Time Range: Last 1 hour ├── Agents Analyzed: 6 ├── Tasks Processed: 42 └── Critical Issues: 2 🚨 Critical Bottlenecks 1. Agent Communication (35% impact) └── coordinator → coder-1 messages delayed by 2.3s avg 2. Memory Access (28% impact) └── Neural pattern loading taking 1.8s per access ⚠️ Warning Bottlenecks 1. Task Queue (18% impact) └── 5 tasks waiting > 10s for assignment 💡 Recommendations 1. Switch to hierarchical topology (est. 40% improvement) 2. Enable memory caching (est. 25% improvement) 3. Increase agent concurrency to 8 (est. 20% improvement) ✅ Quick Fixes Available Run with --fix to apply: - Enable smart caching - Optimize message routing - Adjust agent priorities
When using `--fix`, the following optimizations may be applied:
1. **Topology Optimization**
2. **Caching Enhancement**
3. **Concurrency Tuning**
4. **Priority Adjustment**
Typical improvements after bottleneck resolution:
// Check for bottlenecks in Claude Code
mcp__claude-flow__bottleneck_detect {
timeRange: "1h",
threshold: 20,
autoFix: false
}AI-powered multi-agent code review. Simulates a customizable team of Engineers performing code review with built-in discourse.
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools…
Identify and resolve performance bottlenecks in your development workflow.
Generate comprehensive performance reports for swarm operations.
Reduce token consumption while maintaining quality through intelligent coordination.
Analyze token usage patterns and optimize for efficiency.
Analyze staged changes and organize them into intuitive atomic commits following conventional commits.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.