Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

fix(skills): pass agentType to agent_spawn in the default skills (#4542) (#4543)

Muhammad Zubairc61748c64038
diff --git a/.claude/skills/github-code-review/SKILL.md b/.claude/skills/github-code-review/SKILL.md
index bb85f37632..42ec8f2631 100644
--- a/.claude/skills/github-code-review/SKILL.md
+++ b/.claude/skills/github-code-review/SKILL.md
@@ -1013,9 +1013,9 @@ fi
[Single Message - Parallel Execution]:
// Initialize coordination
mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }
- mcp__claude-flow__agent_spawn { type: "reviewer", name: "Senior Reviewer" }
- mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Merge Coordinator" }
+ mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Senior Reviewer" }
+ mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Engineer" }
+ mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Merge Coordinator" }
// Create and manage PR using gh CLI
Bash("gh pr create --title 'Feature: Add authentication' --base main")
diff --git a/.claude/skills/github-project-management/SKILL.md b/.claude/skills/github-project-management/SKILL.md
index d1556883c5..8e53128559 100644
--- a/.claude/skills/github-project-management/SKILL.md
+++ b/.claude/skills/github-project-management/SKILL.md
@@ -66,9 +66,9 @@ npx ruv-swarm github board-init \
```javascript
// Initialize issue management swarm
mcp__claude-flow__swarm_init { topology: "star", maxAgents: 3 }
-mcp__claude-flow__agent_spawn { type: "coordinator", name: "Issue Coordinator" }
-mcp__claude-flow__agent_spawn { type: "researcher", name: "Requirements Analyst" }
-mcp__claude-flow__agent_spawn { type: "coder", name: "Implementation Planner" }
+mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Issue Coordinator" }
+mcp__claude-flow__agent_spawn { agentType: "researcher", name: "Requirements Analyst" }
+mcp__claude-flow__agent_spawn { agentType: "coder", name: "Implementation Planner" }
// Create comprehensive issue
mcp__github__create_issue {
diff --git a/.claude/skills/github-release-management/SKILL.md b/.claude/skills/github-release-management/SKILL.md
index ebefc7f1f3..cb1ad23145 100644
--- a/.claude/skills/github-release-management/SKILL.md
+++ b/.claude/skills/github-release-management/SKILL.md
@@ -140,12 +140,12 @@ gh release create $(npm pkg get version) \
}
// Spawn specialized agents
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Release Director" }
- mcp__claude-flow__agent_spawn { type: "coder", name: "Version Manager" }
- mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
- mcp__claude-flow__agent_spawn { type: "reviewer", name: "Release Reviewer" }
- mcp__claude-flow__agent_spawn { type: "analyst", name: "Deployment Analyst" }
- mcp__claude-flow__agent_spawn { type: "researcher", name: "Compatibility Checker" }
+ mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Release Director" }
+ mcp__claude-flow__agent_spawn { agentType: "coder", name: "Version Manager" }
+ mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Engineer" }
+ mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Release Reviewer" }
+ mcp__claude-flow__agent_spawn { agentType: "analyst", name: "Deployment Analyst" }
+ mcp__claude-flow__agent_spawn { agentType: "researcher", name: "Compatibility Checker" }
```
#### Coordinated Release Workflow
diff --git a/.claude/skills/github-workflow-automation/SKILL.md b/.claude/skills/github-workflow-automation/SKILL.md
index f526ce9ea8..c1fdfface9 100644
--- a/.claude/skills/github-workflow-automation/SKILL.md
+++ b/.claude/skills/github-workflow-automation/SKILL.md
@@ -525,10 +525,10 @@ mcp__claude-flow__swarm_init {
}
// Step 2: Spawn specialized agents
-mcp__claude-flow__agent_spawn { type: "coordinator", name: "GitHub Coordinator" }
-mcp__claude-flow__agent_spawn { type: "reviewer", name: "Code Reviewer" }
-mcp__claude-flow__agent_spawn { type: "tester", name: "QA Agent" }
-mcp__claude-flow__agent_spawn { type: "analyst", name: "Security Analyst" }
+mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "GitHub Coordinator" }
+mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Code Reviewer" }
+mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Agent" }
+mcp__claude-flow__agent_spawn { agentType: "analyst", name: "Security Analyst" }
// Step 3: Orchestrate GitHub workflow
mcp__claude-flow__task_create {
diff --git a/.claude/skills/sparc-methodology/SKILL.md b/.claude/skills/sparc-methodology/SKILL.md
index ab343f9525..55f38d749c 100644
--- a/.claude/skills/sparc-methodology/SKILL.md
+++ b/.claude/skills/sparc-methodology/SKILL.md
@@ -455,7 +455,7 @@ mcp__claude-flow__swarm_init {
// Spawn specialized agents
mcp__claude-flow__agent_spawn {
- type: "<agent-type>",
+ agentType: "<agent-type>",
capabilities: ["<capability1>", "<capability2>"]
}
@@ -522,15 +522,15 @@ mcp__claude-flow__swarm_init {
// Spawn coordinator
mcp__claude-flow__agent_spawn {
- type: "coordinator",
+ agentType: "coordinator",
capabilities: ["planning", "delegation", "monitoring"]
}
// Spawn specialized workers
-mcp__claude-flow__agent_spawn { type: "architect" }
-mcp__claude-flow__agent_spawn { type: "coder" }
-mcp__claude-flow__agent_spawn { type: "tester" }
-mcp__claude-flow__agent_spawn { type: "reviewer" }
+mcp__claude-flow__agent_spawn { agentType: "architect" }
+mcp__claude-flow__agent_spawn { agentType: "coder" }
+mcp__claude-flow__agent_spawn { agentType: "tester" }
+mcp__claude-flow__agent_spawn { agentType: "reviewer" }
```
### Pattern 2: Mesh Coordination
@@ -703,14 +703,14 @@ mcp__claude-flow__memory_usage {
```javascript
// ✅ CORRECT: All operations together
[Single Message]:
- mcp__claude-flow__agent_spawn { type: "researcher" }
- mcp__claude-flow__agent_spawn { type: "coder" }
- mcp__claude-flow__agent_spawn { type: "tester" }
+ mcp__claude-flow__agent_spawn { agentType: "researcher" }
+ mcp__claude-flow__agent_spawn { agentType: "coder" }
+ mcp__claude-flow__agent_spawn { agentType: "tester" }
TodoWrite { todos: [8-10 todos] }
// ❌ WRONG: Multiple messages
-Message 1: mcp__claude-flow__agent_spawn { type: "researcher" }
-Message 2: mcp__claude-flow__agent_spawn { type: "coder" }
+Message 1: mcp__claude-flow__agent_spawn { agentType: "researcher" }
+Message 2: mcp__claude-flow__agent_spawn { agentType: "coder" }
Message 3: TodoWrite { todos: [...] }
```
diff --git a/.claude/skills/swarm-advanced/SKILL.md b/.claude/skills/swarm-advanced/SKILL.md
index 478558e0fc..e76ed8770f 100644
--- a/.claude/skills/swarm-advanced/SKILL.md
+++ b/.claude/skills/swarm-advanced/SKILL.md
@@ -25,7 +25,7 @@ claude mcp add claude-flow npx claude-flow@alpha mcp start
mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 })
// 2. Spawn specialized agents
-mcp__claude-flow__agent_spawn({ type: "researcher", name: "Agent 1" })
+mcp__claude-flow__agent_spawn({ agentType: "researcher", name: "Agent 1" })
// 3. Orchestrate tasks
mcp__claude-flow__task_orchestrate({ task: "...", strategy: "parallel" })
@@ -108,7 +108,7 @@ const researchAgents = [
// Spawn all agents
researchAgents.forEach(agent => {
mcp__claude-flow__agent_spawn({
- type: agent.type,
+ agentType: agent.type,
name: agent.name,
capabilities: agent.capabilities
})
@@ -274,7 +274,7 @@ const devTeam = [
// Spawn all team members
devTeam.forEach(member => {
mcp__claude-flow__agent_spawn({
- type: member.type,
+ agentType: member.type,
name: member.name,
capabilities: member.capabilities,
swarmId: "dev-swarm"
@@ -444,7 +444,7 @@ const testingTeam = [
// Spawn all testers
testingTeam.forEach(tester => {
mcp__claude-flow__agent_spawn({
- type: tester.type,
+ agentType: tester.type,
name: tester.name,
capabilities: tester.capabilities,
swarmId: "testing-swarm"
@@ -634,7 +634,7 @@ const analysisTeam = [
// Spawn all analysts
analysisTeam.forEach(analyst => {
mcp__claude-flow__agent_spawn({
- type: analyst.type,
+ agentType: analyst.type,
name: analyst.name,
capabilities: analyst.capabilities
})
diff --git a/v3/@claude-flow/cli/.claude/skills/github-code-review/SKILL.md b/v3/@claude-flow/cli/.claude/skills/github-code-review/SKILL.md
index bb85f37632..42ec8f2631 100644
--- a/v3/@claude-flow/cli/.claude/skills/github-code-review/SKILL.md
+++ b/v3/@claude-flow/cli/.claude/skills/github-code-review/SKILL.md
@@ -1013,9 +1013,9 @@ fi
[Single Message - Parallel Execution]:
// Initialize coordination
mcp__claude-flow__swarm_init { topology: "hierarchical", maxAgents: 5 }
- mcp__claude-flow__agent_spawn { type: "reviewer", name: "Senior Reviewer" }
- mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Merge Coordinator" }
+ mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Senior Reviewer" }
+ mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Engineer" }
+ mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Merge Coordinator" }
// Create and manage PR using gh CLI
Bash("gh pr create --title 'Feature: Add authentication' --base main")
diff --git a/v3/@claude-flow/cli/.claude/skills/github-project-management/SKILL.md b/v3/@claude-flow/cli/.claude/skills/github-project-management/SKILL.md
index d1556883c5..8e53128559 100644
--- a/v3/@claude-flow/cli/.claude/skills/github-project-management/SKILL.md
+++ b/v3/@claude-flow/cli/.claude/skills/github-project-management/SKILL.md
@@ -66,9 +66,9 @@ npx ruv-swarm github board-init \
```javascript
// Initialize issue management swarm
mcp__claude-flow__swarm_init { topology: "star", maxAgents: 3 }
-mcp__claude-flow__agent_spawn { type: "coordinator", name: "Issue Coordinator" }
-mcp__claude-flow__agent_spawn { type: "researcher", name: "Requirements Analyst" }
-mcp__claude-flow__agent_spawn { type: "coder", name: "Implementation Planner" }
+mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Issue Coordinator" }
+mcp__claude-flow__agent_spawn { agentType: "researcher", name: "Requirements Analyst" }
+mcp__claude-flow__agent_spawn { agentType: "coder", name: "Implementation Planner" }
// Create comprehensive issue
mcp__github__create_issue {
diff --git a/v3/@claude-flow/cli/.claude/skills/github-release-management/SKILL.md b/v3/@claude-flow/cli/.claude/skills/github-release-management/SKILL.md
index 34213442cf..a715b63a2d 100644
--- a/v3/@claude-flow/cli/.claude/skills/github-release-management/SKILL.md
+++ b/v3/@claude-flow/cli/.claude/skills/github-release-management/SKILL.md
@@ -140,12 +140,12 @@ gh release create $(npm pkg get version) \
}
// Spawn specialized agents
- mcp__claude-flow__agent_spawn { type: "coordinator", name: "Release Director" }
- mcp__claude-flow__agent_spawn { type: "coder", name: "Version Manager" }
- mcp__claude-flow__agent_spawn { type: "tester", name: "QA Engineer" }
- mcp__claude-flow__agent_spawn { type: "reviewer", name: "Release Reviewer" }
- mcp__claude-flow__agent_spawn { type: "analyst", name: "Deployment Analyst" }
- mcp__claude-flow__agent_spawn { type: "researcher", name: "Compatibility Checker" }
+ mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "Release Director" }
+ mcp__claude-flow__agent_spawn { agentType: "coder", name: "Version Manager" }
+ mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Engineer" }
+ mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Release Reviewer" }
+ mcp__claude-flow__agent_spawn { agentType: "analyst", name: "Deployment Analyst" }
+ mcp__claude-flow__agent_spawn { agentType: "researcher", name: "Compatibility Checker" }
```
#### Coordinated Release Workflow
diff --git a/v3/@claude-flow/cli/.claude/skills/github-workflow-automation/SKILL.md b/v3/@claude-flow/cli/.claude/skills/github-workflow-automation/SKILL.md
index f526ce9ea8..c1fdfface9 100644
--- a/v3/@claude-flow/cli/.claude/skills/github-workflow-automation/SKILL.md
+++ b/v3/@claude-flow/cli/.claude/skills/github-workflow-automation/SKILL.md
@@ -525,10 +525,10 @@ mcp__claude-flow__swarm_init {
}
// Step 2: Spawn specialized agents
-mcp__claude-flow__agent_spawn { type: "coordinator", name: "GitHub Coordinator" }
-mcp__claude-flow__agent_spawn { type: "reviewer", name: "Code Reviewer" }
-mcp__claude-flow__agent_spawn { type: "tester", name: "QA Agent" }
-mcp__claude-flow__agent_spawn { type: "analyst", name: "Security Analyst" }
+mcp__claude-flow__agent_spawn { agentType: "coordinator", name: "GitHub Coordinator" }
+mcp__claude-flow__agent_spawn { agentType: "reviewer", name: "Code Reviewer" }
+mcp__claude-flow__agent_spawn { agentType: "tester", name: "QA Agent" }
+mcp__claude-flow__agent_spawn { agentType: "analyst", name: "Security Analyst" }
// Step 3: Orchestrate GitHub workflow
mcp__claude-flow__task_create {
diff --git a/v3/@claude-flow/cli/.claude/skills/sparc-methodology/SKILL.md b/v3/@claude-flow/cli/.claude/skills/sparc-methodology/SKILL.md
index 743e868130..a3658df972 100644
--- a/v3/@claude-flow/cli/.claude/skills/sparc-methodology/SKILL.md
+++ b/v3/@claude-flow/cli/.claude/skills/sparc-methodology/SKILL.md
@@ -455,7 +455,7 @@ mcp__claude-flow__swarm_init {
// Spawn specialized agents
mcp__claude-flow__agent_spawn {
- type: "<agent-type>",
+ agentType: "<agent-type>",
capabilities: ["<capability1>", "<capability2>"]
}
@@ -522,15 +522,15 @@ mcp__claude-flow__swarm_init {
// Spawn coordinator
mcp__claude-flow__agent_spawn {
- type: "coordinator",
+ agentType: "coordinator",
capabilities: ["planning", "delegation", "monitoring"]
}
// Spawn specialized workers
-mcp__claude-flow__agent_spawn { type: "architect" }
-mcp__claude-flow__agent_spawn { type: "coder" }
-mcp__claude-flow__agent_spawn { type: "tester" }
-mcp__claude-flow__agent_spawn { type: "reviewer" }
+mcp__claude-flow__agent_spawn { agentType: "architect" }
+mcp__claude-flow__agent_spawn { agentType: "coder" }
+mcp__claude-flow__agent_spawn { agentType: "tester" }
+mcp__claude-flow__agent_spawn { agentType: "reviewer" }
```
### Pattern 2: Mesh Coordination
@@ -703,14 +703,14 @@ mcp__claude-flow__memory_usage {
```javascript
// ✅ CORRECT: All operations together
[Single Message]:
- mcp__claude-flow__agent_spawn { type: "researcher" }
- mcp__claude-flow__agent_spawn { type: "coder" }
- mcp__claude-flow__agent_spawn { type: "tester" }
+ mcp__claude-flow__agent_spawn { agentType: "researcher" }
+ mcp__claude-flow__agent_spawn { agentType: "coder" }
+ mcp__claude-flow__agent_spawn { agentType: "tester" }
TodoWrite { todos: [8-10 todos] }
// ❌ WRONG: Multiple messages
-Message 1: mcp__claude-flow__agent_spawn { type: "researcher" }
-Message 2: mcp__claude-flow__agent_spawn { type: "coder" }
+Message 1: mcp__claude-flow__agent_spawn { agentType: "researcher" }
+Message 2: mcp__claude-flow__agent_spawn { agentType: "coder" }
Message 3: TodoWrite { todos: [...] }
```
diff --git a/v3/@claude-flow/cli/.claude/skills/swarm-advanced/SKILL.md b/v3/@claude-flow/cli/.claude/skills/swarm-advanced/SKILL.md
index 52d979c9ba..cae7bc16c8 100644
--- a/v3/@claude-flow/cli/.claude/skills/swarm-advanced/SKILL.md
+++ b/v3/@claude-flow/cli/.claude/skills/swarm-advanced/SKILL.md
@@ -25,7 +25,7 @@ claude mcp add claude-flow npx claude-flow@alpha mcp start
mcp__claude-flow__swarm_init({ topology: "mesh", maxAgents: 6 })
// 2. Spawn specialized agents
-mcp__claude-flow__agent_spawn({ type: "researcher", name: "Agent 1" })
+mcp__claude-flow__agent_spawn({ agentType: "researcher", name: "Agent 1" })
// 3. Orchestrate tasks
mcp__claude-flow__task_orchestrate({ task: "...", strategy: "parallel" })
@@ -108,7 +108,7 @@ const researchAgents = [
// Spawn all agents
researchAgents.forEach(agent => {
mcp__claude-flow__agent_spawn({
- type: agent.type,
+ agentType: agent.type,
name: agent.name,
capabilities: agent.capabilities
})
@@ -274,7 +274,7 @@ const devTeam = [
// Spawn all team members
devTeam.forEach(member => {
mcp__claude-flow__agent_spawn({
- type: member.type,
+ agentType: member.type,
name: member.name,
capabilities: member.capabilities,
swarmId: "dev-swarm"
@@ -444,7 +444,7 @@ const testingTeam = [
// Spawn all testers
testingTeam.forEach(tester => {
mcp__claude-flow__agent_spawn({
- type: tester.type,
+ agentType: tester.type,
name: tester.name,
capabilities: tester.capabilities,
swarmId: "testing-swarm"
@@ -634,7 +634,7 @@ const analysisTeam = [
// Spawn all analysts
analysisTeam.forEach(analyst => {
mcp__claude-flow__agent_spawn({
- type: analyst.type,
+ agentType: analyst.type,
name: analyst.name,
capabilities: analyst.capabilities
})