orchestrating-swarms
This skill should be used when orchestrating multi-agent swarms using Claude Code's TeammateTool and Task system.
Skill by CuriousCrow123
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/curiouscrow123-orchestrating-swarms
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, productivity, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
orchestrating-swarms- Description
- This skill should be used when orchestrating multi-agent swarms using Claude Code's TeammateTool and Task system. It applies when coordinating multiple agents, running parallel code reviews, creating pipeline workflows with dependencies, building self-organizing task queues, or any task benefiting from divide-and-conquer patterns.
- License
- MIT
- Instructions
- 1,700 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- body: 1700 lines (spec recommends under 500)
- body: contains an absolute path from the author's machine
Files (1)
- SKILL.md
SKILL.md (first lines)
# Claude Code Swarm Orchestration
Master multi-agent orchestration using Claude Code's TeammateTool and Task system.
---
## Primitives
| Primitive | What It Is | File Location |
|-----------|-----------|---------------|
| **Agent** | A Claude instance that can use tools. You are an agent. Subagents are agents you spawn. | N/A (process) |
| **Team** | A named group of agents working together. One leader, multiple teammates. | `~/.claude/teams/{name}/config.json` |
| **Teammate** | An agent that joined a team. Has a name, color, inbox. Spawned via Task with `team_name` + `name`. | Listed in team config |
| **Leader** | The agent that created the team. Receives teammate messages, approves plans/shutdowns. | First member in config |
| **Task** | A work item with subject, description, status, owner, and dependencies. | `~/.claude/tasks/{team}/N.json` |
| **Inbox** | JSON file where an agent receives messages from teammates. | `~/.claude/teams/{name}/inboxes/{agent}.json` |
| **Message** | A JSON object sent between agents. Can be text or structured (shutdown_request, idle_notification, etc). | Stored in inbox files |
| **Backend** | How teammates run. Auto-detected: `in-process` (same Node.js, invisible), `tmux` (separate panes, visible), `iterm2` (split panes in iTerm2). See [Spawn Backends](#spawn-backends). | Auto-detected based on environment |
### How They Connect
```mermaid
flowchart TB
subgraph TEAM[TEAM]
Leader[Leader - you]
T1[Teammate 1]
T2[Teammate 2]
Leader <-->|messages via inbox| T1
Leader <-->|messages via inbox| T2
T1 <-.->|can message| T2
end
subgraph TASKS[TASK LIST]
Task1["#1 completed: Research<br/>owner: teammate1"]
Task2["#2 in_progress: Implement<br/>owner: teammate2"]
Task3["#3 pending: Test<br/>blocked by #2"]
end
T1 --> Task1
T2 --> Task2
Task2 -.->|unblocks| Task3
```
### Lifecycle
```mermaid
flowchart LR
A[1. Create Team] --> B[2. Create Tasks]
B --> C[3. Spawn Teammates]
C --> D[4. Work]
D --> E[5. Coordinate]
E --> F[6. Shutdown]
F --> G[7. Cleanup]
```
### Message Flow
```mermaid
sequenceDiagram
participant L as Leader
participant T1 as Teammate 1
participant T2 as Teammate 2
participant Tasks as Task List
L->>Tasks: TaskCreate (3 tasks)
L->>T1: spawn with prompt
L->>T2: spawn with prompt
T1->>Tasks: claim task #1
T2->>Tasks: claim task #2
T1->>Tasks: complete #1
T1->>L: send findings (inbox)
Note over Tasks: #3 auto-unblocks
T2->>Tasks: complete #2
T2->>L: send findings (inbox)
L->>T1: requestShutdown
T1->>L: approveShutdown
L->>T2: requestShutdown
T2->>L: approveShutdown
L->>L: cleanup
```
---
## Table of Contents
1. [Core Architecture](#core-architecture)
2. [Two Ways to Spawn Agents](#two-ways-to-spawn-agents)
3. [Built-in Agent Types](#built-in-agent-types)
4. [Plugin Agent Types](#plugin-agent-types)
5. [TeammateTool Operations](#teammatetool-operations)
6. [Task System Integration](#task-system-integration)
7. [Message Formats](#message-formats)
8. [Orchestration Patterns](#orchestration-patterns)
9. [Environment Variables](#environment-variables)
10. [Spawn Backends](#spawn-backends)
11. [Error Handling](#error-handling)
12. [Complete Workflows](#complete-workflows)
---
## Core Architecture
### How Swarms Work
A swarm consists of:
- **Leader** (you) - Creates team, spawns workers, coordinates work
- **Teammates** (spawned agents) - Execute tasks, report back
- **Task List** - Shared work queue with dependencies
- **Inboxes** - JSON files for inter-agent messaging
### File StructureFrom CuriousCrow123/godot-compound, MIT.
More from CuriousCrow123/godot-compound
- 0.414score
create-agent-skills
CuriousCrow123
Expert guidance for creating Claude Code skills and slash commands.
SkillDFreshness: DClaude Code +9 - 0.409score
godot-patterns
CuriousCrow123
Godot 4 architectural patterns for GDScript scene composition, resource management, and signal-based communication.
SkillDFreshness: DClaude Code +9 - 0.406score
document-review
CuriousCrow123
This skill should be used to refine brainstorm or plan documents before proceeding to the next workflow step.
SkillDFreshness: DClaude Code +9 - 0.402score
godot-setup
CuriousCrow123
Detect Godot project configuration (project.godot, GUT, gdtoolkit) and write compound-engineering.local.md with Godot review agents.
SkillDFreshness: DClaude Code +9 - 0.400score
gdscript-lint
CuriousCrow123
Run GDScript formatting and lint checks using gdtoolkit (gdformat + gdlint).
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 19, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/CuriousCrow123/godot-compound
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.625score
orchestrating-swarms
gvkhosla
This skill should be used when orchestrating multi-agent swarms using Claude Code's TeammateTool and Task system.
SkillAFreshness: A★ 51Claude Code +9 - 0.223score
orchestrating-swarms
sammyjoyce
This skill should be used when orchestrating multi-agent swarms using Claude Code's TeammateTool and Task system.
SkillDFreshness: DClaude Code +9
More from CuriousCrow123
- 0.414score
create-agent-skills
CuriousCrow123
Expert guidance for creating Claude Code skills and slash commands.
SkillDFreshness: DClaude Code +9 - 0.409score
godot-patterns
CuriousCrow123
Godot 4 architectural patterns for GDScript scene composition, resource management, and signal-based communication.
SkillDFreshness: DClaude Code +9 - 0.406score
document-review
CuriousCrow123
This skill should be used to refine brainstorm or plan documents before proceeding to the next workflow step.
SkillDFreshness: DClaude Code +9 - 0.402score
godot-setup
CuriousCrow123
Detect Godot project configuration (project.godot, GUT, gdtoolkit) and write compound-engineering.local.md with Godot review agents.
SkillDFreshness: DClaude Code +9 - 0.400score
gdscript-lint
CuriousCrow123
Run GDScript formatting and lint checks using gdtoolkit (gdformat + gdlint).
SkillDFreshness: DClaude Code +9
Cite this page
orchestrating-swarms skill. Agent Mart. https://agentmart.dev/skills/curiouscrow123-orchestrating-swarms (last updated 2026-10-24)