bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Install / Use
npx skills add spencermarx/open-code-reviewInstalls into whichever agent you are using.
Claude Commands
Claude Code slash commands
Quality Score
Category
AutomationSupported Platforms
Tags
Our assessment of bottleneck-detect
bottleneck-detect scores 83/100 on our quality scale, 2276th of 2,931 Automation skills we index.
Its Claude Commands is 3.3 KB long, well organised into 18 sections with 7 code examples: a solid amount of guidance for an agent.
It has 368 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 3 months ago, so bottleneck-detect is actively maintained.
- It is released under the Apache-2.0 license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 100/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
Safety scan
No issues foundOur scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.
AI review by kimi-k2.7-code on 2026-10-15. Automated pattern scan on 2026-10-15. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.
bottleneck-detect compared with similar skills
All 4 of these similar skills score higher than bottleneck-detect; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| bottleneck-detect (this skill)by spencermarx | 83 | 368 | 3mo ago | Claude Commands |
| claude-memby thedotmack | 100 | 100.9k | 1d ago | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 97.6k | today | CLAUDE.md |
| taste-skillby Leonxlnx | 100 | 97.0k | today | CLAUDE.md |
| Understand-Anythingby Egonex-AI | 100 | 86.4k | 3d ago | CLAUDE.md |
Frequently asked questions
- How do I install bottleneck-detect?
- Run
npx skills add spencermarx/open-code-review. The install tabs above show the steps for each supported agent. - Which AI agents does bottleneck-detect work with?
- It is written for Claude Code, as a Claude Commands file. Other agents that read the same format can often use it too.
- Is bottleneck-detect safe to use?
- Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is Apache-2.0-licensed and scores 100/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is bottleneck-detect still maintained?
- The repository was last updated about 3 months ago, so bottleneck-detect is actively maintained.
Skill content
View source on GitHubbottleneck detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Usage
npx claude-flow bottleneck detect [options]
Options
--swarm-id, -s <id>- Analyze specific swarm (default: current)--time-range, -t <range>- Analysis period: 1h, 24h, 7d, all (default: 1h)--threshold <percent>- Bottleneck threshold percentage (default: 20)--export, -e <file>- Export analysis to file--fix- Apply automatic optimizations
Examples
Basic bottleneck detection
npx claude-flow bottleneck detect
Analyze specific swarm
npx claude-flow bottleneck detect --swarm-id swarm-123
Last 24 hours with export
npx claude-flow bottleneck detect -t 24h -e bottlenecks.json
Auto-fix detected issues
npx claude-flow bottleneck detect --fix --threshold 15
Metrics Analyzed
Communication Bottlenecks
- Message queue delays
- Agent response times
- Coordination overhead
- Memory access patterns
Processing Bottlenecks
- Task completion times
- Agent utilization rates
- Parallel execution efficiency
- Resource contention
Memory Bottlenecks
- Cache hit rates
- Memory access patterns
- Storage I/O performance
- Neural pattern loading
Network Bottlenecks
- API call latency
- MCP communication delays
- External service timeouts
- Concurrent request limits
Output Format
🔍 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
Automatic Fixes
When using --fix, the following optimizations may be applied:
-
Topology Optimization
- Switch to more efficient topology
- Adjust communication patterns
- Reduce coordination overhead
-
Caching Enhancement
- Enable memory caching
- Optimize cache strategies
- Preload common patterns
-
Concurrency Tuning
- Adjust agent counts
- Optimize parallel execution
- Balance workload distribution
-
Priority Adjustment
- Reorder task queues
- Prioritize critical paths
- Reduce wait times
Performance Impact
Typical improvements after bottleneck resolution:
- Communication: 30-50% faster message delivery
- Processing: 20-40% reduced task completion time
- Memory: 40-60% fewer cache misses
- Overall: 25-45% performance improvement
Integration with Claude Code
// Check for bottlenecks in Claude Code
mcp__claude-flow__bottleneck_detect {
timeRange: "1h",
threshold: 20,
autoFix: false
}
See Also
performance report- Detailed performance analysistoken usage- Token optimization analysisswarm monitor- Real-time monitoringcache manage- Cache optimization
Related Skills
claude-mem
100.9kPersistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Agent-Reach
97.6kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
taste-skill
97.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Understand-Anything
86.4kGraphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
