/analysis
Comprehensive analysis through distributed agent coordination.
> /plugin marketplace add ruvnet/rufloHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/analysis
Context preview
What this command does when you run it.
Comprehensive analysis through distributed agent coordination.
Command definition
analysis.mdAnalysis Swarm Strategy
Purpose
Comprehensive analysis through distributed agent coordination.
Activation
Using MCP Tools
// Initialize analysis swarm
mcp__claude-flow__swarm_init({
"topology": "mesh",
"maxAgents": 6,
"strategy": "adaptive"
})
// Orchestrate analysis task
mcp__claude-flow__task_orchestrate({
"task": "analyze system performance",
"strategy": "parallel",
"priority": "medium"
})Using CLI (Fallback)
`npx claude-flow swarm "analyze system performance" --strategy analysis`
Agent Roles
Agent Spawning with MCP
// Spawn analysis agents
mcp__claude-flow__agent_spawn({
"type": "analyst",
"name": "Data Collector",
"capabilities": ["metrics", "logging", "monitoring"]
})
mcp__claude-flow__agent_spawn({
"type": "analyst",
"name": "Pattern Analyzer",
"capabilities": ["pattern-recognition", "anomaly-detection"]
})
mcp__claude-flow__agent_spawn({
"type": "documenter",
"name": "Report Generator",
"capabilities": ["reporting", "visualization"]
})
mcp__claude-flow__agent_spawn({
"type": "coordinator",
"name": "Insight Synthesizer",
"capabilities": ["synthesis", "correlation"]
})Coordination Modes
- Mesh: For exploratory analysis
- Pipeline: For sequential processing
- Hierarchical: For complex systems
Analysis Operations
// Run performance analysis
mcp__claude-flow__performance_report({
"format": "detailed",
"timeframe": "24h"
})
// Identify bottlenecks
mcp__claude-flow__bottleneck_analyze({
"component": "api",
"metrics": ["response-time", "throughput"]
})
// Pattern recognition
mcp__claude-flow__pattern_recognize({
"data": performanceData,
"patterns": ["anomaly", "trend", "cycle"]
})Status Monitoring
// Monitor analysis progress
mcp__claude-flow__task_status({
"taskId": "analysis-task-001"
})
// Get analysis results
mcp__claude-flow__task_results({
"taskId": "analysis-task-001"
})Read more
Analysis Swarm Strategy
Purpose
Comprehensive analysis through distributed agent coordination.
Activation
Using MCP Tools
// Initialize analysis swarm
mcp__claude-flow__swarm_init({
"topology": "mesh",
"maxAgents": 6,
"strategy": "adaptive"
})
// Orchestrate analysis task
mcp__claude-flow__task_orchestrate({
"task": "analyze system performance",
"strategy": "parallel",
"priority": "medium"
})Using CLI (Fallback)
`npx claude-flow swarm "analyze system performance" --strategy analysis`
Agent Roles
Agent Spawning with MCP
// Spawn analysis agents
mcp__claude-flow__agent_spawn({
"type": "analyst",
"name": "Data Collector",
"capabilities": ["metrics", "logging", "monitoring"]
})
mcp__claude-flow__agent_spawn({
"type": "analyst",
"name": "Pattern Analyzer",
"capabilities": ["pattern-recognition", "anomaly-detection"]
})
mcp__claude-flow__agent_spawn({
"type": "documenter",
"name": "Report Generator",
"capabilities": ["reporting", "visualization"]
})
mcp__claude-flow__agent_spawn({
"type": "coordinator",
"name": "Insight Synthesizer",
"capabilities": ["synthesis", "correlation"]
})Coordination Modes
- Mesh: For exploratory analysis
- Pipeline: For sequential processing
- Hierarchical: For complex systems
Analysis Operations
// Run performance analysis
mcp__claude-flow__performance_report({
"format": "detailed",
"timeframe": "24h"
})
// Identify bottlenecks
mcp__claude-flow__bottleneck_analyze({
"component": "api",
"metrics": ["response-time", "throughput"]
})
// Pattern recognition
mcp__claude-flow__pattern_recognize({
"data": performanceData,
"patterns": ["anomaly", "trend", "cycle"]
})Status Monitoring
// Monitor analysis progress
mcp__claude-flow__task_status({
"taskId": "analysis-task-001"
})
// Get analysis results
mcp__claude-flow__task_results({
"taskId": "analysis-task-001"
})An agent meta-harness for Claude Code and Codex. Agent = Model + Harness. The model writes; the harness gives it tools, memory, loops, sandboxes, and controls so it can actually work.
Repo: ruvnet/ruflo
Other commands on claude-flow.
- /agent-capabilities
Matrix of agent capabilities and their specializations.
Open command - /agent-coordination
Coordination patterns for multi-agent collaboration.
Open command - /agent-spawning
Guide to spawning agents with Claude Code's Task tool.
Open command - /agent-types
Complete guide to all 54 available agent types in Claude Flow.
Open command - /COMMAND_COMPLIANCE_REPORT
Reviewed all command files in `.claude/commands/analysis/` directory to ensure proper usage of: - `mcp__claude-flow__*` tools (preferred) - `npx claude-flow` commands (as fallback) - No direct implementation calls
Open command - /bottleneck-detect
Analyze performance bottlenecks in swarm operations and suggest optimizations.
Open command

