team-coordination
Skill99 starsChanged 5 months agoMITView on GitHub
Inspired by the Disp8chTeam multi-agent coordination framework — enables you to organize AI agents into collaborative crews with workspace isolation, P2P messaging, and dependency-aware task management. Agents can send and receive structured messages to coordinate work without polling or shared state. Actions: - send — deliver a message to another agent - receive — pop the oldest unread message from your inbox - peek — read without consuming - list — show unread counts for all inboxes - broadcast —…
3 other projects use a version of this.
Adopted by
Most recently taken up by
- bybren-llc/safe-agentic-workflowtheir own version, first seen Jul 20, 2026
- adyba/pi-safe-workflowtheir own version, first seen Jul 10, 2026
- alinaqi/maggytheir own version, first seen Jun 12, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- alinaqi/maggy★ 707same name
- bybren-llc/safe-agentic-workflow★ 419same name
- adyba/pi-safe-workflow★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- autonomous-researcherSkill
- blogwatcherSkill
- board-opsSkill
- code-dispatchSkill
- council-facilitatorSkill
- crew-lifecycleSkill
- document-ingestion-operatorSkill
- document-intelligenceSkill
- experiment-loopSkill
- google-workspace-opsSkill
- incident-triageSkill
- nano-pdfSkill
- notionSkill
- obsidianSkill
- ops-governanceSkill
- proactive-memorySkill
- release-managerSkill
- summarizeSkill
- team-plan-reviewSkill
- weatherSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 56
When to use: When 3+ agents are working on different files in the same repo simultaneously.
- Very specific: line 75
Auto-unblock: When a task moves to done, any tasks that listed it in blockedBy are automatically checked — if all their blockers are done, …
- Very specific: line 122
Worktrees for parallel writes: Always use worktree=true when multiple agents write to the same repo
- Distinctive: line 123
Inbox for async coordination: Prefer agent_inbox over polling files — it's designed for P2P
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Team Coordination Skill (Disp8chTeam-style)
Inspired by the Disp8chTeam multi-agent coordination framework — enables you to organize AI agents into collaborative crews with workspace isolation, P2P messaging, and dependency-aware task management.
Core Capabilities
1. Agent Inbox — Point-to-Point Messaging
Agents can send and receive structured messages to coordinate work without polling or shared state.
Actions:
send— deliver a message to another agentreceive— pop the oldest unread message from your inboxpeek— read without consuminglist— show unread counts for all inboxesbroadcast— send the same message to all known agents
Example: Orchestrator sends task to analyst
agent_inbox(action="send", to="analyst-agent", from="orchestrator",
subject="Research task", content="Please analyze NVIDIA's technical moat. Write output to ./crew-output/cto.md")Example: Worker signals completion
agent_inbox(action="send", to="orchestrator", from="cto-agent",
subject="Done", content="CTO analysis complete. File: ./crew-output/cto.md")Example: Orchestrator collects results
agent_inbox(action="receive", recipient="orchestrator")Messages persist to data/inbox/<agentId>/ and survive server restarts.
2. Workspace Isolation (Git Worktrees)
Each spawned coding agent can run in its own isolated git worktree — a separate branch so parallel agents don't conflict on the same files.
Usage in sessions_spawn:
sessions_spawn(task="Implement OAuth2 module", agent="claude",
worktree=true, cleanup="delete")- Creates a branch:
disp8chteam/session/<uuid> - Agent runs in
/tmp/disp8ch-wt-<id>/ - On
cleanup=delete, worktree is removed automatically - Output appears in the worktree directory; merge back manually
When to use: When 3+ agents are working on different files in the same repo simultaneously. Prevents git conflicts.
3. Task Dependencies (blocked_by)
Board tasks can declare dependencies on other tasks. A task with blocked_by starts in blocked status and auto-transitions to inbox when all blockers complete.
Create a dependent task via API:
POST /api/boards/tasks
{
"boardId": "main-board",
"title": "CEO Executive Briefing",
"description": "Synthesize analyst reports into executive brief",
"blockedBy": ["task-id-cfo", "task-id-cto", "task-id-strategy"]
}Auto-unblock: When a task moves to done, any tasks that listed it in blockedBy are automatically checked — if all their blockers are done, they transition to inbox.
Status values: inbox | in_progress | review | done | blocked
4. Workflow Templates
Two Disp8chTeam-inspired workflow templates available:
ai-crew-orchestrator — Single orchestrator agent that uses sessions_spawn to spawn role-specific workers (CFO, CTO, Strategy, Product, CEO). Each worker writes to a shared output directory. Workers run in isolated worktrees. Orchestrator synthesizes the results. Best for complex multi-perspective analysis tasks.
parallel-spawn-crew — Visual node-based fan-out: parallel-agents node spawns 3 workers (Research Analyst, Risk Analyst, Strategy Consultant) simultaneously. An aggregate node collects results. A synthesis agent writes the executive brief. Best for structured 3-perspective analysis workflows.
Team Patterns
Pattern 1: Dispatch and Collect
1. Orchestrator: agent_inbox broadcast mission to all workers
2. Orchestrator: sessions_spawn each worker (worktree=true, mode=run)
3. Workers: write output files to shared directory
4. Workers: agent_inbox send "Done" to orchestrator
5. Orchestrator: agent_inbox receive all messages
6. Orchestrator: read_file each output, synthesizePattern 2: CEO-Last Synthesis
1. Spawn 4 specialists in parallel (CFO/CTO/Strategy/Product)
2. Each specialist writes ./crew-output/<role>.md
3. CEO agent reads all 4 files, writes executive-brief.md
4. Send brief to notification channelPattern 3: Dependency Chain
1. Create tasks with blockedBy for sequential dependencies
2. Task A (research) → unblocks Task B (analysis) → unblocks Task C (synthesis)
3. Each task auto-activates when predecessors completeBest Practices
- Worktrees for parallel writes: Always use
worktree=truewhen multiple agents write to the same repo - Inbox for async coordination: Prefer agent_inbox over polling files — it's designed for P2P
- cleanup=delete for one-shot workers: Prevents worktree accumulation
- Shared output directory: Workers write to a common dir; orchestrator reads from it — the "shared filing cabinet" pattern from the article
- Spawn depth guard: sessions_spawn enforces max depth = 1; spawned agents cannot re-spawn
- Discord threading: In Discord, use
thread=truewithmode=sessionto get a named thread per worker — teams can then communicate with individual workers directly
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

