source-command-analysis-bottleneck-detect
Skill2 starsChanged 3 months agoApache-2.0View on GitHub
Migrated source command `analysis-bottleneck-detect`
1 other project uses a version of this.
Adopted by
Most recently taken up by
- echo-mem/echo-memword for word, first seen Sep 11, 2026
Other versions1 project uses a version of this.
Word for word · 1
- echo-mem/echo-mem★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository180 other files it gives its agents.
- .claude/commands/monitoring/agents.mdAGENTS.md
- AgentDB Advanced FeaturesSkill
- AgentDB Learning PluginsSkill
- AgentDB Memory PatternsSkill
- AgentDB Performance OptimizationSkill
- AgentDB Vector SearchSkill
- browserSkill
- github-code-reviewSkill
- github-multi-repoSkill
- github-project-managementSkill
- github-release-managementSkill
- github-workflow-automationSkill
- Hooks AutomationSkill
- Pair ProgrammingSkill
- ReasoningBank with AgentDBSkill
- ReasoningBank IntelligenceSkill
- Skill BuilderSkill
- source-command-agents-agent-capabilitiesSkill
- source-command-agents-agent-coordinationSkill
- source-command-agents-agent-spawningSkill
- source-command-agents-agent-typesSkill
- source-command-analysis-command-compliance-reportSkill
- source-command-analysis-performance-bottlenecksSkill
- source-command-analysis-performance-reportSkill
- source-command-analysis-token-efficiencySkill
- source-command-analysis-token-usageSkill
- source-command-automation-auto-agentSkill
- source-command-automation-self-healingSkill
- source-command-automation-session-memorySkill
- source-command-automation-smart-agentsSkill
- source-command-automation-smart-spawnSkill
- source-command-automation-workflow-selectSkill
- source-command-claude-flow-helpSkill
- source-command-claude-flow-memorySkill
- source-command-claude-flow-swarmSkill
- source-command-coordination-agent-spawnSkill
- source-command-coordination-initSkill
- source-command-coordination-orchestrateSkill
- source-command-coordination-spawnSkill
- source-command-coordination-swarm-initSkill
- source-command-coordination-task-orchestrateSkill
- source-command-github-code-reviewSkill
- source-command-github-github-modesSkill
- source-command-github-github-swarmSkill
- source-command-github-issue-trackerSkill
- source-command-github-issue-triageSkill
- source-command-github-pr-enhanceSkill
- source-command-github-pr-managerSkill
- source-command-github-release-managerSkill
- source-command-github-repo-analyzeSkill
- source-command-github-repo-architectSkill
- source-command-github-sync-coordinatorSkill
- source-command-hive-mind-hive-mind-consensusSkill
- source-command-hive-mind-hive-mind-initSkill
- source-command-hive-mind-hive-mind-memorySkill
- source-command-hive-mind-hive-mind-metricsSkill
- source-command-hive-mind-hive-mind-resumeSkill
- source-command-hive-mind-hive-mind-sessionsSkill
- source-command-hive-mind-hive-mindSkill
- source-command-hive-mind-hive-mind-spawnSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use this skill when the user asks to run the migrated source command analysis-bottleneck-detect.
- Very specific: line 123
When using --fix, the following optimizations may be applied:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
source-command-analysis-bottleneck-detect
Use this skill when the user asks to run the migrated source command analysis-bottleneck-detect.
Command Template
bottleneck detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Usage
npx Codex-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 Codex-flow bottleneck detectAnalyze specific swarm
npx Codex-flow bottleneck detect --swarm-id swarm-123Last 24 hours with export
npx Codex-flow bottleneck detect -t 24h -e bottlenecks.jsonAuto-fix detected issues
npx Codex-flow bottleneck detect --fix --threshold 15Metrics 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 prioritiesAutomatic 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 Codex
// Check for bottlenecks in Codex
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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

