SkillAgentSearch skills...

bottleneck-detect

Analyze performance bottlenecks in swarm operations and suggest optimizations.

Install / Use

npx skills add spencermarx/open-code-review

Installs into whichever agent you are using.

About this skill
⚡

Claude Commands

Claude Code slash commands

Quality Score

83/100

Category

Automation

Supported Platforms

Claude Code

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.

Substance
26/30
Structure
20/20
Description
12/15
Adoption
11/20
Freshness
15/15

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 found

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.

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.

SkillScoreStarsUpdatedFormat
bottleneck-detect (this skill)by spencermarx833683mo agoClaude Commands
claude-memby thedotmack100100.9k1d agoCLAUDE.md
Agent-Reachby Panniantong10097.6ktodayCLAUDE.md
taste-skillby Leonxlnx10097.0ktodayCLAUDE.md
Understand-Anythingby Egonex-AI10086.4k3d agoCLAUDE.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.

bottleneck 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:

  1. Topology Optimization

    • Switch to more efficient topology
    • Adjust communication patterns
    • Reduce coordination overhead
  2. Caching Enhancement

    • Enable memory caching
    • Optimize cache strategies
    • Preload common patterns
  3. Concurrency Tuning

    • Adjust agent counts
    • Optimize parallel execution
    • Balance workload distribution
  4. 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 analysis
  • token usage - Token optimization analysis
  • swarm monitor - Real-time monitoring
  • cache manage - Cache optimization

Related Skills

View on GitHub
GitHub Stars368
CategoryAutomation
Updated2mo ago
Forks33

Languages

TypeScript

Trust signals

100/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

No cautions