agent-team-orchestration
Skill1 starsChanged 9 months agoMITView on GitHub
Use when a task has 3+ independent workstreams, cross-layer changes, or multi-angle research that would benefit from parallel sub-agents with coordinated quality gates
3 other projects use a version of this.
Adopted by
Most recently taken up by
- edisonzerolam/openclaw-skillstheir own version, first seen Jul 4, 2026
- vsriram11/wealthtrajectorytheir own version, first seen May 16, 2026
- GPTtang/skill-atlastheir own version, first seen Mar 22, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- vsriram11/wealthtrajectory★ 8same name
- GPTtang/skill-atlas★ 4same name
- edisonzerolam/openclaw-skills★ 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 repositoryOne other file it gives its agents.
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
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 57
If poor fit: explain why, suggest the better approach, and stop.
- Distinctive: line 77
Only override model when the task specifically benefits from it
- Distinctive: line 81
Before dispatching, present and wait for user confirmation:
- Very specific: line 106
/deslopruns at every gate: After the code reviewer finishes, the lead runs /deslop on all files modified since the last gate to catch … - Distinctive: line 108
After each major implementation milestone (e.g., "backend API complete", "frontend wired up")
- Distinctive: line 109
Before any merge, commit, or PR creation
- Distinctive: line 110
When switching from one workstream to another
- Distinctive: line 115
Create fix tasks and complete them before moving past the gate
- Very specific: line 141
Run final /deslop across all modified files
- Distinctive: line 148
Never dispatch two sub-agents to edit the same file — break ownership clearly
- Distinctive: line 150
If unsure whether a task needs parallel agents, it probably doesn't
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Agent Team Orchestration
Overview
Evaluate whether parallel sub-agents fit the task, design workstreams, execute with quality gates.
Core principle: Sub-agents add coordination overhead and token cost. Only use them when parallelism genuinely saves time over single-session work.
When to Use
digraph fitness {
"Task received" [shape=diamond];
"3+ independent workstreams?" [shape=diamond];
"Cross-layer changes?" [shape=diamond];
"Multi-angle research?" [shape=diamond];
"Use agent team" [shape=box];
"Single session is better" [shape=box];
"Task received" -> "3+ independent workstreams?";
"3+ independent workstreams?" -> "Use agent team" [label="yes"];
"3+ independent workstreams?" -> "Cross-layer changes?" [label="no"];
"Cross-layer changes?" -> "Use agent team" [label="yes"];
"Cross-layer changes?" -> "Multi-angle research?" [label="no"];
"Multi-angle research?" -> "Use agent team" [label="yes"];
"Multi-angle research?" -> "Single session is better" [label="no"];
}Good fit:
- 3+ independent workstreams that can run in parallel
- Cross-layer changes (frontend + backend + tests)
- Research/review tasks with multiple angles
- Debugging with competing hypotheses
- Large refactors where different modules can be owned by different agents
Poor fit — single session instead:
- Sequential tasks with many dependencies
- Changes to a single file or tightly coupled files
- Simple bug fixes or small features
- Coordination overhead exceeds the benefit
Step 1: Evaluate Fit
Make the decision explicit before proceeding:
TEAM ASSESSMENT: [Good fit / Marginal / Poor fit]
Reason: [1-2 sentences]If poor fit: explain why, suggest the better approach, and stop.
Step 2: Design Workstreams
Roles
| Role | When to Include |
| code-reviewer | Always. Reviews at every quality gate. Use a code-review-focused agent (e.g., a general-purpose agent with reviewer instructions, or a dedicated code-reviewer agent type if your setup includes one). |
| implementer | Writing new code or modifying existing code |
| researcher | Exploring codebase, investigating approaches, reading docs |
| tester | Writing tests, validating behavior |
| planner | Complex design decisions, system-wide implications |
For implementer/researcher/tester/planner, use the default general-purpose subagent type.
Model Selection
- fast: Mechanical tasks — file searches, pattern matching, formatting checks, simple validations
- inherit (default): Standard implementation, code review, testing, research
- Only override model when the task specifically benefits from it
Present the Plan
Before dispatching, present and wait for user confirmation:
PROPOSED WORKSTREAMS:
- Lead (me): Coordination, task management, synthesis
- code-reviewer: Reviews at quality gates
- [role]: [purpose]
TASK BREAKDOWN:
1. [task] -> assigned to [role]
2. [task] -> assigned to [role]
QUALITY GATES:
- Gate 1: After [milestone] -> code-reviewer + /deslop
- Gate 2: After [milestone] -> code-reviewer + /deslop
- Final: Before merge/completion -> full review + /deslopStep 3: Quality Gates
Quality gates are mandatory checkpoints where work pauses for review.
Gate Rules
- Code reviewer runs at every gate. Dispatch a code-review agent with all changes since last gate. It checks for bugs, style violations, CLAUDE.md compliance, and correctness.
/deslopruns at every gate. After the code reviewer finishes, the lead runs/deslopon all files modified since the last gate to catch AI-generated slop patterns.- Gate placement:
- After each major implementation milestone (e.g., "backend API complete", "frontend wired up")
- Before any merge, commit, or PR creation
- When switching from one workstream to another
- Minimum: one mid-point gate and one final gate
- Gate failures block progress.
- Critical/High issues must be fixed before proceeding
- Medium issues should be fixed unless the user explicitly defers them
- Create fix tasks and complete them before moving past the gate
Gate Flow
[Sub-agent completes milestone]
-> Lead pauses new dispatches
-> Dispatch code-reviewer with file list + diff context
-> Run /deslop on all files modified since last gate
-> If issues found: create fix tasks, complete them, re-dispatch reviewer
-> If clean: proceed to next phaseStep 4: Execute
- Create todos with all tasks, including quality gate tasks as explicit items
- Dispatch sub-agents — one call per role/task
- Pass ALL necessary context in the prompt (sub-agents are one-shot — they start fresh with no access to this conversation)
- Include: relevant file contents, git diff, requirements, constraints, expected output format
- Dispatch independent workstreams in a single message (parallel execution)
- Dispatch dependent workstreams sequentially after prior results
- Synthesize results — review each sub-agent's output before dispatching the next wave
- Enforce gates — dispatch code-reviewer at every gate checkpoint
Step 5: Wrap Up
- Run final
/deslopacross all modified files - Dispatch a final code-reviewer for holistic review of all changes
- Present summary: what was accomplished, deferred issues, next steps
Reminders
- Sub-agents have no access to this conversation — give them rich context in prompts
- Never dispatch two sub-agents to edit the same file — break ownership clearly
- Code-reviewer should NOT get implementation tasks — keep it independent
- If unsure whether a task needs parallel agents, it probably doesn't
- Pass file contents directly in prompts — don't rely on sub-agents finding files
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.

