moflo 4.8.9 → 4.8.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (166) hide show
  1. package/.claude/agents/core/coder.md +265 -265
  2. package/.claude/agents/core/planner.md +167 -167
  3. package/.claude/agents/core/researcher.md +189 -189
  4. package/.claude/agents/core/reviewer.md +325 -325
  5. package/.claude/agents/core/tester.md +318 -318
  6. package/.claude/agents/dual-mode/codex-coordinator.md +224 -224
  7. package/.claude/agents/dual-mode/codex-worker.md +211 -211
  8. package/.claude/agents/dual-mode/dual-orchestrator.md +291 -291
  9. package/.claude/agents/github/code-review-swarm.md +537 -537
  10. package/.claude/agents/github/github-modes.md +172 -172
  11. package/.claude/agents/github/issue-tracker.md +318 -318
  12. package/.claude/agents/github/multi-repo-swarm.md +552 -552
  13. package/.claude/agents/github/pr-manager.md +190 -190
  14. package/.claude/agents/github/project-board-sync.md +508 -508
  15. package/.claude/agents/github/release-manager.md +366 -366
  16. package/.claude/agents/github/release-swarm.md +582 -582
  17. package/.claude/agents/github/repo-architect.md +397 -397
  18. package/.claude/agents/github/swarm-issue.md +572 -572
  19. package/.claude/agents/github/swarm-pr.md +427 -427
  20. package/.claude/agents/github/sync-coordinator.md +451 -451
  21. package/.claude/agents/github/workflow-automation.md +634 -634
  22. package/.claude/agents/goal/code-goal-planner.md +445 -445
  23. package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +129 -129
  24. package/.claude/agents/hive-mind/queen-coordinator.md +202 -202
  25. package/.claude/agents/hive-mind/scout-explorer.md +241 -241
  26. package/.claude/agents/hive-mind/swarm-memory-manager.md +192 -192
  27. package/.claude/agents/hive-mind/worker-specialist.md +216 -216
  28. package/.claude/agents/neural/safla-neural.md +73 -73
  29. package/.claude/agents/reasoning/goal-planner.md +72 -72
  30. package/.claude/agents/swarm/adaptive-coordinator.md +395 -395
  31. package/.claude/agents/swarm/hierarchical-coordinator.md +326 -326
  32. package/.claude/agents/swarm/mesh-coordinator.md +391 -391
  33. package/.claude/agents/templates/migration-plan.md +745 -745
  34. package/.claude/commands/agents/agent-spawning.md +28 -28
  35. package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +53 -53
  36. package/.claude/commands/analysis/bottleneck-detect.md +162 -162
  37. package/.claude/commands/analysis/performance-bottlenecks.md +58 -58
  38. package/.claude/commands/analysis/token-efficiency.md +44 -44
  39. package/.claude/commands/automation/auto-agent.md +122 -122
  40. package/.claude/commands/automation/self-healing.md +105 -105
  41. package/.claude/commands/automation/session-memory.md +89 -89
  42. package/.claude/commands/automation/smart-agents.md +72 -72
  43. package/.claude/commands/coordination/init.md +44 -44
  44. package/.claude/commands/coordination/orchestrate.md +43 -43
  45. package/.claude/commands/coordination/spawn.md +45 -45
  46. package/.claude/commands/coordination/swarm-init.md +85 -85
  47. package/.claude/commands/github/github-modes.md +146 -146
  48. package/.claude/commands/github/github-swarm.md +121 -121
  49. package/.claude/commands/github/issue-tracker.md +291 -291
  50. package/.claude/commands/github/pr-manager.md +169 -169
  51. package/.claude/commands/github/release-manager.md +337 -337
  52. package/.claude/commands/github/repo-architect.md +366 -366
  53. package/.claude/commands/github/sync-coordinator.md +300 -300
  54. package/.claude/commands/memory/neural.md +47 -47
  55. package/.claude/commands/monitoring/agents.md +44 -44
  56. package/.claude/commands/monitoring/status.md +46 -46
  57. package/.claude/commands/optimization/auto-topology.md +61 -61
  58. package/.claude/commands/optimization/parallel-execution.md +49 -49
  59. package/.claude/commands/sparc/analyzer.md +51 -51
  60. package/.claude/commands/sparc/architect.md +53 -53
  61. package/.claude/commands/sparc/ask.md +97 -97
  62. package/.claude/commands/sparc/batch-executor.md +54 -54
  63. package/.claude/commands/sparc/code.md +89 -89
  64. package/.claude/commands/sparc/coder.md +54 -54
  65. package/.claude/commands/sparc/debug.md +83 -83
  66. package/.claude/commands/sparc/debugger.md +54 -54
  67. package/.claude/commands/sparc/designer.md +53 -53
  68. package/.claude/commands/sparc/devops.md +109 -109
  69. package/.claude/commands/sparc/docs-writer.md +80 -80
  70. package/.claude/commands/sparc/documenter.md +54 -54
  71. package/.claude/commands/sparc/innovator.md +54 -54
  72. package/.claude/commands/sparc/integration.md +83 -83
  73. package/.claude/commands/sparc/mcp.md +117 -117
  74. package/.claude/commands/sparc/memory-manager.md +54 -54
  75. package/.claude/commands/sparc/optimizer.md +54 -54
  76. package/.claude/commands/sparc/orchestrator.md +131 -131
  77. package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -83
  78. package/.claude/commands/sparc/refinement-optimization-mode.md +83 -83
  79. package/.claude/commands/sparc/researcher.md +54 -54
  80. package/.claude/commands/sparc/reviewer.md +54 -54
  81. package/.claude/commands/sparc/security-review.md +80 -80
  82. package/.claude/commands/sparc/sparc-modes.md +174 -174
  83. package/.claude/commands/sparc/sparc.md +111 -111
  84. package/.claude/commands/sparc/spec-pseudocode.md +80 -80
  85. package/.claude/commands/sparc/supabase-admin.md +348 -348
  86. package/.claude/commands/sparc/swarm-coordinator.md +54 -54
  87. package/.claude/commands/sparc/tdd.md +54 -54
  88. package/.claude/commands/sparc/tester.md +54 -54
  89. package/.claude/commands/sparc/tutorial.md +79 -79
  90. package/.claude/commands/sparc/workflow-manager.md +54 -54
  91. package/.claude/commands/sparc.md +166 -166
  92. package/.claude/commands/swarm/analysis.md +95 -95
  93. package/.claude/commands/swarm/development.md +96 -96
  94. package/.claude/commands/swarm/examples.md +168 -168
  95. package/.claude/commands/swarm/maintenance.md +102 -102
  96. package/.claude/commands/swarm/optimization.md +117 -117
  97. package/.claude/commands/swarm/research.md +136 -136
  98. package/.claude/commands/swarm/testing.md +131 -131
  99. package/.claude/commands/training/neural-patterns.md +73 -73
  100. package/.claude/commands/training/specialization.md +62 -62
  101. package/.claude/commands/workflows/development.md +77 -77
  102. package/.claude/commands/workflows/research.md +62 -62
  103. package/.claude/guidance/{agent-bootstrap.md → shipped/agent-bootstrap.md} +126 -126
  104. package/.claude/guidance/{guidance-memory-strategy.md → shipped/guidance-memory-strategy.md} +262 -262
  105. package/.claude/guidance/{memory-strategy.md → shipped/memory-strategy.md} +204 -204
  106. package/.claude/guidance/{moflo.md → shipped/moflo.md} +45 -31
  107. package/.claude/guidance/{task-swarm-integration.md → shipped/task-swarm-integration.md} +441 -348
  108. package/.claude/helpers/gate.cjs +236 -236
  109. package/.claude/helpers/hook-handler.cjs +42 -46
  110. package/.claude/settings.json +2 -2
  111. package/.claude/settings.local.json +3 -3
  112. package/.claude/skills/fl/SKILL.md +29 -23
  113. package/.claude/skills/flo/SKILL.md +29 -23
  114. package/.claude/skills/github-code-review/SKILL.md +4 -4
  115. package/.claude/skills/github-multi-repo/SKILL.md +8 -8
  116. package/.claude/skills/github-project-management/SKILL.md +6 -6
  117. package/.claude/skills/github-release-management/SKILL.md +12 -12
  118. package/.claude/skills/github-workflow-automation/SKILL.md +6 -6
  119. package/.claude/skills/hooks-automation/SKILL.md +1201 -1201
  120. package/.claude/skills/performance-analysis/SKILL.md +563 -563
  121. package/.claude/skills/sparc-methodology/SKILL.md +64 -64
  122. package/.claude/skills/swarm-advanced/SKILL.md +77 -77
  123. package/.claude-plugin/README.md +3 -3
  124. package/.claude-plugin/docs/PLUGIN_SUMMARY.md +3 -3
  125. package/.claude-plugin/docs/QUICKSTART.md +4 -4
  126. package/.claude-plugin/marketplace.json +3 -3
  127. package/.claude-plugin/plugin.json +3 -3
  128. package/.claude-plugin/scripts/install.sh +9 -9
  129. package/.claude-plugin/scripts/verify.sh +7 -7
  130. package/README.md +311 -116
  131. package/bin/gate-hook.mjs +50 -0
  132. package/bin/gate.cjs +138 -0
  133. package/bin/hook-handler.cjs +83 -0
  134. package/bin/hooks.mjs +72 -12
  135. package/bin/index-guidance.mjs +28 -34
  136. package/bin/index-tests.mjs +710 -0
  137. package/bin/lib/process-manager.mjs +243 -0
  138. package/bin/lib/registry-cleanup.cjs +41 -0
  139. package/bin/prompt-hook.mjs +72 -0
  140. package/bin/semantic-search.mjs +473 -441
  141. package/bin/session-start-launcher.mjs +81 -31
  142. package/bin/setup-project.mjs +13 -10
  143. package/package.json +4 -2
  144. package/src/@claude-flow/cli/README.md +1 -1
  145. package/src/@claude-flow/cli/bin/cli.js +175 -175
  146. package/src/@claude-flow/cli/dist/src/commands/doctor.js +1091 -736
  147. package/src/@claude-flow/cli/dist/src/commands/github.d.ts +12 -0
  148. package/src/@claude-flow/cli/dist/src/commands/github.js +505 -0
  149. package/src/@claude-flow/cli/dist/src/commands/hive-mind.js +90 -90
  150. package/src/@claude-flow/cli/dist/src/commands/index.d.ts +1 -0
  151. package/src/@claude-flow/cli/dist/src/commands/index.js +7 -0
  152. package/src/@claude-flow/cli/dist/src/config-adapter.js +1 -1
  153. package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +1 -1
  154. package/src/@claude-flow/cli/dist/src/init/executor.js +109 -5
  155. package/src/@claude-flow/cli/dist/src/init/helpers-generator.d.ts +14 -0
  156. package/src/@claude-flow/cli/dist/src/init/helpers-generator.js +156 -24
  157. package/src/@claude-flow/cli/dist/src/init/mcp-generator.js +20 -20
  158. package/src/@claude-flow/cli/dist/src/init/moflo-init.d.ts +7 -0
  159. package/src/@claude-flow/cli/dist/src/init/moflo-init.js +72 -10
  160. package/src/@claude-flow/cli/dist/src/init/settings-generator.js +23 -14
  161. package/src/@claude-flow/cli/dist/src/mcp-server.js +3 -3
  162. package/src/@claude-flow/cli/dist/src/plugins/manager.js +9 -8
  163. package/src/@claude-flow/cli/dist/src/services/worker-daemon.d.ts +1 -0
  164. package/src/@claude-flow/cli/dist/src/services/worker-daemon.js +3 -1
  165. package/src/@claude-flow/cli/dist/src/services/workflow-gate.js +10 -10
  166. package/src/@claude-flow/cli/package.json +1 -1
@@ -19,19 +19,19 @@ Master advanced swarm patterns for distributed research, development, and testin
19
19
  npm install -g claude-flow@alpha
20
20
 
21
21
  # Add MCP server (if using MCP tools)
22
- claude mcp add claude-flow npx claude-flow@alpha mcp start
22
+ claude mcp add moflo npx moflo mcp start
23
23
  ```
24
24
 
25
25
  ### Basic Pattern
26
26
  ```javascript
27
27
  // 1. Initialize swarm topology
28
- mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 })
28
+ mcp__moflo__swarm_init({ topology: "mesh", maxAgents: 6 })
29
29
 
30
30
  // 2. Spawn specialized agents
31
- mcp__claude-flow__agent_spawn({ type: "researcher", name: "Agent 1" })
31
+ mcp__moflo__agent_spawn({ type: "researcher", name: "Agent 1" })
32
32
 
33
33
  // 3. Orchestrate tasks
34
- mcp__claude-flow__task_orchestrate({ task: "...", strategy: "parallel" })
34
+ mcp__moflo__task_orchestrate({ task: "...", strategy: "parallel" })
35
35
  ```
36
36
 
37
37
  ## Core Concepts
@@ -73,7 +73,7 @@ Deep research through parallel information gathering, analysis, and synthesis.
73
73
  ### Architecture
74
74
  ```javascript
75
75
  // Initialize research swarm
76
- mcp__claude-flow__swarm_init({
76
+ mcp__moflo__swarm_init({
77
77
  "topology": "mesh",
78
78
  "maxAgents": 6,
79
79
  "strategy": "adaptive"
@@ -110,7 +110,7 @@ const researchAgents = [
110
110
 
111
111
  // Spawn all agents
112
112
  researchAgents.forEach(agent => {
113
- mcp__claude-flow__agent_spawn({
113
+ mcp__moflo__agent_spawn({
114
114
  type: agent.type,
115
115
  name: agent.name,
116
116
  capabilities: agent.capabilities
@@ -123,7 +123,7 @@ researchAgents.forEach(agent => {
123
123
  #### Phase 1: Information Gathering
124
124
  ```javascript
125
125
  // Parallel information collection
126
- mcp__claude-flow__parallel_execute({
126
+ mcp__moflo__parallel_execute({
127
127
  "tasks": [
128
128
  {
129
129
  "id": "web-search",
@@ -145,7 +145,7 @@ mcp__claude-flow__parallel_execute({
145
145
  })
146
146
 
147
147
  // Store research findings in memory
148
- mcp__claude-flow__memory_usage({
148
+ mcp__moflo__memory_usage({
149
149
  "action": "store",
150
150
  "key": "research-findings-" + Date.now(),
151
151
  "value": JSON.stringify(findings),
@@ -157,24 +157,24 @@ mcp__claude-flow__memory_usage({
157
157
  #### Phase 2: Analysis and Validation
158
158
  ```javascript
159
159
  // Pattern recognition in findings
160
- mcp__claude-flow__pattern_recognize({
160
+ mcp__moflo__pattern_recognize({
161
161
  "data": researchData,
162
162
  "patterns": ["trend", "correlation", "outlier", "emerging-pattern"]
163
163
  })
164
164
 
165
165
  // Cognitive analysis
166
- mcp__claude-flow__cognitive_analyze({
166
+ mcp__moflo__cognitive_analyze({
167
167
  "behavior": "research-synthesis"
168
168
  })
169
169
 
170
170
  // Quality assessment
171
- mcp__claude-flow__quality_assess({
171
+ mcp__moflo__quality_assess({
172
172
  "target": "research-sources",
173
173
  "criteria": ["credibility", "relevance", "recency", "authority"]
174
174
  })
175
175
 
176
176
  // Cross-reference validation
177
- mcp__claude-flow__neural_patterns({
177
+ mcp__moflo__neural_patterns({
178
178
  "action": "analyze",
179
179
  "operation": "fact-checking",
180
180
  "metadata": { "sources": sourcesArray }
@@ -184,14 +184,14 @@ mcp__claude-flow__neural_patterns({
184
184
  #### Phase 3: Knowledge Management
185
185
  ```javascript
186
186
  // Search existing knowledge base
187
- mcp__claude-flow__memory_search({
187
+ mcp__moflo__memory_search({
188
188
  "pattern": "topic X",
189
189
  "namespace": "research",
190
190
  "limit": 20
191
191
  })
192
192
 
193
193
  // Create knowledge graph connections
194
- mcp__claude-flow__neural_patterns({
194
+ mcp__moflo__neural_patterns({
195
195
  "action": "learn",
196
196
  "operation": "knowledge-graph",
197
197
  "metadata": {
@@ -202,7 +202,7 @@ mcp__claude-flow__neural_patterns({
202
202
  })
203
203
 
204
204
  // Store connections for future use
205
- mcp__claude-flow__memory_usage({
205
+ mcp__moflo__memory_usage({
206
206
  "action": "store",
207
207
  "key": "knowledge-graph-X",
208
208
  "value": JSON.stringify(knowledgeGraph),
@@ -214,7 +214,7 @@ mcp__claude-flow__memory_usage({
214
214
  #### Phase 4: Report Generation
215
215
  ```javascript
216
216
  // Orchestrate report generation
217
- mcp__claude-flow__task_orchestrate({
217
+ mcp__moflo__task_orchestrate({
218
218
  "task": "generate comprehensive research report",
219
219
  "strategy": "sequential",
220
220
  "priority": "high",
@@ -222,12 +222,12 @@ mcp__claude-flow__task_orchestrate({
222
222
  })
223
223
 
224
224
  // Monitor research progress
225
- mcp__claude-flow__swarm_status({
225
+ mcp__moflo__swarm_status({
226
226
  "swarmId": "research-swarm"
227
227
  })
228
228
 
229
229
  // Generate final report
230
- mcp__claude-flow__workflow_execute({
230
+ mcp__moflo__workflow_execute({
231
231
  "workflowId": "research-report-generation",
232
232
  "params": {
233
233
  "findings": findings,
@@ -256,7 +256,7 @@ Full-stack development through coordinated specialist agents.
256
256
  ### Architecture
257
257
  ```javascript
258
258
  // Initialize development swarm with hierarchy
259
- mcp__claude-flow__swarm_init({
259
+ mcp__moflo__swarm_init({
260
260
  "topology": "hierarchical",
261
261
  "maxAgents": 8,
262
262
  "strategy": "balanced"
@@ -276,7 +276,7 @@ const devTeam = [
276
276
 
277
277
  // Spawn all team members
278
278
  devTeam.forEach(member => {
279
- mcp__claude-flow__agent_spawn({
279
+ mcp__moflo__agent_spawn({
280
280
  type: member.type,
281
281
  name: member.name,
282
282
  capabilities: member.capabilities,
@@ -290,7 +290,7 @@ devTeam.forEach(member => {
290
290
  #### Phase 1: Architecture and Design
291
291
  ```javascript
292
292
  // System architecture design
293
- mcp__claude-flow__task_orchestrate({
293
+ mcp__moflo__task_orchestrate({
294
294
  "task": "design system architecture for REST API",
295
295
  "strategy": "sequential",
296
296
  "priority": "critical",
@@ -298,7 +298,7 @@ mcp__claude-flow__task_orchestrate({
298
298
  })
299
299
 
300
300
  // Store architecture decisions
301
- mcp__claude-flow__memory_usage({
301
+ mcp__moflo__memory_usage({
302
302
  "action": "store",
303
303
  "key": "architecture-decisions",
304
304
  "value": JSON.stringify(architectureDoc),
@@ -309,7 +309,7 @@ mcp__claude-flow__memory_usage({
309
309
  #### Phase 2: Parallel Implementation
310
310
  ```javascript
311
311
  // Parallel development tasks
312
- mcp__claude-flow__parallel_execute({
312
+ mcp__moflo__parallel_execute({
313
313
  "tasks": [
314
314
  {
315
315
  "id": "backend-api",
@@ -335,7 +335,7 @@ mcp__claude-flow__parallel_execute({
335
335
  })
336
336
 
337
337
  // Monitor development progress
338
- mcp__claude-flow__swarm_monitor({
338
+ mcp__moflo__swarm_monitor({
339
339
  "swarmId": "dev-swarm",
340
340
  "interval": 5000
341
341
  })
@@ -344,7 +344,7 @@ mcp__claude-flow__swarm_monitor({
344
344
  #### Phase 3: Testing and Validation
345
345
  ```javascript
346
346
  // Comprehensive testing
347
- mcp__claude-flow__batch_process({
347
+ mcp__moflo__batch_process({
348
348
  "items": [
349
349
  { type: "unit", target: "all-modules" },
350
350
  { type: "integration", target: "api-endpoints" },
@@ -355,7 +355,7 @@ mcp__claude-flow__batch_process({
355
355
  })
356
356
 
357
357
  // Quality assessment
358
- mcp__claude-flow__quality_assess({
358
+ mcp__moflo__quality_assess({
359
359
  "target": "codebase",
360
360
  "criteria": ["coverage", "complexity", "maintainability", "security"]
361
361
  })
@@ -364,7 +364,7 @@ mcp__claude-flow__quality_assess({
364
364
  #### Phase 4: Review and Deployment
365
365
  ```javascript
366
366
  // Code review workflow
367
- mcp__claude-flow__workflow_execute({
367
+ mcp__moflo__workflow_execute({
368
368
  "workflowId": "code-review-process",
369
369
  "params": {
370
370
  "reviewers": ["Code Reviewer"],
@@ -373,7 +373,7 @@ mcp__claude-flow__workflow_execute({
373
373
  })
374
374
 
375
375
  // CI/CD pipeline
376
- mcp__claude-flow__pipeline_create({
376
+ mcp__moflo__pipeline_create({
377
377
  "config": {
378
378
  "stages": ["build", "test", "security-scan", "deploy"],
379
379
  "environment": "production"
@@ -399,7 +399,7 @@ Comprehensive quality assurance through distributed testing.
399
399
  ### Architecture
400
400
  ```javascript
401
401
  // Initialize testing swarm with star topology
402
- mcp__claude-flow__swarm_init({
402
+ mcp__moflo__swarm_init({
403
403
  "topology": "star",
404
404
  "maxAgents": 7,
405
405
  "strategy": "parallel"
@@ -446,7 +446,7 @@ const testingTeam = [
446
446
 
447
447
  // Spawn all testers
448
448
  testingTeam.forEach(tester => {
449
- mcp__claude-flow__agent_spawn({
449
+ mcp__moflo__agent_spawn({
450
450
  type: tester.type,
451
451
  name: tester.name,
452
452
  capabilities: tester.capabilities,
@@ -460,7 +460,7 @@ testingTeam.forEach(tester => {
460
460
  #### Phase 1: Test Planning
461
461
  ```javascript
462
462
  // Analyze test coverage requirements
463
- mcp__claude-flow__quality_assess({
463
+ mcp__moflo__quality_assess({
464
464
  "target": "test-coverage",
465
465
  "criteria": [
466
466
  "line-coverage",
@@ -471,7 +471,7 @@ mcp__claude-flow__quality_assess({
471
471
  })
472
472
 
473
473
  // Identify test scenarios
474
- mcp__claude-flow__pattern_recognize({
474
+ mcp__moflo__pattern_recognize({
475
475
  "data": testScenarios,
476
476
  "patterns": [
477
477
  "edge-case",
@@ -482,7 +482,7 @@ mcp__claude-flow__pattern_recognize({
482
482
  })
483
483
 
484
484
  // Store test plan
485
- mcp__claude-flow__memory_usage({
485
+ mcp__moflo__memory_usage({
486
486
  "action": "store",
487
487
  "key": "test-plan-" + Date.now(),
488
488
  "value": JSON.stringify(testPlan),
@@ -493,7 +493,7 @@ mcp__claude-flow__memory_usage({
493
493
  #### Phase 2: Parallel Test Execution
494
494
  ```javascript
495
495
  // Execute all test suites in parallel
496
- mcp__claude-flow__parallel_execute({
496
+ mcp__moflo__parallel_execute({
497
497
  "tasks": [
498
498
  {
499
499
  "id": "unit-tests",
@@ -524,7 +524,7 @@ mcp__claude-flow__parallel_execute({
524
524
  })
525
525
 
526
526
  // Batch process test suites
527
- mcp__claude-flow__batch_process({
527
+ mcp__moflo__batch_process({
528
528
  "items": testSuites,
529
529
  "operation": "execute-test-suite"
530
530
  })
@@ -533,24 +533,24 @@ mcp__claude-flow__batch_process({
533
533
  #### Phase 3: Performance and Security
534
534
  ```javascript
535
535
  // Run performance benchmarks
536
- mcp__claude-flow__benchmark_run({
536
+ mcp__moflo__benchmark_run({
537
537
  "suite": "comprehensive-performance"
538
538
  })
539
539
 
540
540
  // Bottleneck analysis
541
- mcp__claude-flow__bottleneck_analyze({
541
+ mcp__moflo__bottleneck_analyze({
542
542
  "component": "application",
543
543
  "metrics": ["response-time", "throughput", "memory", "cpu"]
544
544
  })
545
545
 
546
546
  // Security scanning
547
- mcp__claude-flow__security_scan({
547
+ mcp__moflo__security_scan({
548
548
  "target": "application",
549
549
  "depth": "comprehensive"
550
550
  })
551
551
 
552
552
  // Vulnerability analysis
553
- mcp__claude-flow__error_analysis({
553
+ mcp__moflo__error_analysis({
554
554
  "logs": securityScanLogs
555
555
  })
556
556
  ```
@@ -558,24 +558,24 @@ mcp__claude-flow__error_analysis({
558
558
  #### Phase 4: Monitoring and Reporting
559
559
  ```javascript
560
560
  // Real-time test monitoring
561
- mcp__claude-flow__swarm_monitor({
561
+ mcp__moflo__swarm_monitor({
562
562
  "swarmId": "testing-swarm",
563
563
  "interval": 2000
564
564
  })
565
565
 
566
566
  // Generate comprehensive test report
567
- mcp__claude-flow__performance_report({
567
+ mcp__moflo__performance_report({
568
568
  "format": "detailed",
569
569
  "timeframe": "current-run"
570
570
  })
571
571
 
572
572
  // Get test results
573
- mcp__claude-flow__task_results({
573
+ mcp__moflo__task_results({
574
574
  "taskId": "test-execution-001"
575
575
  })
576
576
 
577
577
  // Trend analysis
578
- mcp__claude-flow__trend_analysis({
578
+ mcp__moflo__trend_analysis({
579
579
  "metric": "test-coverage",
580
580
  "period": "30d"
581
581
  })
@@ -599,7 +599,7 @@ Deep code and system analysis through specialized analyzers.
599
599
  ### Architecture
600
600
  ```javascript
601
601
  // Initialize analysis swarm
602
- mcp__claude-flow__swarm_init({
602
+ mcp__moflo__swarm_init({
603
603
  "topology": "mesh",
604
604
  "maxAgents": 5,
605
605
  "strategy": "adaptive"
@@ -636,7 +636,7 @@ const analysisTeam = [
636
636
 
637
637
  // Spawn all analysts
638
638
  analysisTeam.forEach(analyst => {
639
- mcp__claude-flow__agent_spawn({
639
+ mcp__moflo__agent_spawn({
640
640
  type: analyst.type,
641
641
  name: analyst.name,
642
642
  capabilities: analyst.capabilities
@@ -647,7 +647,7 @@ analysisTeam.forEach(analyst => {
647
647
  ### Analysis Workflow
648
648
  ```javascript
649
649
  // Parallel analysis execution
650
- mcp__claude-flow__parallel_execute({
650
+ mcp__moflo__parallel_execute({
651
651
  "tasks": [
652
652
  { "id": "analyze-code", "command": "analyze codebase structure and quality" },
653
653
  { "id": "analyze-security", "command": "scan for security vulnerabilities" },
@@ -657,13 +657,13 @@ mcp__claude-flow__parallel_execute({
657
657
  })
658
658
 
659
659
  // Generate comprehensive analysis report
660
- mcp__claude-flow__performance_report({
660
+ mcp__moflo__performance_report({
661
661
  "format": "detailed",
662
662
  "timeframe": "current"
663
663
  })
664
664
 
665
665
  // Cost analysis
666
- mcp__claude-flow__cost_analysis({
666
+ mcp__moflo__cost_analysis({
667
667
  "timeframe": "30d"
668
668
  })
669
669
  ```
@@ -674,30 +674,30 @@ mcp__claude-flow__cost_analysis({
674
674
 
675
675
  ```javascript
676
676
  // Setup fault tolerance for all agents
677
- mcp__claude-flow__daa_fault_tolerance({
677
+ mcp__moflo__daa_fault_tolerance({
678
678
  "agentId": "all",
679
679
  "strategy": "auto-recovery"
680
680
  })
681
681
 
682
682
  // Error handling pattern
683
683
  try {
684
- await mcp__claude-flow__task_orchestrate({
684
+ await mcp__moflo__task_orchestrate({
685
685
  "task": "complex operation",
686
686
  "strategy": "parallel",
687
687
  "priority": "high"
688
688
  })
689
689
  } catch (error) {
690
690
  // Check swarm health
691
- const status = await mcp__claude-flow__swarm_status({})
691
+ const status = await mcp__moflo__swarm_status({})
692
692
 
693
693
  // Analyze error patterns
694
- await mcp__claude-flow__error_analysis({
694
+ await mcp__moflo__error_analysis({
695
695
  "logs": [error.message]
696
696
  })
697
697
 
698
698
  // Auto-recovery attempt
699
699
  if (status.healthy) {
700
- await mcp__claude-flow__task_orchestrate({
700
+ await mcp__moflo__task_orchestrate({
701
701
  "task": "retry failed operation",
702
702
  "strategy": "sequential"
703
703
  })
@@ -709,28 +709,28 @@ try {
709
709
 
710
710
  ```javascript
711
711
  // Cross-session persistence
712
- mcp__claude-flow__memory_persist({
712
+ mcp__moflo__memory_persist({
713
713
  "sessionId": "swarm-session-001"
714
714
  })
715
715
 
716
716
  // Namespace management for different swarms
717
- mcp__claude-flow__memory_namespace({
717
+ mcp__moflo__memory_namespace({
718
718
  "namespace": "research-swarm",
719
719
  "action": "create"
720
720
  })
721
721
 
722
722
  // Create state snapshot
723
- mcp__claude-flow__state_snapshot({
723
+ mcp__moflo__state_snapshot({
724
724
  "name": "development-checkpoint-1"
725
725
  })
726
726
 
727
727
  // Restore from snapshot if needed
728
- mcp__claude-flow__context_restore({
728
+ mcp__moflo__context_restore({
729
729
  "snapshotId": "development-checkpoint-1"
730
730
  })
731
731
 
732
732
  // Backup memory stores
733
- mcp__claude-flow__memory_backup({
733
+ mcp__moflo__memory_backup({
734
734
  "path": "/workspaces/claude-code-flow/backups/swarm-memory.json"
735
735
  })
736
736
  ```
@@ -739,14 +739,14 @@ mcp__claude-flow__memory_backup({
739
739
 
740
740
  ```javascript
741
741
  // Train neural patterns from successful workflows
742
- mcp__claude-flow__neural_train({
742
+ mcp__moflo__neural_train({
743
743
  "pattern_type": "coordination",
744
744
  "training_data": JSON.stringify(successfulWorkflows),
745
745
  "epochs": 50
746
746
  })
747
747
 
748
748
  // Adaptive learning from experience
749
- mcp__claude-flow__learning_adapt({
749
+ mcp__moflo__learning_adapt({
750
750
  "experience": {
751
751
  "workflow": "research-to-report",
752
752
  "success": true,
@@ -756,7 +756,7 @@ mcp__claude-flow__learning_adapt({
756
756
  })
757
757
 
758
758
  // Pattern recognition for optimization
759
- mcp__claude-flow__pattern_recognize({
759
+ mcp__moflo__pattern_recognize({
760
760
  "data": workflowMetrics,
761
761
  "patterns": ["bottleneck", "optimization-opportunity", "efficiency-gain"]
762
762
  })
@@ -766,7 +766,7 @@ mcp__claude-flow__pattern_recognize({
766
766
 
767
767
  ```javascript
768
768
  // Create reusable workflow
769
- mcp__claude-flow__workflow_create({
769
+ mcp__moflo__workflow_create({
770
770
  "name": "full-stack-development",
771
771
  "steps": [
772
772
  { "phase": "design", "agents": ["architect"] },
@@ -779,7 +779,7 @@ mcp__claude-flow__workflow_create({
779
779
  })
780
780
 
781
781
  // Setup automation rules
782
- mcp__claude-flow__automation_setup({
782
+ mcp__moflo__automation_setup({
783
783
  "rules": [
784
784
  {
785
785
  "trigger": "file-changed",
@@ -794,7 +794,7 @@ mcp__claude-flow__automation_setup({
794
794
  })
795
795
 
796
796
  // Event-driven triggers
797
- mcp__claude-flow__trigger_setup({
797
+ mcp__moflo__trigger_setup({
798
798
  "events": ["code-commit", "PR-merge", "deployment"],
799
799
  "actions": ["test", "analyze", "document"]
800
800
  })
@@ -804,23 +804,23 @@ mcp__claude-flow__trigger_setup({
804
804
 
805
805
  ```javascript
806
806
  // Topology optimization
807
- mcp__claude-flow__topology_optimize({
807
+ mcp__moflo__topology_optimize({
808
808
  "swarmId": "current-swarm"
809
809
  })
810
810
 
811
811
  // Load balancing
812
- mcp__claude-flow__load_balance({
812
+ mcp__moflo__load_balance({
813
813
  "swarmId": "development-swarm",
814
814
  "tasks": taskQueue
815
815
  })
816
816
 
817
817
  // Agent coordination sync
818
- mcp__claude-flow__coordination_sync({
818
+ mcp__moflo__coordination_sync({
819
819
  "swarmId": "development-swarm"
820
820
  })
821
821
 
822
822
  // Auto-scaling
823
- mcp__claude-flow__swarm_scale({
823
+ mcp__moflo__swarm_scale({
824
824
  "swarmId": "development-swarm",
825
825
  "targetSize": 12
826
826
  })
@@ -830,28 +830,28 @@ mcp__claude-flow__swarm_scale({
830
830
 
831
831
  ```javascript
832
832
  // Real-time swarm monitoring
833
- mcp__claude-flow__swarm_monitor({
833
+ mcp__moflo__swarm_monitor({
834
834
  "swarmId": "active-swarm",
835
835
  "interval": 3000
836
836
  })
837
837
 
838
838
  // Collect comprehensive metrics
839
- mcp__claude-flow__metrics_collect({
839
+ mcp__moflo__metrics_collect({
840
840
  "components": ["agents", "tasks", "memory", "performance"]
841
841
  })
842
842
 
843
843
  // Health monitoring
844
- mcp__claude-flow__health_check({
844
+ mcp__moflo__health_check({
845
845
  "components": ["swarm", "agents", "neural", "memory"]
846
846
  })
847
847
 
848
848
  // Usage statistics
849
- mcp__claude-flow__usage_stats({
849
+ mcp__moflo__usage_stats({
850
850
  "component": "swarm-orchestration"
851
851
  })
852
852
 
853
853
  // Trend analysis
854
- mcp__claude-flow__trend_analysis({
854
+ mcp__moflo__trend_analysis({
855
855
  "metric": "agent-performance",
856
856
  "period": "7d"
857
857
  })
@@ -906,7 +906,7 @@ mcp__claude-flow__trend_analysis({
906
906
  ### Example 1: AI Research Project
907
907
  ```javascript
908
908
  // Research AI trends, analyze findings, generate report
909
- mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 })
909
+ mcp__moflo__swarm_init({ topology: "mesh", maxAgents: 6 })
910
910
  // Spawn: 2 researchers, 2 analysts, 1 synthesizer, 1 documenter
911
911
  // Parallel gather → Analyze patterns → Synthesize → Report
912
912
  ```
@@ -914,7 +914,7 @@ mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 })
914
914
  ### Example 2: Full-Stack Application
915
915
  ```javascript
916
916
  // Build complete web application with testing
917
- mcp__claude-flow__swarm_init({ topology: "hierarchical", maxAgents: 8 })
917
+ mcp__moflo__swarm_init({ topology: "hierarchical", maxAgents: 8 })
918
918
  // Spawn: 1 architect, 2 devs, 1 db engineer, 2 testers, 1 reviewer, 1 devops
919
919
  // Design → Parallel implement → Test → Review → Deploy
920
920
  ```
@@ -922,7 +922,7 @@ mcp__claude-flow__swarm_init({ topology: "hierarchical", maxAgents: 8 })
922
922
  ### Example 3: Security Audit
923
923
  ```javascript
924
924
  // Comprehensive security analysis
925
- mcp__claude-flow__swarm_init({ topology: "star", maxAgents: 5 })
925
+ mcp__moflo__swarm_init({ topology: "star", maxAgents: 5 })
926
926
  // Spawn: 1 coordinator, 1 code analyzer, 1 security scanner, 1 penetration tester, 1 reporter
927
927
  // Parallel scan → Vulnerability analysis → Penetration test → Report
928
928
  ```
@@ -930,7 +930,7 @@ mcp__claude-flow__swarm_init({ topology: "star", maxAgents: 5 })
930
930
  ### Example 4: Performance Optimization
931
931
  ```javascript
932
932
  // Identify and fix performance bottlenecks
933
- mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 4 })
933
+ mcp__moflo__swarm_init({ topology: "mesh", maxAgents: 4 })
934
934
  // Spawn: 1 profiler, 1 bottleneck analyzer, 1 optimizer, 1 tester
935
935
  // Profile → Identify bottlenecks → Optimize → Validate
936
936
  ```
@@ -307,7 +307,7 @@ Then in Claude Code:
307
307
 
308
308
  ```bash
309
309
  # Add MCP servers to Claude Code
310
- claude mcp add claude-flow npx claude-flow@alpha mcp start
310
+ claude mcp add moflo npx moflo mcp start
311
311
  claude mcp add ruv-swarm npx ruv-swarm mcp start # Optional
312
312
  claude mcp add flow-nexus npx flow-nexus@latest mcp start # Optional
313
313
  ```
@@ -509,9 +509,9 @@ Claude Flow integrates with 3 MCP servers providing 110+ tools:
509
509
  ```json
510
510
  {
511
511
  "mcpServers": {
512
- "claude-flow": {
512
+ "moflo": {
513
513
  "command": "npx",
514
- "args": ["claude-flow@alpha", "mcp", "start"]
514
+ "args": ["moflo", "mcp", "start"]
515
515
  }
516
516
  }
517
517
  }
@@ -104,7 +104,7 @@ cd claude-flow
104
104
 
105
105
  ### MCP Integration: 110+ Tools
106
106
 
107
- 1. **claude-flow** (Required)
107
+ 1. **moflo** (Required)
108
108
  - 40+ orchestration tools
109
109
  - Swarm coordination
110
110
  - Agent management
@@ -338,9 +338,9 @@ The plugin is configured via `.claude-plugin/plugin.json`:
338
338
  "url": "https://github.com/eric-cielo/moflo.git"
339
339
  },
340
340
  "mcpServers": {
341
- "claude-flow": {
341
+ "moflo": {
342
342
  "command": "npx",
343
- "args": ["claude-flow@alpha", "mcp", "start"]
343
+ "args": ["moflo", "mcp", "start"]
344
344
  }
345
345
  }
346
346
  }
@@ -202,7 +202,7 @@ The swarm automatically:
202
202
 
203
203
  ```bash
204
204
  # Core MCP (required)
205
- claude mcp add claude-flow npx claude-flow@alpha mcp start
205
+ claude mcp add moflo npx moflo mcp start
206
206
 
207
207
  # Enhanced coordination (optional)
208
208
  claude mcp add ruv-swarm npx ruv-swarm mcp start
@@ -216,7 +216,7 @@ claude mcp add flow-nexus npx flow-nexus@latest mcp start
216
216
  In Claude Code:
217
217
 
218
218
  ```
219
- List available MCP tools for claude-flow
219
+ List available MCP tools for moflo
220
220
  ```
221
221
 
222
222
  Expected: 40+ tools including:
@@ -297,10 +297,10 @@ ls ~/.claude/commands/
297
297
  cat ~/.claude/settings.json
298
298
 
299
299
  # Verify MCP package
300
- npx claude-flow@alpha --version
300
+ npx moflo --version
301
301
 
302
302
  # Reinstall if needed
303
- npm install -g claude-flow@alpha
303
+ npm install -g moflo
304
304
  ```
305
305
 
306
306
  ### Agents Not Spawning
@@ -72,10 +72,10 @@
72
72
  "node": ">=20.0.0"
73
73
  },
74
74
  "mcpServers": {
75
- "claude-flow": {
75
+ "moflo": {
76
76
  "command": "npx",
77
- "args": ["claude-flow@alpha", "mcp", "start"],
78
- "description": "Core Claude Flow MCP server for swarm coordination (40+ tools)",
77
+ "args": ["moflo", "mcp", "start"],
78
+ "description": "Core MoFlo MCP server for swarm coordination (40+ tools)",
79
79
  "optional": false
80
80
  },
81
81
  "ruv-swarm": {