delegation-coordinator
Skill1 starsChanged 43 days agoMITView on GitHub
Coordinates task delegation across Gemini, Codex, Claude, and subagents using the portable subagent contract.
In this repository48 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agents.mdcCursor rule
- code-reviewerSkill
- debug-issueSkill
- docs-memory-maintainerSkill
- handoffSkill
- human-voice-draftingSkill
- implement-taskSkill
- karpathy-engineerSkill
- local-media-transcriptionSkill
- plan-taskSkill
- pre-edit-checkSkill
- project-plannerSkill
- project-upgraderSkill
- refactor-safelySkill
- self-evaluateSkill
- sharepoint-teams-video-transcript-downloaderSkill
- spec-driven-developmentSkill
- storm-researchSkill
- test-strategistSkill
- update-memory-bankSkill
- upgrade-projectSkill
- usage-pacingSkill
- code-reviewerSkill
- debug-issueSkill
- delegation-coordinatorSkill
- docs-memory-maintainerSkill
- handoffSkill
- human-voice-draftingSkill
- implement-taskSkill
- karpathy-engineerSkill
- local-media-transcriptionSkill
- plan-taskSkill
- pre-edit-checkSkill
- project-plannerSkill
- project-upgraderSkill
- refactor-safelySkill
- self-evaluateSkill
- sharepoint-teams-video-transcript-downloaderSkill
- spec-driven-developmentSkill
- storm-researchSkill
- test-strategistSkill
- update-memory-bankSkill
- upgrade-projectSkill
- usage-pacingSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 13
Keep one lead and one worker by default, at most two open tasks unless the plan explicitly increases that limit.
- Very specific: line 20
Run parent verification checks and diff the worktree against owned_paths before marking delegated tasks completed.
- Distinctive: line 24
Single Writer Rule: Ensure no two concurrent subagents own the same target file path for editing.
- Very specific: line 27
Deterministic Verification: Verify subagent results with explicit build, test, or lint commands before accepting the result.
- Very specific: line 28
Memory Bank Serialization: Only the parent writes memory-bank/*.
- Very specific: line 31
Conflict Handling: If a worker returns status: blocked or fails verification twice, halt and escalate to parent/Codex review.
≈ “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
Delegation Coordinator
Coordinates task breakdown, path ownership, worker dispatch, and evidence-grounded result validation across multi-agent sessions.
Quick Start
- Apply the completion-first admission rules in
docs/subagent-contract.md. Keep one lead and one worker by default, at most two open tasks unless the plan explicitly increases that limit. Stop dispatch while review or blocked work is pending; workers do not spawn workers. - Define worker tasks using the JSON task envelope validated by
schemas/subagent-task.schema.json(rules indocs/subagent-contract.md). - Assign disjoint
owned_pathsto each worker to prevent write collisions; list hard exclusions inforbidden_paths. - Dispatch the envelope only — never forward the parent transcript, other tasks, or secret-bearing history.
- Require workers to return the result envelope validated by
schemas/subagent-result.schema.json, capped bymax_output_tokens. - Run parent verification checks and diff the worktree against
owned_pathsbefore marking delegated tasks completed.
Delegation Rules
- Single Writer Rule: Ensure no two concurrent subagents own the same target file path for editing.
- Read-Only Workers: Set
read_only: truefor audit, critic, or research workers. - Envelope-Only Context: Workers receive only their JSON task envelope; mask secrets before dispatch.
- Deterministic Verification: Verify subagent results with explicit build, test, or lint commands before accepting the result; reject every write outside
owned_pathsor withinforbidden_paths, including reported writes. Compare content hashes for already-dirty files, not just status. - Memory Bank Serialization: Only the parent writes
memory-bank/*; merge worker-reported facts once. - Completion Before Expansion: Dependencies release only after parent acceptance. Reserve time and every binding quota for implementation, parent checks and integration. With pacing, use a fresh completion board and dispatch only
dispatch_task_ids; quota headroom alone never permits launch. - Directed Coordination: Workers send bounded progress, blockers and result references to the lead. The lead routes changed contracts and cancellation requests; no peer may change another worker's scope. A silent worker retains ownership until native execution is confirmed stopped.
- Conflict Handling: If a worker returns
status: blockedor fails verification twice, halt and escalate to parent/Codex review.
Validate paired results with scripts/validate-schemas.py --schema schemas/subagent-result.schema.json --instance result.json --task task.json --root .. Read-only tasks use owned_paths: []. Serialized-byte limits are independent of token telemetry; declarations do not create a sandbox or lease system.
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.

