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.
- package/.claude/agents/core/coder.md +265 -265
- package/.claude/agents/core/planner.md +167 -167
- package/.claude/agents/core/researcher.md +189 -189
- package/.claude/agents/core/reviewer.md +325 -325
- package/.claude/agents/core/tester.md +318 -318
- package/.claude/agents/dual-mode/codex-coordinator.md +224 -224
- package/.claude/agents/dual-mode/codex-worker.md +211 -211
- package/.claude/agents/dual-mode/dual-orchestrator.md +291 -291
- package/.claude/agents/github/code-review-swarm.md +537 -537
- package/.claude/agents/github/github-modes.md +172 -172
- package/.claude/agents/github/issue-tracker.md +318 -318
- package/.claude/agents/github/multi-repo-swarm.md +552 -552
- package/.claude/agents/github/pr-manager.md +190 -190
- package/.claude/agents/github/project-board-sync.md +508 -508
- package/.claude/agents/github/release-manager.md +366 -366
- package/.claude/agents/github/release-swarm.md +582 -582
- package/.claude/agents/github/repo-architect.md +397 -397
- package/.claude/agents/github/swarm-issue.md +572 -572
- package/.claude/agents/github/swarm-pr.md +427 -427
- package/.claude/agents/github/sync-coordinator.md +451 -451
- package/.claude/agents/github/workflow-automation.md +634 -634
- package/.claude/agents/goal/code-goal-planner.md +445 -445
- package/.claude/agents/hive-mind/collective-intelligence-coordinator.md +129 -129
- package/.claude/agents/hive-mind/queen-coordinator.md +202 -202
- package/.claude/agents/hive-mind/scout-explorer.md +241 -241
- package/.claude/agents/hive-mind/swarm-memory-manager.md +192 -192
- package/.claude/agents/hive-mind/worker-specialist.md +216 -216
- package/.claude/agents/neural/safla-neural.md +73 -73
- package/.claude/agents/reasoning/goal-planner.md +72 -72
- package/.claude/agents/swarm/adaptive-coordinator.md +395 -395
- package/.claude/agents/swarm/hierarchical-coordinator.md +326 -326
- package/.claude/agents/swarm/mesh-coordinator.md +391 -391
- package/.claude/agents/templates/migration-plan.md +745 -745
- package/.claude/commands/agents/agent-spawning.md +28 -28
- package/.claude/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +53 -53
- package/.claude/commands/analysis/bottleneck-detect.md +162 -162
- package/.claude/commands/analysis/performance-bottlenecks.md +58 -58
- package/.claude/commands/analysis/token-efficiency.md +44 -44
- package/.claude/commands/automation/auto-agent.md +122 -122
- package/.claude/commands/automation/self-healing.md +105 -105
- package/.claude/commands/automation/session-memory.md +89 -89
- package/.claude/commands/automation/smart-agents.md +72 -72
- package/.claude/commands/coordination/init.md +44 -44
- package/.claude/commands/coordination/orchestrate.md +43 -43
- package/.claude/commands/coordination/spawn.md +45 -45
- package/.claude/commands/coordination/swarm-init.md +85 -85
- package/.claude/commands/github/github-modes.md +146 -146
- package/.claude/commands/github/github-swarm.md +121 -121
- package/.claude/commands/github/issue-tracker.md +291 -291
- package/.claude/commands/github/pr-manager.md +169 -169
- package/.claude/commands/github/release-manager.md +337 -337
- package/.claude/commands/github/repo-architect.md +366 -366
- package/.claude/commands/github/sync-coordinator.md +300 -300
- package/.claude/commands/memory/neural.md +47 -47
- package/.claude/commands/monitoring/agents.md +44 -44
- package/.claude/commands/monitoring/status.md +46 -46
- package/.claude/commands/optimization/auto-topology.md +61 -61
- package/.claude/commands/optimization/parallel-execution.md +49 -49
- package/.claude/commands/sparc/analyzer.md +51 -51
- package/.claude/commands/sparc/architect.md +53 -53
- package/.claude/commands/sparc/ask.md +97 -97
- package/.claude/commands/sparc/batch-executor.md +54 -54
- package/.claude/commands/sparc/code.md +89 -89
- package/.claude/commands/sparc/coder.md +54 -54
- package/.claude/commands/sparc/debug.md +83 -83
- package/.claude/commands/sparc/debugger.md +54 -54
- package/.claude/commands/sparc/designer.md +53 -53
- package/.claude/commands/sparc/devops.md +109 -109
- package/.claude/commands/sparc/docs-writer.md +80 -80
- package/.claude/commands/sparc/documenter.md +54 -54
- package/.claude/commands/sparc/innovator.md +54 -54
- package/.claude/commands/sparc/integration.md +83 -83
- package/.claude/commands/sparc/mcp.md +117 -117
- package/.claude/commands/sparc/memory-manager.md +54 -54
- package/.claude/commands/sparc/optimizer.md +54 -54
- package/.claude/commands/sparc/orchestrator.md +131 -131
- package/.claude/commands/sparc/post-deployment-monitoring-mode.md +83 -83
- package/.claude/commands/sparc/refinement-optimization-mode.md +83 -83
- package/.claude/commands/sparc/researcher.md +54 -54
- package/.claude/commands/sparc/reviewer.md +54 -54
- package/.claude/commands/sparc/security-review.md +80 -80
- package/.claude/commands/sparc/sparc-modes.md +174 -174
- package/.claude/commands/sparc/sparc.md +111 -111
- package/.claude/commands/sparc/spec-pseudocode.md +80 -80
- package/.claude/commands/sparc/supabase-admin.md +348 -348
- package/.claude/commands/sparc/swarm-coordinator.md +54 -54
- package/.claude/commands/sparc/tdd.md +54 -54
- package/.claude/commands/sparc/tester.md +54 -54
- package/.claude/commands/sparc/tutorial.md +79 -79
- package/.claude/commands/sparc/workflow-manager.md +54 -54
- package/.claude/commands/sparc.md +166 -166
- package/.claude/commands/swarm/analysis.md +95 -95
- package/.claude/commands/swarm/development.md +96 -96
- package/.claude/commands/swarm/examples.md +168 -168
- package/.claude/commands/swarm/maintenance.md +102 -102
- package/.claude/commands/swarm/optimization.md +117 -117
- package/.claude/commands/swarm/research.md +136 -136
- package/.claude/commands/swarm/testing.md +131 -131
- package/.claude/commands/training/neural-patterns.md +73 -73
- package/.claude/commands/training/specialization.md +62 -62
- package/.claude/commands/workflows/development.md +77 -77
- package/.claude/commands/workflows/research.md +62 -62
- package/.claude/guidance/{agent-bootstrap.md → shipped/agent-bootstrap.md} +126 -126
- package/.claude/guidance/{guidance-memory-strategy.md → shipped/guidance-memory-strategy.md} +262 -262
- package/.claude/guidance/{memory-strategy.md → shipped/memory-strategy.md} +204 -204
- package/.claude/guidance/{moflo.md → shipped/moflo.md} +45 -31
- package/.claude/guidance/{task-swarm-integration.md → shipped/task-swarm-integration.md} +441 -348
- package/.claude/helpers/gate.cjs +236 -236
- package/.claude/helpers/hook-handler.cjs +42 -46
- package/.claude/settings.json +2 -2
- package/.claude/settings.local.json +3 -3
- package/.claude/skills/fl/SKILL.md +29 -23
- package/.claude/skills/flo/SKILL.md +29 -23
- package/.claude/skills/github-code-review/SKILL.md +4 -4
- package/.claude/skills/github-multi-repo/SKILL.md +8 -8
- package/.claude/skills/github-project-management/SKILL.md +6 -6
- package/.claude/skills/github-release-management/SKILL.md +12 -12
- package/.claude/skills/github-workflow-automation/SKILL.md +6 -6
- package/.claude/skills/hooks-automation/SKILL.md +1201 -1201
- package/.claude/skills/performance-analysis/SKILL.md +563 -563
- package/.claude/skills/sparc-methodology/SKILL.md +64 -64
- package/.claude/skills/swarm-advanced/SKILL.md +77 -77
- package/.claude-plugin/README.md +3 -3
- package/.claude-plugin/docs/PLUGIN_SUMMARY.md +3 -3
- package/.claude-plugin/docs/QUICKSTART.md +4 -4
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +3 -3
- package/.claude-plugin/scripts/install.sh +9 -9
- package/.claude-plugin/scripts/verify.sh +7 -7
- package/README.md +311 -116
- package/bin/gate-hook.mjs +50 -0
- package/bin/gate.cjs +138 -0
- package/bin/hook-handler.cjs +83 -0
- package/bin/hooks.mjs +72 -12
- package/bin/index-guidance.mjs +28 -34
- package/bin/index-tests.mjs +710 -0
- package/bin/lib/process-manager.mjs +243 -0
- package/bin/lib/registry-cleanup.cjs +41 -0
- package/bin/prompt-hook.mjs +72 -0
- package/bin/semantic-search.mjs +473 -441
- package/bin/session-start-launcher.mjs +81 -31
- package/bin/setup-project.mjs +13 -10
- package/package.json +4 -2
- package/src/@claude-flow/cli/README.md +1 -1
- package/src/@claude-flow/cli/bin/cli.js +175 -175
- package/src/@claude-flow/cli/dist/src/commands/doctor.js +1091 -736
- package/src/@claude-flow/cli/dist/src/commands/github.d.ts +12 -0
- package/src/@claude-flow/cli/dist/src/commands/github.js +505 -0
- package/src/@claude-flow/cli/dist/src/commands/hive-mind.js +90 -90
- package/src/@claude-flow/cli/dist/src/commands/index.d.ts +1 -0
- package/src/@claude-flow/cli/dist/src/commands/index.js +7 -0
- package/src/@claude-flow/cli/dist/src/config-adapter.js +1 -1
- package/src/@claude-flow/cli/dist/src/init/claudemd-generator.js +1 -1
- package/src/@claude-flow/cli/dist/src/init/executor.js +109 -5
- package/src/@claude-flow/cli/dist/src/init/helpers-generator.d.ts +14 -0
- package/src/@claude-flow/cli/dist/src/init/helpers-generator.js +156 -24
- package/src/@claude-flow/cli/dist/src/init/mcp-generator.js +20 -20
- package/src/@claude-flow/cli/dist/src/init/moflo-init.d.ts +7 -0
- package/src/@claude-flow/cli/dist/src/init/moflo-init.js +72 -10
- package/src/@claude-flow/cli/dist/src/init/settings-generator.js +23 -14
- package/src/@claude-flow/cli/dist/src/mcp-server.js +3 -3
- package/src/@claude-flow/cli/dist/src/plugins/manager.js +9 -8
- package/src/@claude-flow/cli/dist/src/services/worker-daemon.d.ts +1 -0
- package/src/@claude-flow/cli/dist/src/services/worker-daemon.js +3 -1
- package/src/@claude-flow/cli/dist/src/services/workflow-gate.js +10 -10
- package/src/@claude-flow/cli/package.json +1 -1
|
@@ -1,90 +1,90 @@
|
|
|
1
|
-
# Cross-Session Memory
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Maintain context and learnings across Claude Code sessions for continuous improvement.
|
|
5
|
-
|
|
6
|
-
## Memory Features
|
|
7
|
-
|
|
8
|
-
### 1. Automatic State Persistence
|
|
9
|
-
At session end, automatically saves:
|
|
10
|
-
- Active agents and specializations
|
|
11
|
-
- Task history and patterns
|
|
12
|
-
- Performance metrics
|
|
13
|
-
- Neural network weights
|
|
14
|
-
- Knowledge base updates
|
|
15
|
-
|
|
16
|
-
### 2. Session Restoration
|
|
17
|
-
```javascript
|
|
18
|
-
// Using MCP tools for memory operations
|
|
19
|
-
|
|
20
|
-
"action": "retrieve",
|
|
21
|
-
"key": "session-state",
|
|
22
|
-
"namespace": "sessions"
|
|
23
|
-
})
|
|
24
|
-
|
|
25
|
-
// Restore swarm state
|
|
26
|
-
|
|
27
|
-
"snapshotId": "sess-123"
|
|
28
|
-
})
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
**Fallback with npx:**
|
|
32
|
-
```bash
|
|
33
|
-
npx claude-flow hook session-restore --session-id "sess-123"
|
|
34
|
-
```
|
|
35
|
-
|
|
36
|
-
### 3. Memory Types
|
|
37
|
-
|
|
38
|
-
**Project Memory:**
|
|
39
|
-
- File relationships
|
|
40
|
-
- Common edit patterns
|
|
41
|
-
- Testing approaches
|
|
42
|
-
- Build configurations
|
|
43
|
-
|
|
44
|
-
**Agent Memory:**
|
|
45
|
-
- Specialization levels
|
|
46
|
-
- Task success rates
|
|
47
|
-
- Optimization strategies
|
|
48
|
-
- Error patterns
|
|
49
|
-
|
|
50
|
-
**Performance Memory:**
|
|
51
|
-
- Bottleneck history
|
|
52
|
-
- Optimization results
|
|
53
|
-
- Token usage patterns
|
|
54
|
-
- Efficiency trends
|
|
55
|
-
|
|
56
|
-
### 4. Privacy & Control
|
|
57
|
-
```javascript
|
|
58
|
-
// List memory contents
|
|
59
|
-
|
|
60
|
-
"action": "list",
|
|
61
|
-
"namespace": "sessions"
|
|
62
|
-
})
|
|
63
|
-
|
|
64
|
-
// Delete specific memory
|
|
65
|
-
|
|
66
|
-
"action": "delete",
|
|
67
|
-
"key": "session-123",
|
|
68
|
-
"namespace": "sessions"
|
|
69
|
-
})
|
|
70
|
-
|
|
71
|
-
// Backup memory
|
|
72
|
-
|
|
73
|
-
"path": "./backups/memory-backup.json"
|
|
74
|
-
})
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
**Manual control:**
|
|
78
|
-
```bash
|
|
79
|
-
# View stored memory
|
|
80
|
-
ls .claude-flow/memory/
|
|
81
|
-
|
|
82
|
-
# Disable memory
|
|
83
|
-
export CLAUDE_FLOW_MEMORY_PERSIST=false
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Benefits
|
|
87
|
-
- 🧠 Contextual awareness
|
|
88
|
-
- 📈 Cumulative learning
|
|
89
|
-
- ⚡ Faster task completion
|
|
1
|
+
# Cross-Session Memory
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
Maintain context and learnings across Claude Code sessions for continuous improvement.
|
|
5
|
+
|
|
6
|
+
## Memory Features
|
|
7
|
+
|
|
8
|
+
### 1. Automatic State Persistence
|
|
9
|
+
At session end, automatically saves:
|
|
10
|
+
- Active agents and specializations
|
|
11
|
+
- Task history and patterns
|
|
12
|
+
- Performance metrics
|
|
13
|
+
- Neural network weights
|
|
14
|
+
- Knowledge base updates
|
|
15
|
+
|
|
16
|
+
### 2. Session Restoration
|
|
17
|
+
```javascript
|
|
18
|
+
// Using MCP tools for memory operations
|
|
19
|
+
mcp__moflo__memory_usage({
|
|
20
|
+
"action": "retrieve",
|
|
21
|
+
"key": "session-state",
|
|
22
|
+
"namespace": "sessions"
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
// Restore swarm state
|
|
26
|
+
mcp__moflo__context_restore({
|
|
27
|
+
"snapshotId": "sess-123"
|
|
28
|
+
})
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
**Fallback with npx:**
|
|
32
|
+
```bash
|
|
33
|
+
npx claude-flow hook session-restore --session-id "sess-123"
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 3. Memory Types
|
|
37
|
+
|
|
38
|
+
**Project Memory:**
|
|
39
|
+
- File relationships
|
|
40
|
+
- Common edit patterns
|
|
41
|
+
- Testing approaches
|
|
42
|
+
- Build configurations
|
|
43
|
+
|
|
44
|
+
**Agent Memory:**
|
|
45
|
+
- Specialization levels
|
|
46
|
+
- Task success rates
|
|
47
|
+
- Optimization strategies
|
|
48
|
+
- Error patterns
|
|
49
|
+
|
|
50
|
+
**Performance Memory:**
|
|
51
|
+
- Bottleneck history
|
|
52
|
+
- Optimization results
|
|
53
|
+
- Token usage patterns
|
|
54
|
+
- Efficiency trends
|
|
55
|
+
|
|
56
|
+
### 4. Privacy & Control
|
|
57
|
+
```javascript
|
|
58
|
+
// List memory contents
|
|
59
|
+
mcp__moflo__memory_usage({
|
|
60
|
+
"action": "list",
|
|
61
|
+
"namespace": "sessions"
|
|
62
|
+
})
|
|
63
|
+
|
|
64
|
+
// Delete specific memory
|
|
65
|
+
mcp__moflo__memory_usage({
|
|
66
|
+
"action": "delete",
|
|
67
|
+
"key": "session-123",
|
|
68
|
+
"namespace": "sessions"
|
|
69
|
+
})
|
|
70
|
+
|
|
71
|
+
// Backup memory
|
|
72
|
+
mcp__moflo__memory_backup({
|
|
73
|
+
"path": "./backups/memory-backup.json"
|
|
74
|
+
})
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
**Manual control:**
|
|
78
|
+
```bash
|
|
79
|
+
# View stored memory
|
|
80
|
+
ls .claude-flow/memory/
|
|
81
|
+
|
|
82
|
+
# Disable memory
|
|
83
|
+
export CLAUDE_FLOW_MEMORY_PERSIST=false
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
## Benefits
|
|
87
|
+
- 🧠 Contextual awareness
|
|
88
|
+
- 📈 Cumulative learning
|
|
89
|
+
- ⚡ Faster task completion
|
|
90
90
|
- 🎯 Personalized optimization
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
# Smart Agent Auto-Spawning
|
|
2
|
-
|
|
3
|
-
## Purpose
|
|
4
|
-
Automatically spawn the right agents at the right time without manual intervention.
|
|
5
|
-
|
|
6
|
-
## Auto-Spawning Triggers
|
|
7
|
-
|
|
8
|
-
### 1. File Type Detection
|
|
9
|
-
When editing files, agents auto-spawn:
|
|
10
|
-
- **JavaScript/TypeScript**: Coder agent
|
|
11
|
-
- **Markdown**: Researcher agent
|
|
12
|
-
- **JSON/YAML**: Analyst agent
|
|
13
|
-
- **Multiple files**: Coordinator agent
|
|
14
|
-
|
|
15
|
-
### 2. Task Complexity
|
|
16
|
-
```
|
|
17
|
-
Simple task: "Fix typo"
|
|
18
|
-
→ Single coordinator agent
|
|
19
|
-
|
|
20
|
-
Complex task: "Implement OAuth with Google"
|
|
21
|
-
→ Architect + Coder + Tester + Researcher
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
### 3. Dynamic Scaling
|
|
25
|
-
The system monitors workload and spawns additional agents when:
|
|
26
|
-
- Task queue grows
|
|
27
|
-
- Complexity increases
|
|
28
|
-
- Parallel opportunities exist
|
|
29
|
-
|
|
30
|
-
**Status Monitoring:**
|
|
31
|
-
```javascript
|
|
32
|
-
// Check swarm health
|
|
33
|
-
|
|
34
|
-
"swarmId": "current"
|
|
35
|
-
})
|
|
36
|
-
|
|
37
|
-
// Monitor agent performance
|
|
38
|
-
|
|
39
|
-
"agentId": "agent-123"
|
|
40
|
-
})
|
|
41
|
-
```
|
|
42
|
-
|
|
43
|
-
## Configuration
|
|
44
|
-
|
|
45
|
-
### MCP Tool Integration
|
|
46
|
-
Uses Claude Flow MCP tools for agent coordination:
|
|
47
|
-
```javascript
|
|
48
|
-
// Initialize swarm with appropriate topology
|
|
49
|
-
|
|
50
|
-
"topology": "mesh",
|
|
51
|
-
"maxAgents": 8,
|
|
52
|
-
"strategy": "auto"
|
|
53
|
-
})
|
|
54
|
-
|
|
55
|
-
// Spawn agents based on file type
|
|
56
|
-
|
|
57
|
-
"type": "coder",
|
|
58
|
-
"name": "JavaScript Handler",
|
|
59
|
-
"capabilities": ["javascript", "typescript"]
|
|
60
|
-
})
|
|
61
|
-
```
|
|
62
|
-
|
|
63
|
-
### Fallback Configuration
|
|
64
|
-
If MCP tools are unavailable:
|
|
65
|
-
```bash
|
|
66
|
-
npx claude-flow hook pre-task --auto-spawn-agents
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Benefits
|
|
70
|
-
- 🤖 Zero manual agent management
|
|
71
|
-
- 🎯 Perfect agent selection
|
|
72
|
-
- 📈 Dynamic scaling
|
|
1
|
+
# Smart Agent Auto-Spawning
|
|
2
|
+
|
|
3
|
+
## Purpose
|
|
4
|
+
Automatically spawn the right agents at the right time without manual intervention.
|
|
5
|
+
|
|
6
|
+
## Auto-Spawning Triggers
|
|
7
|
+
|
|
8
|
+
### 1. File Type Detection
|
|
9
|
+
When editing files, agents auto-spawn:
|
|
10
|
+
- **JavaScript/TypeScript**: Coder agent
|
|
11
|
+
- **Markdown**: Researcher agent
|
|
12
|
+
- **JSON/YAML**: Analyst agent
|
|
13
|
+
- **Multiple files**: Coordinator agent
|
|
14
|
+
|
|
15
|
+
### 2. Task Complexity
|
|
16
|
+
```
|
|
17
|
+
Simple task: "Fix typo"
|
|
18
|
+
→ Single coordinator agent
|
|
19
|
+
|
|
20
|
+
Complex task: "Implement OAuth with Google"
|
|
21
|
+
→ Architect + Coder + Tester + Researcher
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### 3. Dynamic Scaling
|
|
25
|
+
The system monitors workload and spawns additional agents when:
|
|
26
|
+
- Task queue grows
|
|
27
|
+
- Complexity increases
|
|
28
|
+
- Parallel opportunities exist
|
|
29
|
+
|
|
30
|
+
**Status Monitoring:**
|
|
31
|
+
```javascript
|
|
32
|
+
// Check swarm health
|
|
33
|
+
mcp__moflo__swarm_status({
|
|
34
|
+
"swarmId": "current"
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
// Monitor agent performance
|
|
38
|
+
mcp__moflo__agent_metrics({
|
|
39
|
+
"agentId": "agent-123"
|
|
40
|
+
})
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Configuration
|
|
44
|
+
|
|
45
|
+
### MCP Tool Integration
|
|
46
|
+
Uses Claude Flow MCP tools for agent coordination:
|
|
47
|
+
```javascript
|
|
48
|
+
// Initialize swarm with appropriate topology
|
|
49
|
+
mcp__moflo__swarm_init({
|
|
50
|
+
"topology": "mesh",
|
|
51
|
+
"maxAgents": 8,
|
|
52
|
+
"strategy": "auto"
|
|
53
|
+
})
|
|
54
|
+
|
|
55
|
+
// Spawn agents based on file type
|
|
56
|
+
mcp__moflo__agent_spawn({
|
|
57
|
+
"type": "coder",
|
|
58
|
+
"name": "JavaScript Handler",
|
|
59
|
+
"capabilities": ["javascript", "typescript"]
|
|
60
|
+
})
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Fallback Configuration
|
|
64
|
+
If MCP tools are unavailable:
|
|
65
|
+
```bash
|
|
66
|
+
npx claude-flow hook pre-task --auto-spawn-agents
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
## Benefits
|
|
70
|
+
- 🤖 Zero manual agent management
|
|
71
|
+
- 🎯 Perfect agent selection
|
|
72
|
+
- 📈 Dynamic scaling
|
|
73
73
|
- 💾 Resource efficiency
|
|
@@ -1,44 +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:** `
|
|
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: `
|
|
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/
|
|
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__moflo__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__moflo__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/
|
|
@@ -1,43 +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:** `
|
|
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: `
|
|
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/
|
|
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__moflo__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__moflo__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/
|
|
@@ -1,45 +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:** `
|
|
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: `
|
|
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/
|
|
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__moflo__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__moflo__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/
|