openclaw-swarm
// Use OpenClaw Swarm features for advanced subagent orchestration.
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
openclaw-swarm
Use OpenClaw Swarm features for advanced subagent orchestration.
About
This skill provides access to OpenClaw Swarm - a fork of OpenClaw with enhanced subagent orchestration:
- Fork: https://github.com/Heldinhow/openclaw-swarm
- Docs: SWARM.md
When to Use
Use this skill when:
- Spawning subagents with context sharing
- Coordinating multiple subagents
- Sharing state between subagents
- Running parallel tasks
Tools Available
1. sessions_spawn with contextSharing
Share parent session context with subagents:
{
"sessions_spawn": {
"label": "my-task",
"task": "Do something",
"contextSharing": "recent"
}
}
Values:
none- No contextsummary- Compressed summaryrecent- Last messagesfull- Complete history
2. context_store
Share data between subagents:
// Write
{ "context_store": { "action": "set", "namespace": "project", "key": "data", "value": {...} } }
// Read
{ "context_store": { "action": "get", "namespace": "project", "key": "data" } }
Actions: get, set, delete, list, subscribe, broadcast
3. context_publish
Notify when subagent completes:
{ "context_publish": {
"action": "publish",
"eventType": "task_complete",
"target": "orchestrator",
"data": { "result": "..." }
}
}
4. parallel_spawn
Run multiple subagents in parallel:
{ "parallel_spawn": {
"tasks": [
{ "label": "task1", "task": "Do this" },
{ "label": "task2", "task": "Do that" }
],
"wait": "all"
}
}
Wait strategies:
all- Wait for allany- Return on first, others continuerace- Return on first
Patterns
Parallel Research
{
"parallel_spawn": {
"tasks": [
{ "label": "web-search", "task": "Search X" },
{ "label": "docs-search", "task": "Find docs about X" }
],
"wait": "all"
}
}
Chain Workflow
- First subagent writes to context_store
- Second subagent reads from context_store
- Both notify via context_publish
Context Pipeline
{
"sessions_spawn": {
"label": "processor",
"task": "Process data",
"contextSharing": "recent"
}
}
Auto-Announce
Subagents automatically announce completion:
✅ Sub-agent completed: label
task: ...
result: ...
runtime: Xs
No polling needed!