@claude-flow/cli 3.0.0-alpha.33 → 3.0.0-alpha.35

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 (299) hide show
  1. package/.claude/agents/analysis/analyze-code-quality.md +180 -0
  2. package/.claude/agents/analysis/code-analyzer.md +209 -0
  3. package/.claude/agents/architecture/arch-system-design.md +156 -0
  4. package/.claude/agents/base-template-generator.md +268 -0
  5. package/.claude/agents/consensus/byzantine-coordinator.md +63 -0
  6. package/.claude/agents/consensus/crdt-synchronizer.md +997 -0
  7. package/.claude/agents/consensus/gossip-coordinator.md +63 -0
  8. package/.claude/agents/consensus/performance-benchmarker.md +851 -0
  9. package/.claude/agents/consensus/quorum-manager.md +823 -0
  10. package/.claude/agents/consensus/raft-manager.md +63 -0
  11. package/.claude/agents/consensus/security-manager.md +622 -0
  12. package/.claude/agents/core/coder.md +416 -0
  13. package/.claude/agents/core/planner.md +337 -0
  14. package/.claude/agents/core/researcher.md +331 -0
  15. package/.claude/agents/core/reviewer.md +483 -0
  16. package/.claude/agents/core/tester.md +476 -0
  17. package/.claude/agents/custom/test-long-runner.md +44 -0
  18. package/.claude/agents/data/data-ml-model.md +444 -0
  19. package/.claude/agents/development/dev-backend-api.md +345 -0
  20. package/.claude/agents/devops/ops-cicd-github.md +164 -0
  21. package/.claude/agents/documentation/docs-api-openapi.md +354 -0
  22. package/.claude/agents/flow-nexus/app-store.md +88 -0
  23. package/.claude/agents/flow-nexus/authentication.md +69 -0
  24. package/.claude/agents/flow-nexus/challenges.md +81 -0
  25. package/.claude/agents/flow-nexus/neural-network.md +88 -0
  26. package/.claude/agents/flow-nexus/payments.md +83 -0
  27. package/.claude/agents/flow-nexus/sandbox.md +76 -0
  28. package/.claude/agents/flow-nexus/swarm.md +76 -0
  29. package/.claude/agents/flow-nexus/user-tools.md +96 -0
  30. package/.claude/agents/flow-nexus/workflow.md +84 -0
  31. package/.claude/agents/github/code-review-swarm.md +377 -0
  32. package/.claude/agents/github/github-modes.md +173 -0
  33. package/.claude/agents/github/issue-tracker.md +576 -0
  34. package/.claude/agents/github/multi-repo-swarm.md +553 -0
  35. package/.claude/agents/github/pr-manager.md +438 -0
  36. package/.claude/agents/github/project-board-sync.md +509 -0
  37. package/.claude/agents/github/release-manager.md +605 -0
  38. package/.claude/agents/github/release-swarm.md +583 -0
  39. package/.claude/agents/github/repo-architect.md +398 -0
  40. package/.claude/agents/github/swarm-issue.md +573 -0
  41. package/.claude/agents/github/swarm-pr.md +428 -0
  42. package/.claude/agents/github/sync-coordinator.md +452 -0
  43. package/.claude/agents/github/workflow-automation.md +903 -0
  44. package/.claude/agents/goal/agent.md +816 -0
  45. package/.claude/agents/goal/goal-planner.md +73 -0
  46. package/.claude/agents/optimization/benchmark-suite.md +665 -0
  47. package/.claude/agents/optimization/load-balancer.md +431 -0
  48. package/.claude/agents/optimization/performance-monitor.md +672 -0
  49. package/.claude/agents/optimization/resource-allocator.md +674 -0
  50. package/.claude/agents/optimization/topology-optimizer.md +808 -0
  51. package/.claude/agents/payments/agentic-payments.md +126 -0
  52. package/.claude/agents/sona/sona-learning-optimizer.md +496 -0
  53. package/.claude/agents/sparc/architecture.md +699 -0
  54. package/.claude/agents/sparc/pseudocode.md +520 -0
  55. package/.claude/agents/sparc/refinement.md +802 -0
  56. package/.claude/agents/sparc/specification.md +478 -0
  57. package/.claude/agents/specialized/spec-mobile-react-native.md +226 -0
  58. package/.claude/agents/sublinear/consensus-coordinator.md +338 -0
  59. package/.claude/agents/sublinear/matrix-optimizer.md +185 -0
  60. package/.claude/agents/sublinear/pagerank-analyzer.md +299 -0
  61. package/.claude/agents/sublinear/performance-optimizer.md +368 -0
  62. package/.claude/agents/sublinear/trading-predictor.md +246 -0
  63. package/.claude/agents/swarm/adaptive-coordinator.md +1127 -0
  64. package/.claude/agents/swarm/hierarchical-coordinator.md +710 -0
  65. package/.claude/agents/swarm/mesh-coordinator.md +963 -0
  66. package/.claude/agents/templates/automation-smart-agent.md +205 -0
  67. package/.claude/agents/templates/coordinator-swarm-init.md +90 -0
  68. package/.claude/agents/templates/github-pr-manager.md +177 -0
  69. package/.claude/agents/templates/implementer-sparc-coder.md +259 -0
  70. package/.claude/agents/templates/memory-coordinator.md +187 -0
  71. package/.claude/agents/templates/orchestrator-task.md +139 -0
  72. package/.claude/agents/templates/performance-analyzer.md +199 -0
  73. package/.claude/agents/templates/sparc-coordinator.md +514 -0
  74. package/.claude/agents/testing/production-validator.md +395 -0
  75. package/.claude/agents/testing/tdd-london-swarm.md +244 -0
  76. package/.claude/agents/tmp.json +0 -0
  77. package/.claude/commands/agents/README.md +10 -0
  78. package/.claude/commands/agents/agent-capabilities.md +21 -0
  79. package/.claude/commands/agents/agent-coordination.md +28 -0
  80. package/.claude/commands/agents/agent-spawning.md +28 -0
  81. package/.claude/commands/agents/agent-types.md +26 -0
  82. package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +54 -0
  83. package/.claude/commands/analysis/README.md +9 -0
  84. package/.claude/commands/analysis/bottleneck-detect.md +162 -0
  85. package/.claude/commands/analysis/performance-bottlenecks.md +59 -0
  86. package/.claude/commands/analysis/performance-report.md +25 -0
  87. package/.claude/commands/analysis/token-efficiency.md +45 -0
  88. package/.claude/commands/analysis/token-usage.md +25 -0
  89. package/.claude/commands/automation/README.md +9 -0
  90. package/.claude/commands/automation/auto-agent.md +122 -0
  91. package/.claude/commands/automation/self-healing.md +106 -0
  92. package/.claude/commands/automation/session-memory.md +90 -0
  93. package/.claude/commands/automation/smart-agents.md +73 -0
  94. package/.claude/commands/automation/smart-spawn.md +25 -0
  95. package/.claude/commands/automation/workflow-select.md +25 -0
  96. package/.claude/commands/claude-flow-help.md +103 -0
  97. package/.claude/commands/claude-flow-memory.md +107 -0
  98. package/.claude/commands/claude-flow-swarm.md +205 -0
  99. package/.claude/commands/coordination/README.md +9 -0
  100. package/.claude/commands/coordination/agent-spawn.md +25 -0
  101. package/.claude/commands/coordination/init.md +44 -0
  102. package/.claude/commands/coordination/orchestrate.md +43 -0
  103. package/.claude/commands/coordination/spawn.md +45 -0
  104. package/.claude/commands/coordination/swarm-init.md +85 -0
  105. package/.claude/commands/coordination/task-orchestrate.md +25 -0
  106. package/.claude/commands/flow-nexus/app-store.md +124 -0
  107. package/.claude/commands/flow-nexus/challenges.md +120 -0
  108. package/.claude/commands/flow-nexus/login-registration.md +65 -0
  109. package/.claude/commands/flow-nexus/neural-network.md +134 -0
  110. package/.claude/commands/flow-nexus/payments.md +116 -0
  111. package/.claude/commands/flow-nexus/sandbox.md +83 -0
  112. package/.claude/commands/flow-nexus/swarm.md +87 -0
  113. package/.claude/commands/flow-nexus/user-tools.md +152 -0
  114. package/.claude/commands/flow-nexus/workflow.md +115 -0
  115. package/.claude/commands/github/README.md +11 -0
  116. package/.claude/commands/github/code-review-swarm.md +514 -0
  117. package/.claude/commands/github/code-review.md +25 -0
  118. package/.claude/commands/github/github-modes.md +147 -0
  119. package/.claude/commands/github/github-swarm.md +121 -0
  120. package/.claude/commands/github/issue-tracker.md +292 -0
  121. package/.claude/commands/github/issue-triage.md +25 -0
  122. package/.claude/commands/github/multi-repo-swarm.md +519 -0
  123. package/.claude/commands/github/pr-enhance.md +26 -0
  124. package/.claude/commands/github/pr-manager.md +170 -0
  125. package/.claude/commands/github/project-board-sync.md +471 -0
  126. package/.claude/commands/github/release-manager.md +338 -0
  127. package/.claude/commands/github/release-swarm.md +544 -0
  128. package/.claude/commands/github/repo-analyze.md +25 -0
  129. package/.claude/commands/github/repo-architect.md +367 -0
  130. package/.claude/commands/github/swarm-issue.md +482 -0
  131. package/.claude/commands/github/swarm-pr.md +285 -0
  132. package/.claude/commands/github/sync-coordinator.md +301 -0
  133. package/.claude/commands/github/workflow-automation.md +442 -0
  134. package/.claude/commands/hive-mind/README.md +17 -0
  135. package/.claude/commands/hive-mind/hive-mind-consensus.md +8 -0
  136. package/.claude/commands/hive-mind/hive-mind-init.md +18 -0
  137. package/.claude/commands/hive-mind/hive-mind-memory.md +8 -0
  138. package/.claude/commands/hive-mind/hive-mind-metrics.md +8 -0
  139. package/.claude/commands/hive-mind/hive-mind-resume.md +8 -0
  140. package/.claude/commands/hive-mind/hive-mind-sessions.md +8 -0
  141. package/.claude/commands/hive-mind/hive-mind-spawn.md +21 -0
  142. package/.claude/commands/hive-mind/hive-mind-status.md +8 -0
  143. package/.claude/commands/hive-mind/hive-mind-stop.md +8 -0
  144. package/.claude/commands/hive-mind/hive-mind-wizard.md +8 -0
  145. package/.claude/commands/hive-mind/hive-mind.md +27 -0
  146. package/.claude/commands/hooks/README.md +11 -0
  147. package/.claude/commands/hooks/overview.md +58 -0
  148. package/.claude/commands/hooks/post-edit.md +117 -0
  149. package/.claude/commands/hooks/post-task.md +112 -0
  150. package/.claude/commands/hooks/pre-edit.md +113 -0
  151. package/.claude/commands/hooks/pre-task.md +111 -0
  152. package/.claude/commands/hooks/session-end.md +118 -0
  153. package/.claude/commands/hooks/setup.md +103 -0
  154. package/.claude/commands/memory/README.md +9 -0
  155. package/.claude/commands/memory/memory-persist.md +25 -0
  156. package/.claude/commands/memory/memory-search.md +25 -0
  157. package/.claude/commands/memory/memory-usage.md +25 -0
  158. package/.claude/commands/memory/neural.md +47 -0
  159. package/.claude/commands/monitoring/README.md +9 -0
  160. package/.claude/commands/monitoring/agent-metrics.md +25 -0
  161. package/.claude/commands/monitoring/agents.md +44 -0
  162. package/.claude/commands/monitoring/real-time-view.md +25 -0
  163. package/.claude/commands/monitoring/status.md +46 -0
  164. package/.claude/commands/monitoring/swarm-monitor.md +25 -0
  165. package/.claude/commands/optimization/README.md +9 -0
  166. package/.claude/commands/optimization/auto-topology.md +62 -0
  167. package/.claude/commands/optimization/cache-manage.md +25 -0
  168. package/.claude/commands/optimization/parallel-execute.md +25 -0
  169. package/.claude/commands/optimization/parallel-execution.md +50 -0
  170. package/.claude/commands/optimization/topology-optimize.md +25 -0
  171. package/.claude/commands/pair/README.md +261 -0
  172. package/.claude/commands/pair/commands.md +546 -0
  173. package/.claude/commands/pair/config.md +510 -0
  174. package/.claude/commands/pair/examples.md +512 -0
  175. package/.claude/commands/pair/modes.md +348 -0
  176. package/.claude/commands/pair/session.md +407 -0
  177. package/.claude/commands/pair/start.md +209 -0
  178. package/.claude/commands/sparc/analyzer.md +52 -0
  179. package/.claude/commands/sparc/architect.md +53 -0
  180. package/.claude/commands/sparc/ask.md +97 -0
  181. package/.claude/commands/sparc/batch-executor.md +54 -0
  182. package/.claude/commands/sparc/code.md +89 -0
  183. package/.claude/commands/sparc/coder.md +54 -0
  184. package/.claude/commands/sparc/debug.md +83 -0
  185. package/.claude/commands/sparc/debugger.md +54 -0
  186. package/.claude/commands/sparc/designer.md +53 -0
  187. package/.claude/commands/sparc/devops.md +109 -0
  188. package/.claude/commands/sparc/docs-writer.md +80 -0
  189. package/.claude/commands/sparc/documenter.md +54 -0
  190. package/.claude/commands/sparc/innovator.md +54 -0
  191. package/.claude/commands/sparc/integration.md +83 -0
  192. package/.claude/commands/sparc/mcp.md +117 -0
  193. package/.claude/commands/sparc/memory-manager.md +54 -0
  194. package/.claude/commands/sparc/optimizer.md +54 -0
  195. package/.claude/commands/sparc/orchestrator.md +132 -0
  196. package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -0
  197. package/.claude/commands/sparc/refinement-optimization-mode.md +83 -0
  198. package/.claude/commands/sparc/researcher.md +54 -0
  199. package/.claude/commands/sparc/reviewer.md +54 -0
  200. package/.claude/commands/sparc/security-review.md +80 -0
  201. package/.claude/commands/sparc/sparc-modes.md +174 -0
  202. package/.claude/commands/sparc/sparc.md +111 -0
  203. package/.claude/commands/sparc/spec-pseudocode.md +80 -0
  204. package/.claude/commands/sparc/supabase-admin.md +348 -0
  205. package/.claude/commands/sparc/swarm-coordinator.md +54 -0
  206. package/.claude/commands/sparc/tdd.md +54 -0
  207. package/.claude/commands/sparc/tester.md +54 -0
  208. package/.claude/commands/sparc/tutorial.md +79 -0
  209. package/.claude/commands/sparc/workflow-manager.md +54 -0
  210. package/.claude/commands/sparc.md +166 -0
  211. package/.claude/commands/stream-chain/pipeline.md +121 -0
  212. package/.claude/commands/stream-chain/run.md +70 -0
  213. package/.claude/commands/swarm/README.md +15 -0
  214. package/.claude/commands/swarm/analysis.md +95 -0
  215. package/.claude/commands/swarm/development.md +96 -0
  216. package/.claude/commands/swarm/examples.md +168 -0
  217. package/.claude/commands/swarm/maintenance.md +102 -0
  218. package/.claude/commands/swarm/optimization.md +117 -0
  219. package/.claude/commands/swarm/research.md +136 -0
  220. package/.claude/commands/swarm/swarm-analysis.md +8 -0
  221. package/.claude/commands/swarm/swarm-background.md +8 -0
  222. package/.claude/commands/swarm/swarm-init.md +19 -0
  223. package/.claude/commands/swarm/swarm-modes.md +8 -0
  224. package/.claude/commands/swarm/swarm-monitor.md +8 -0
  225. package/.claude/commands/swarm/swarm-spawn.md +19 -0
  226. package/.claude/commands/swarm/swarm-status.md +8 -0
  227. package/.claude/commands/swarm/swarm-strategies.md +8 -0
  228. package/.claude/commands/swarm/swarm.md +27 -0
  229. package/.claude/commands/swarm/testing.md +131 -0
  230. package/.claude/commands/training/README.md +9 -0
  231. package/.claude/commands/training/model-update.md +25 -0
  232. package/.claude/commands/training/neural-patterns.md +74 -0
  233. package/.claude/commands/training/neural-train.md +25 -0
  234. package/.claude/commands/training/pattern-learn.md +25 -0
  235. package/.claude/commands/training/specialization.md +63 -0
  236. package/.claude/commands/truth/start.md +143 -0
  237. package/.claude/commands/verify/check.md +50 -0
  238. package/.claude/commands/verify/start.md +128 -0
  239. package/.claude/commands/workflows/README.md +9 -0
  240. package/.claude/commands/workflows/development.md +78 -0
  241. package/.claude/commands/workflows/research.md +63 -0
  242. package/.claude/commands/workflows/workflow-create.md +25 -0
  243. package/.claude/commands/workflows/workflow-execute.md +25 -0
  244. package/.claude/commands/workflows/workflow-export.md +25 -0
  245. package/.claude/helpers/memory.js +83 -0
  246. package/.claude/helpers/post-commit +16 -0
  247. package/.claude/helpers/pre-commit +26 -0
  248. package/.claude/helpers/router.js +66 -0
  249. package/.claude/helpers/session.js +127 -0
  250. package/.claude/helpers/statusline-hook.sh +21 -0
  251. package/.claude/helpers/statusline.js +227 -0
  252. package/.claude/settings.json +212 -0
  253. package/.claude/skills/agentdb-advanced/SKILL.md +550 -0
  254. package/.claude/skills/agentdb-learning/SKILL.md +545 -0
  255. package/.claude/skills/agentdb-memory-patterns/SKILL.md +339 -0
  256. package/.claude/skills/agentdb-optimization/SKILL.md +509 -0
  257. package/.claude/skills/agentdb-vector-search/SKILL.md +339 -0
  258. package/.claude/skills/agentic-jujutsu/SKILL.md +645 -0
  259. package/.claude/skills/flow-nexus-neural/SKILL.md +738 -0
  260. package/.claude/skills/flow-nexus-platform/SKILL.md +1157 -0
  261. package/.claude/skills/flow-nexus-swarm/SKILL.md +610 -0
  262. package/.claude/skills/github-code-review/SKILL.md +1140 -0
  263. package/.claude/skills/github-multi-repo/SKILL.md +874 -0
  264. package/.claude/skills/github-project-management/SKILL.md +1277 -0
  265. package/.claude/skills/github-release-management/SKILL.md +1081 -0
  266. package/.claude/skills/github-workflow-automation/SKILL.md +1065 -0
  267. package/.claude/skills/hive-mind-advanced/SKILL.md +712 -0
  268. package/.claude/skills/hooks-automation/SKILL.md +1201 -0
  269. package/.claude/skills/pair-programming/SKILL.md +1202 -0
  270. package/.claude/skills/performance-analysis/SKILL.md +563 -0
  271. package/.claude/skills/reasoningbank-agentdb/SKILL.md +446 -0
  272. package/.claude/skills/reasoningbank-intelligence/SKILL.md +201 -0
  273. package/.claude/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +1 -0
  274. package/.claude/skills/skill-builder/.claude-flow/metrics/performance.json +87 -0
  275. package/.claude/skills/skill-builder/.claude-flow/metrics/task-metrics.json +10 -0
  276. package/.claude/skills/skill-builder/SKILL.md +910 -0
  277. package/.claude/skills/sparc-methodology/SKILL.md +1115 -0
  278. package/.claude/skills/stream-chain/SKILL.md +563 -0
  279. package/.claude/skills/swarm-advanced/SKILL.md +973 -0
  280. package/.claude/skills/swarm-orchestration/SKILL.md +179 -0
  281. package/.claude/skills/v3-cli-modernization/SKILL.md +872 -0
  282. package/.claude/skills/v3-core-implementation/SKILL.md +797 -0
  283. package/.claude/skills/v3-ddd-architecture/SKILL.md +442 -0
  284. package/.claude/skills/v3-integration-deep/SKILL.md +241 -0
  285. package/.claude/skills/v3-mcp-optimization/SKILL.md +777 -0
  286. package/.claude/skills/v3-memory-unification/SKILL.md +174 -0
  287. package/.claude/skills/v3-performance-optimization/SKILL.md +390 -0
  288. package/.claude/skills/v3-security-overhaul/SKILL.md +82 -0
  289. package/.claude/skills/v3-swarm-coordination/SKILL.md +340 -0
  290. package/.claude/skills/verification-quality/SKILL.md +649 -0
  291. package/.claude/skills/worker-benchmarks/skill.md +135 -0
  292. package/.claude/skills/worker-integration/skill.md +154 -0
  293. package/dist/src/init/executor.d.ts.map +1 -1
  294. package/dist/src/init/executor.js +13 -4
  295. package/dist/src/init/executor.js.map +1 -1
  296. package/dist/src/init/settings-generator.js +1 -1
  297. package/dist/src/init/settings-generator.js.map +1 -1
  298. package/dist/tsconfig.tsbuildinfo +1 -1
  299. package/package.json +2 -1
@@ -0,0 +1,44 @@
1
+ # Initialize Coordination Framework
2
+
3
+ ## 🎯 Key Principle
4
+ **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
+
6
+ ## MCP Tool Usage in Claude Code
7
+
8
+ **Tool:** `mcp__claude-flow__swarm_init`
9
+
10
+ ## Parameters
11
+ ```json
12
+ {"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}
13
+ ```
14
+
15
+ ## Description
16
+ Set up a coordination topology to guide Claude Code's approach to complex tasks
17
+
18
+ ## Details
19
+ This tool creates a coordination framework that helps Claude Code:
20
+ - Break down complex problems systematically
21
+ - Approach tasks from multiple perspectives
22
+ - Maintain consistency across large projects
23
+ - Work more efficiently through structured coordination
24
+
25
+ Remember: This does NOT create actual coding agents. It creates a coordination pattern for Claude Code to follow.
26
+
27
+ ## Example Usage
28
+
29
+ **In Claude Code:**
30
+ 1. Use the tool: `mcp__claude-flow__swarm_init`
31
+ 2. With parameters: `{"topology": "mesh", "maxAgents": 5, "strategy": "balanced"}`
32
+ 3. Claude Code then executes the coordinated plan using its native tools
33
+
34
+ ## Important Reminders
35
+ - ✅ This tool provides coordination and structure
36
+ - ✅ Claude Code performs all actual implementation
37
+ - ❌ The tool does NOT write code
38
+ - ❌ The tool does NOT access files directly
39
+ - ❌ The tool does NOT execute commands
40
+
41
+ ## See Also
42
+ - Main documentation: /claude.md
43
+ - Other commands in this category
44
+ - Workflow examples in /workflows/
@@ -0,0 +1,43 @@
1
+ # Coordinate Task Execution
2
+
3
+ ## 🎯 Key Principle
4
+ **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
+
6
+ ## MCP Tool Usage in Claude Code
7
+
8
+ **Tool:** `mcp__claude-flow__task_orchestrate`
9
+
10
+ ## Parameters
11
+ ```json
12
+ {"task": "Implement authentication system", "strategy": "parallel", "priority": "high"}
13
+ ```
14
+
15
+ ## Description
16
+ Break down and coordinate complex tasks for systematic execution by Claude Code
17
+
18
+ ## Details
19
+ Orchestration strategies:
20
+ - **parallel**: Claude Code works on independent components simultaneously
21
+ - **sequential**: Step-by-step execution for dependent tasks
22
+ - **adaptive**: Dynamically adjusts based on task complexity
23
+
24
+ The orchestrator creates a plan that Claude Code follows using its native tools.
25
+
26
+ ## Example Usage
27
+
28
+ **In Claude Code:**
29
+ 1. Use the tool: `mcp__claude-flow__task_orchestrate`
30
+ 2. With parameters: `{"task": "Implement authentication system", "strategy": "parallel", "priority": "high"}`
31
+ 3. Claude Code then executes the coordinated plan using its native tools
32
+
33
+ ## Important Reminders
34
+ - ✅ This tool provides coordination and structure
35
+ - ✅ Claude Code performs all actual implementation
36
+ - ❌ The tool does NOT write code
37
+ - ❌ The tool does NOT access files directly
38
+ - ❌ The tool does NOT execute commands
39
+
40
+ ## See Also
41
+ - Main documentation: /claude.md
42
+ - Other commands in this category
43
+ - Workflow examples in /workflows/
@@ -0,0 +1,45 @@
1
+ # Create Cognitive Patterns
2
+
3
+ ## 🎯 Key Principle
4
+ **This tool coordinates Claude Code's actions. It does NOT write code or create content.**
5
+
6
+ ## MCP Tool Usage in Claude Code
7
+
8
+ **Tool:** `mcp__claude-flow__agent_spawn`
9
+
10
+ ## Parameters
11
+ ```json
12
+ {"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}
13
+ ```
14
+
15
+ ## Description
16
+ Define cognitive patterns that represent different approaches Claude Code can take
17
+
18
+ ## Details
19
+ Agent types represent thinking patterns, not actual coders:
20
+ - **researcher**: Systematic exploration approach
21
+ - **coder**: Implementation-focused thinking
22
+ - **analyst**: Data-driven decision making
23
+ - **architect**: Big-picture system design
24
+ - **reviewer**: Quality and consistency checking
25
+
26
+ These patterns guide how Claude Code approaches different aspects of your task.
27
+
28
+ ## Example Usage
29
+
30
+ **In Claude Code:**
31
+ 1. Use the tool: `mcp__claude-flow__agent_spawn`
32
+ 2. With parameters: `{"type": "researcher", "name": "Literature Analysis", "capabilities": ["deep-analysis"]}`
33
+ 3. Claude Code then executes the coordinated plan using its native tools
34
+
35
+ ## Important Reminders
36
+ - ✅ This tool provides coordination and structure
37
+ - ✅ Claude Code performs all actual implementation
38
+ - ❌ The tool does NOT write code
39
+ - ❌ The tool does NOT access files directly
40
+ - ❌ The tool does NOT execute commands
41
+
42
+ ## See Also
43
+ - Main documentation: /claude.md
44
+ - Other commands in this category
45
+ - Workflow examples in /workflows/
@@ -0,0 +1,85 @@
1
+ # swarm init
2
+
3
+ Initialize a Claude Flow swarm with specified topology and configuration.
4
+
5
+ ## Usage
6
+
7
+ ```bash
8
+ npx claude-flow swarm init [options]
9
+ ```
10
+
11
+ ## Options
12
+
13
+ - `--topology, -t <type>` - Swarm topology: mesh, hierarchical, ring, star (default: hierarchical)
14
+ - `--max-agents, -m <number>` - Maximum number of agents (default: 8)
15
+ - `--strategy, -s <type>` - Execution strategy: balanced, parallel, sequential (default: parallel)
16
+ - `--auto-spawn` - Automatically spawn agents based on task complexity
17
+ - `--memory` - Enable cross-session memory persistence
18
+ - `--github` - Enable GitHub integration features
19
+
20
+ ## Examples
21
+
22
+ ### Basic initialization
23
+
24
+ ```bash
25
+ npx claude-flow swarm init
26
+ ```
27
+
28
+ ### Mesh topology for research
29
+
30
+ ```bash
31
+ npx claude-flow swarm init --topology mesh --max-agents 5 --strategy balanced
32
+ ```
33
+
34
+ ### Hierarchical for development
35
+
36
+ ```bash
37
+ npx claude-flow swarm init --topology hierarchical --max-agents 10 --strategy parallel --auto-spawn
38
+ ```
39
+
40
+ ### GitHub-focused swarm
41
+
42
+ ```bash
43
+ npx claude-flow swarm init --topology star --github --memory
44
+ ```
45
+
46
+ ## Topologies
47
+
48
+ ### Mesh
49
+
50
+ - All agents connect to all others
51
+ - Best for: Research, exploration, brainstorming
52
+ - Communication: High overhead, maximum information sharing
53
+
54
+ ### Hierarchical
55
+
56
+ - Tree structure with clear command chain
57
+ - Best for: Development, structured tasks, large projects
58
+ - Communication: Efficient, clear responsibilities
59
+
60
+ ### Ring
61
+
62
+ - Agents connect in a circle
63
+ - Best for: Pipeline processing, sequential workflows
64
+ - Communication: Low overhead, ordered processing
65
+
66
+ ### Star
67
+
68
+ - Central coordinator with satellite agents
69
+ - Best for: Simple tasks, centralized control
70
+ - Communication: Minimal overhead, clear coordination
71
+
72
+ ## Integration with Claude Code
73
+
74
+ Once initialized, use MCP tools in Claude Code:
75
+
76
+ ```javascript
77
+ mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 8 }
78
+ ```
79
+
80
+ ## See Also
81
+
82
+ - `agent spawn` - Create swarm agents
83
+ - `task orchestrate` - Coordinate task execution
84
+ - `swarm status` - Check swarm state
85
+ - `swarm monitor` - Real-time monitoring
@@ -0,0 +1,25 @@
1
+ # task-orchestrate
2
+
3
+ Orchestrate complex tasks across the swarm.
4
+
5
+ ## Usage
6
+ ```bash
7
+ npx claude-flow task orchestrate [options]
8
+ ```
9
+
10
+ ## Options
11
+ - `--task <description>` - Task description
12
+ - `--strategy <type>` - Orchestration strategy
13
+ - `--priority <level>` - Task priority (low, medium, high, critical)
14
+
15
+ ## Examples
16
+ ```bash
17
+ # Orchestrate development task
18
+ npx claude-flow task orchestrate --task "Implement user authentication"
19
+
20
+ # High priority task
21
+ npx claude-flow task orchestrate --task "Fix production bug" --priority critical
22
+
23
+ # With specific strategy
24
+ npx claude-flow task orchestrate --task "Refactor codebase" --strategy parallel
25
+ ```
@@ -0,0 +1,124 @@
1
+ ---
2
+ name: flow-nexus-app-store
3
+ description: Browse, publish, and deploy applications
4
+ ---
5
+
6
+ # Flow Nexus App Store
7
+
8
+ Browse templates, publish apps, and deploy solutions.
9
+
10
+ ## Browse Apps
11
+ ```javascript
12
+ // Search apps
13
+ mcp__flow-nexus__app_search({
14
+ search: "authentication",
15
+ category: "backend",
16
+ featured: true,
17
+ limit: 20
18
+ })
19
+
20
+ // Get app details
21
+ mcp__flow-nexus__app_get({ app_id: "app_id" })
22
+
23
+ // List templates
24
+ mcp__flow-nexus__app_store_list_templates({
25
+ category: "web-api",
26
+ tags: ["express", "jwt"],
27
+ limit: 20
28
+ })
29
+ ```
30
+
31
+ ## Publish App
32
+ ```javascript
33
+ mcp__flow-nexus__app_store_publish_app({
34
+ name: "My Auth Service",
35
+ description: "JWT-based authentication microservice",
36
+ category: "backend",
37
+ version: "1.0.0",
38
+ source_code: sourceCode,
39
+ tags: ["auth", "jwt", "express"],
40
+ metadata: {
41
+ author: "Your Name",
42
+ license: "MIT",
43
+ repository: "github.com/user/repo"
44
+ }
45
+ })
46
+ ```
47
+
48
+ ## Deploy Templates
49
+ ```javascript
50
+ // Get template details
51
+ mcp__flow-nexus__template_get({
52
+ template_name: "express-api-starter"
53
+ })
54
+
55
+ // Deploy template
56
+ mcp__flow-nexus__template_deploy({
57
+ template_name: "express-api-starter",
58
+ deployment_name: "my-api",
59
+ variables: {
60
+ api_key: "your_key",
61
+ database_url: "postgres://..."
62
+ },
63
+ env_vars: {
64
+ NODE_ENV: "production"
65
+ }
66
+ })
67
+ ```
68
+
69
+ ## Analytics
70
+ ```javascript
71
+ // Get app analytics
72
+ mcp__flow-nexus__app_analytics({
73
+ app_id: "your_app_id",
74
+ timeframe: "30d" // 24h, 7d, 30d, 90d
75
+ })
76
+
77
+ // View installed apps
78
+ mcp__flow-nexus__app_installed({
79
+ user_id: "your_id"
80
+ })
81
+ ```
82
+
83
+ ## Update App
84
+ ```javascript
85
+ mcp__flow-nexus__app_update({
86
+ app_id: "app_id",
87
+ updates: {
88
+ version: "1.1.0",
89
+ description: "Updated description",
90
+ tags: ["new", "tags"]
91
+ }
92
+ })
93
+ ```
94
+
95
+ ## Market Data
96
+ ```javascript
97
+ // Get market statistics
98
+ mcp__flow-nexus__market_data()
99
+ ```
100
+
101
+ ## Template Categories
102
+ - **web-api**: RESTful APIs and microservices
103
+ - **frontend**: React, Vue, Angular apps
104
+ - **full-stack**: Complete applications
105
+ - **cli-tools**: Command-line utilities
106
+ - **data-processing**: ETL and analytics
107
+ - **ml-models**: Pre-trained models
108
+ - **blockchain**: Web3 applications
109
+ - **mobile**: React Native apps
110
+
111
+ ## Publishing Best Practices
112
+ 1. Include comprehensive documentation
113
+ 2. Add example usage and configuration
114
+ 3. Include tests and CI/CD setup
115
+ 4. Use semantic versioning
116
+ 5. Add clear license information
117
+ 6. Include docker/deployment configs
118
+ 7. Provide migration guides for updates
119
+
120
+ ## Revenue Sharing
121
+ - Earn rUv credits when others use your templates
122
+ - Set pricing (0 for free templates)
123
+ - Track usage and earnings in analytics
124
+ - Withdraw credits or use for Flow Nexus services
@@ -0,0 +1,120 @@
1
+ ---
2
+ name: flow-nexus-challenges
3
+ description: Coding challenges, achievements, and leaderboards
4
+ ---
5
+
6
+ # Flow Nexus Challenges
7
+
8
+ Complete coding challenges to earn rUv credits and climb the leaderboard.
9
+
10
+ ## List Challenges
11
+ ```javascript
12
+ mcp__flow-nexus__challenges_list({
13
+ difficulty: "intermediate", // beginner, advanced, expert
14
+ category: "algorithms",
15
+ status: "active",
16
+ limit: 20
17
+ })
18
+ ```
19
+
20
+ ## Get Challenge Details
21
+ ```javascript
22
+ mcp__flow-nexus__challenge_get({
23
+ challenge_id: "two-sum-problem"
24
+ })
25
+ ```
26
+
27
+ ## Submit Solution
28
+ ```javascript
29
+ mcp__flow-nexus__challenge_submit({
30
+ challenge_id: "challenge_id",
31
+ user_id: "your_id",
32
+ solution_code: `
33
+ function solution(nums, target) {
34
+ const map = new Map();
35
+ for (let i = 0; i < nums.length; i++) {
36
+ const complement = target - nums[i];
37
+ if (map.has(complement)) {
38
+ return [map.get(complement), i];
39
+ }
40
+ map.set(nums[i], i);
41
+ }
42
+ return [];
43
+ }
44
+ `,
45
+ language: "javascript",
46
+ execution_time: 45 // milliseconds
47
+ })
48
+ ```
49
+
50
+ ## Complete Challenge
51
+ ```javascript
52
+ mcp__flow-nexus__app_store_complete_challenge({
53
+ challenge_id: "challenge_id",
54
+ user_id: "your_id",
55
+ submission_data: {
56
+ passed_tests: 10,
57
+ total_tests: 10,
58
+ execution_time: 45
59
+ }
60
+ })
61
+ ```
62
+
63
+ ## Leaderboards
64
+ ```javascript
65
+ // Global leaderboard
66
+ mcp__flow-nexus__leaderboard_get({
67
+ type: "global", // weekly, monthly, challenge
68
+ limit: 10
69
+ })
70
+
71
+ // Challenge-specific leaderboard
72
+ mcp__flow-nexus__leaderboard_get({
73
+ type: "challenge",
74
+ challenge_id: "specific_challenge",
75
+ limit: 25
76
+ })
77
+ ```
78
+
79
+ ## Achievements
80
+ ```javascript
81
+ mcp__flow-nexus__achievements_list({
82
+ user_id: "your_id",
83
+ category: "speed_demon" // Categories vary
84
+ })
85
+ ```
86
+
87
+ ## rUv Credits
88
+ ```javascript
89
+ // Check balance
90
+ mcp__flow-nexus__ruv_balance({ user_id: "your_id" })
91
+
92
+ // View history
93
+ mcp__flow-nexus__ruv_history({
94
+ user_id: "your_id",
95
+ limit: 20
96
+ })
97
+
98
+ // Earn credits (automatic on completion)
99
+ mcp__flow-nexus__app_store_earn_ruv({
100
+ user_id: "your_id",
101
+ amount: 100,
102
+ reason: "Completed expert challenge",
103
+ source: "challenge"
104
+ })
105
+ ```
106
+
107
+ ## Challenge Categories
108
+ - **algorithms**: Classic algorithm problems
109
+ - **data-structures**: DS implementation challenges
110
+ - **system-design**: Architecture challenges
111
+ - **optimization**: Performance challenges
112
+ - **security**: Security-focused problems
113
+ - **ml-basics**: Machine learning fundamentals
114
+
115
+ ## Tips
116
+ 1. Start with beginner challenges
117
+ 2. Review other solutions after completing
118
+ 3. Optimize for both correctness and speed
119
+ 4. Complete daily challenges for bonus credits
120
+ 5. Unlock achievements for extra rewards
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: flow-nexus-auth
3
+ description: Flow Nexus authentication and user management
4
+ ---
5
+
6
+ # Flow Nexus Authentication
7
+
8
+ Quick commands for Flow Nexus login and registration.
9
+
10
+ ## Register New Account
11
+ ```javascript
12
+ mcp__flow-nexus__user_register({
13
+ email: "user@example.com",
14
+ password: "secure_password",
15
+ full_name: "Your Name" // optional
16
+ })
17
+ ```
18
+
19
+ ## Login
20
+ ```javascript
21
+ mcp__flow-nexus__user_login({
22
+ email: "user@example.com",
23
+ password: "your_password"
24
+ })
25
+ ```
26
+
27
+ ## Check Auth Status
28
+ ```javascript
29
+ mcp__flow-nexus__auth_status({ detailed: true })
30
+ ```
31
+
32
+ ## Logout
33
+ ```javascript
34
+ mcp__flow-nexus__user_logout()
35
+ ```
36
+
37
+ ## Password Reset
38
+ ```javascript
39
+ // Request reset
40
+ mcp__flow-nexus__user_reset_password({ email: "user@example.com" })
41
+
42
+ // Update with token
43
+ mcp__flow-nexus__user_update_password({
44
+ token: "reset_token",
45
+ new_password: "new_secure_password"
46
+ })
47
+ ```
48
+
49
+ ## Profile Management
50
+ ```javascript
51
+ // Get profile
52
+ mcp__flow-nexus__user_profile({ user_id: "your_id" })
53
+
54
+ // Update profile
55
+ mcp__flow-nexus__user_update_profile({
56
+ user_id: "your_id",
57
+ updates: { full_name: "New Name" }
58
+ })
59
+ ```
60
+
61
+ ## Quick Start
62
+ 1. Register with your email
63
+ 2. Check your email for verification
64
+ 3. Login to access all features
65
+ 4. Configure auto-refill for uninterrupted service
@@ -0,0 +1,134 @@
1
+ ---
2
+ name: flow-nexus-neural
3
+ description: Train and deploy neural networks in distributed sandboxes
4
+ ---
5
+
6
+ # Flow Nexus Neural Networks
7
+
8
+ Train custom neural networks with distributed computing.
9
+
10
+ ## Train Model
11
+ ```javascript
12
+ mcp__flow-nexus__neural_train({
13
+ config: {
14
+ architecture: {
15
+ type: "feedforward", // lstm, gan, autoencoder, transformer
16
+ layers: [
17
+ { type: "dense", units: 128, activation: "relu" },
18
+ { type: "dropout", rate: 0.2 },
19
+ { type: "dense", units: 10, activation: "softmax" }
20
+ ]
21
+ },
22
+ training: {
23
+ epochs: 100,
24
+ batch_size: 32,
25
+ learning_rate: 0.001,
26
+ optimizer: "adam"
27
+ }
28
+ },
29
+ tier: "small" // nano, mini, small, medium, large
30
+ })
31
+ ```
32
+
33
+ ## Run Inference
34
+ ```javascript
35
+ mcp__flow-nexus__neural_predict({
36
+ model_id: "model_id",
37
+ input: [[0.5, 0.3, 0.2], [0.1, 0.8, 0.1]],
38
+ user_id: "your_id"
39
+ })
40
+ ```
41
+
42
+ ## Use Templates
43
+ ```javascript
44
+ // List templates
45
+ mcp__flow-nexus__neural_list_templates({
46
+ category: "classification", // regression, nlp, vision, anomaly
47
+ tier: "free",
48
+ limit: 20
49
+ })
50
+
51
+ // Deploy template
52
+ mcp__flow-nexus__neural_deploy_template({
53
+ template_id: "sentiment-analysis",
54
+ custom_config: {
55
+ training: { epochs: 50 }
56
+ }
57
+ })
58
+ ```
59
+
60
+ ## Distributed Training
61
+ ```javascript
62
+ // Initialize cluster
63
+ mcp__flow-nexus__neural_cluster_init({
64
+ name: "training-cluster",
65
+ architecture: "transformer",
66
+ topology: "mesh",
67
+ consensus: "proof-of-learning",
68
+ wasmOptimization: true
69
+ })
70
+
71
+ // Deploy nodes
72
+ mcp__flow-nexus__neural_node_deploy({
73
+ cluster_id: "cluster_id",
74
+ node_type: "worker", // parameter_server, aggregator
75
+ model: "large",
76
+ capabilities: ["training", "inference"]
77
+ })
78
+
79
+ // Start training
80
+ mcp__flow-nexus__neural_train_distributed({
81
+ cluster_id: "cluster_id",
82
+ dataset: "mnist",
83
+ epochs: 100,
84
+ federated: true // Enable federated learning
85
+ })
86
+ ```
87
+
88
+ ## Model Management
89
+ ```javascript
90
+ // List your models
91
+ mcp__flow-nexus__neural_list_models({
92
+ user_id: "your_id",
93
+ include_public: true
94
+ })
95
+
96
+ // Benchmark performance
97
+ mcp__flow-nexus__neural_performance_benchmark({
98
+ model_id: "model_id",
99
+ benchmark_type: "comprehensive"
100
+ })
101
+
102
+ // Publish as template
103
+ mcp__flow-nexus__neural_publish_template({
104
+ model_id: "model_id",
105
+ name: "My Custom Model",
106
+ description: "Highly accurate classifier",
107
+ category: "classification",
108
+ price: 0 // Free template
109
+ })
110
+ ```
111
+
112
+ ## Common Patterns
113
+
114
+ ### Image Classification
115
+ ```javascript
116
+ mcp__flow-nexus__neural_train({
117
+ config: {
118
+ architecture: { type: "cnn" },
119
+ training: { epochs: 50, batch_size: 64 }
120
+ },
121
+ tier: "medium"
122
+ })
123
+ ```
124
+
125
+ ### Time Series Prediction
126
+ ```javascript
127
+ mcp__flow-nexus__neural_train({
128
+ config: {
129
+ architecture: { type: "lstm" },
130
+ training: { epochs: 100, learning_rate: 0.01 }
131
+ },
132
+ tier: "small"
133
+ })
134
+ ```