agent-orchestrator
Skill0 starsChanged 27 days agoMITView on GitHub
Orchestrate coding work when independent workstreams or separate exploration, verification, or review context materially help, or when the user asks to delegate or use subagents. File count alone does not warrant delegation.
12 other projects use a version of this.
Adopted by
Most recently taken up by
- nainishshafi/developer-productivity-skillstheir own version, first seen Nov 8, 2026
- qiangjiyi/jiyi-skillstheir own version, first seen Nov 8, 2026
- wulaosiji/skillstheir own version, first seen Nov 1, 2026
- mengxiangsama/codex-agent-orchestration-skilltheir own version, first seen Oct 11, 2026
- p10ns11y/skillstheir own version, first seen Oct 3, 2026
- Cor-Incorporated/claude-code-skillstheir own version, first seen Sep 3, 2026
Used with
Projects with it also use brainstorming.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillbrainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Also in 3 projects that use this
Other versions12 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 12
- wulaosiji/skills★ 28same name
- Cor-Incorporated/claude-code-skills★ 5same name
- qiangjiyi/jiyi-skills★ 3same name
- p10ns11y/skills★ 2same name
- Xwen0857/agent-orchestrator★ 2same name
- lschGSL/claude_code_template★ 1same name
- mengxiangsama/codex-agent-orchestration-skill★ 1same name
- mikeshoes/skills★ 1same name
- nainishshafi/developer-productivity-skills★ 1same name
- 2867203296/hermes-agent★ 0same name
2 more not listed
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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- classify-code-reviewSkill
- conventional-commitsSkill
- go-test-effectivenessSkill
- mstackSkill
- service-designSkill
- show-complexitySkill
- spec-plannerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 10 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 7 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Before substantive repository work, classify the task as root-only or delegated.
- Very specific: line 37
Call subagent with { agent, description, prompt } for a single child.
- Distinctive: line 40
Keep one writer per cwd/worktree.
- Very specific: line 42
If launch fails or subagent is unavailable, report it and follow Blockers and failures rather than silently taking over.
- Distinctive: line 66
Context: only the information needed to succeed
- Distinctive: line 91
Ask for concise conclusions, file and symbol references, commands run, and acceptance evidence—not entire files or raw logs when a summary …
- Distinctive: line 95
Before starting dependent work, the root compares each worker's result and relevant diff against its acceptance criteria.
- Very specific: line 101
Use async execution by default.
- Very specific: line 105
Do useful independent root work without duplicating assignments, then yield for native completion notifications.
- Distinctive: line 117
Use only roles that materially help.
- Distinctive: line 123
Use an independent reviewer when materially useful, especially for high-risk or non-obvious changes.
- Distinctive: line 139
Before claiming completion, confirm:
- Distinctive: line 141
every required agent was actually launched and has completed, explicitly failed, or been cancelled with its remaining scope resolved
- Distinctive: line 142
no required agent is still running
“Common” is measured: kept by at least 6 in 10 of the 7 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
Agent Orchestrator
The user's explicit instructions take precedence over this skill.
The root owns the goal, architecture, task decomposition, integration, verification, and final report. Subagents provide evidence and bounded execution; they do not own the overall direction.
Delegation gate
Before substantive repository work, classify the task as root-only or delegated. Keep small, localized work root-only when separate context would not materially help; simply locating or reading a file does not require delegation.
Delegate when any of these apply:
- there are two or more independent workstreams
- substantial repository exploration benefits from separate context
- implementation and verification benefit from separate context
- cross-component debugging or inspection has a bounded question that benefits from separate context
- external or version-specific facts need verification
- independent post-change review is materially useful
- the user explicitly asks for delegation, parallelism, agents, or subagents
For tightly coupled changes, keep the root as the active implementation writer and delegate independent review or verification after integration. Multiple files alone do not justify splitting implementation. Before assigning a worker, identify useful independent work for the parent; if none exists, keep implementation with the root or yield immediately until the dependency is ready.
Spawn policy
For delegated tasks, launch at least one real subagent with subagent before doing its assigned work. Describing delegation is not a substitute for launching an agent. Do not create agents solely to satisfy this rule for root-only tasks.
For each launch:
- Choose an available agent from the
subagenttool description matching the role below. - Prepare the role and bounded delegation contract as
prompt; do not assume the agent has the whole conversation. - Include the current worktree's absolute path in
prompt. - Call
subagentwith{ agent, description, prompt }for a single child; compose multi-step or parallel work as described below. - Retain the returned
sessionIDand output and inspect the result before integrating it or starting dependent work.
Keep one writer per cwd/worktree; isolate concurrent writers. Do not create or switch to additional worktrees unless isolation is necessary; explain that need first. Do not assign competing fixes unless the root explicitly requests alternative approaches.
If launch fails or subagent is unavailable, report it and follow Blockers and failures rather than silently taking over.
Role selection
Logical roles belong in prompt; choose actual agent names from the tool description rather than assuming the role names are installed.
| Logical role | Scope and constraints |
| explorer | Read-only mapping, tracing, and inspection. No file creation, edits, tests, or state-changing commands. |
| worker | Bounded implementation and fixes within assigned file ownership. |
| tester | Reproduction, validation, and test-gap analysis; add or edit tests only when authorized by the contract. |
| reviewer | Independent diff review for validated correctness, security, regression, project-rule, and maintainability findings. |
| researcher | Verify external facts and compatibility using available tools and authoritative sources; report access limitations. |
Give reviewers the diff or comparison baseline. They report findings only: no edits, builds, dependency installation, commits, or posted comments. Expect their Findings and Summary report; missing tests or speculative risks alone are not bugs.
Choose a suitable discovered agent for design advice beyond the reviewer's validated-diff scope. Agent-type instructions are not proof of enforced tool permissions.
Delegation contract
Give each agent a narrow task with:
- Objective: one concrete outcome
- Scope: exact files, module, subsystem, or question; use absolute paths
- Context: only the information needed to succeed
- Constraints: what must not change, including file ownership and read-only limits
- Deliverable: what to return or implement
- Acceptance criteria: how success will be checked
When a spec provides numbered deliverables, use them as the initial work breakdown. Each worker contract names the relevant deliverable IDs, owned paths, dependencies, and acceptance criteria. Preserve those references when splitting large deliverables into milestones or combining small deliverables that form one cohesive change; do not require one agent per deliverable. Keep a deliverable incomplete until all its assigned implementation and validation work is accepted.
Bound the amount of work, not just its directory. When an assignment combines several substantial behaviors with different verification needs, split it into coherent, independently checkable milestones. Identify shared interfaces and required helpers, generated consumers, and test infrastructure before assigning ownership. Give each dependency an owner; do not leave a worker to satisfy the goal through files it cannot change.
Example:
Role: explorer.
Objective: Identify where
POST /invoicesvalidates currency.Scope: Trace the invoice endpoint and its validation helpers and tests in
/worktrees/billing-api.Context: Unsupported currencies are reportedly accepted; the root needs the current validation path before choosing a fix.
Constraints: Read-only inspection. Do not edit files, run tests, or use state-changing commands.
Deliverable: Return the handler-to-validation call path, absolute file paths and symbol references, and relevant existing test cases.
Acceptance criteria: Cite source evidence for where unsupported currencies are rejected, or show the traced path if no rejection exists. Identify existing test coverage or explicitly report that none was found.
Ask for concise conclusions, file and symbol references, commands run, and acceptance evidence—not entire files or raw logs when a summary suffices. Worker handoffs should explicitly identify unmet criteria, deviations, out-of-scope dependencies, and checks not run, or state that none remain.
Handoff acceptance
Before starting dependent work, the root compares each worker's result and relevant diff against its acceptance criteria. A completed agent or green tests do not establish acceptance when the handoff describes a contract violation or workaround.
Resolve exceptions by correcting the implementation, assigning the missing dependency, or clarifying a materially different outcome with the user. Do not silently weaken the goal to fit file ownership. Keep the affected milestone incomplete until its criteria are met; unrelated work may proceed.
Execution and parallelism
Use async execution by default. For multi-step or parallel delegation, use subagent calls with background: true.
Launch separate subagent calls for independent tasks and wait for results before calling subagent for dependent steps. Never batch dependent tasks or writers with overlapping ownership. Inspect results before starting dependent implementation; schedule ready work by actual dependencies.
Do useful independent root work without duplicating assignments, then yield for native completion notifications. Do not sleep or poll. Use background: false only when the parent must block, not for final reviews or gates.
The subagent tool has no status or stop action; use completion notifications for state and pass sessionID with agent, description, and prompt to continue a completed child session. Cancellation is not success: inspect partial changes and resolve any remaining scope.
Shared-worktree validation
During concurrent implementation, workers run focused checks and limit formatting or other mutations to owned files. Report failures caused by a sibling's intermediate changes rather than repairing that scope or repeatedly rerunning the whole suite.
The root owns repository-wide formatting, generation, and final validation after writers finish. If dependent implementation needs generated output earlier, explicitly assign one generator owner and serialize generation with any writers whose files it can change. Repository task names do not imply scoped effects; check what a command modifies before running it concurrently.
Workflow
Use only roles that materially help; do not spawn every role mechanically. Serialize dependent stages:
- Gather evidence through exploration, reproduction, or research as needed. Verify external claims before relying on them.
- Root chooses the implementation direction and assigns bounded worker ownership.
- Apply the handoff acceptance check and integrate accepted implementation results.
- Have a tester independent of the implementation validate changed behavior, including the original reproduction path for bugs. For cross-component changes, assign targeted checks through the affected public boundaries—for example request/response handling, raw wire decoding, generated SDK entry points, or rendered UI behavior. Derive expectations from the requirement, not merely the implementation or its generated fixtures. Build success and helper tests alone do not prove end-to-end behavior; report untested paths explicitly.
- Use an independent reviewer when materially useful, especially for high-risk or non-obvious changes.
- Resolve findings and perform final verification before reporting completion.
Blockers and failures
Subagents should report back rather than expand scope when they encounter:
- architectural or security-sensitive decisions, breaking API/schema changes, or new dependencies
- unclear requirements or reasoning blockers requiring broader context
- unexpected changes outside their scope or conflicts with another worker's ownership
- acceptance criteria that require changes outside assigned ownership or cannot be met without a workaround that violates the contract
The root resolves conflicts and chooses whether to narrow, clarify, retry, or reassign work. Inspect and report failures; never claim failed delegation succeeded. For workflow, launch, runtime, or tooling infrastructure failures, stop and report the exact failure and run/worktree state, preserving any partial diff. Retry within the same protocol or obtain explicit owner approval before changing execution mode.
Completion check
Before claiming completion, confirm:
- every required agent was actually launched and has completed, explicitly failed, or been cancelled with its remaining scope resolved
- no required agent is still running
- delegated changes met their acceptance criteria, handoff exceptions and conflicting findings were resolved, and material review findings were addressed
- the final diff implements the request without unintended changes
- relevant syntax/type checks, targeted tests, integration checks, builds, and original bug reproductions were run or their omission explained
- unresolved risks and validation limitations are recorded
Report changes, verification, and limitations concisely. Provide task descriptions, agent IDs, types, and completion status only when requested. If reporting a model, use only what the tool call or returned metadata confirms.
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.

