COMMAND_COMPLIANCE_REPโฆ
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow`โฆ
Analyze performance bottlenecks in swarm operations and suggest optimizations.
> /plugin marketplace add spencermarx/open-code-review > /plugin install ocr@aclarify
How it fires
How this command gets triggered: by you, by Claude, or both.
/bottleneck-detectContext preview
What this command does when you run it.
Analyze performance bottlenecks in swarm operations and suggest optimizations.
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.
Repo: spencermarx/open-code-review
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow`โฆ
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 staged changes and organize them into intuitive atomic commits following conventional commits.