role-orchestrator
Skill0 starsChanged 4 months agoMITView on GitHub
Use this skill when you are a primary agent coordinating subagents or multi-step work, and when deciding whether to delegate, how to split work, how to use TODO and store state, or how to verify delegated output. Provides delegation criteria, quality gates, and compaction recovery. Use pattern-orchestration-complex when the work also needs user approval between phases.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- tomwangowa/agent-skillstheir own version, first seen Oct 21, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- tomwangowa/agent-skills★ 2same 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 repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- mcpSkill
- pattern-orchestration-complexSkill
- pattern-task-breakdownSkill
- role-architectSkill
- role-code-reviewSkill
- role-data-engineerSkill
- role-developerSkill
- role-product-engineerSkill
- role-qa-engineerSkill
- role-security-auditorSkill
- role-site-reliability-engineerSkill
- role-technical-writerSkill
- standards-analysisSkill
- standards-api-designSkill
- standards-codeSkill
- standards-databaseSkill
- standards-documentationSkill
- standards-go-concurrencySkill
- standards-go-performanceSkill
- standards-goSkill
- standards-go-testingSkill
- standards-markdownSkill
- standards-observabilitySkill
- standards-pulumi-typescriptSkill
- standards-pythonSkill
- standards-securitySkill
- standards-shellSkill
- standards-skill-authoringSkill
- standards-testingSkill
- standards-typescriptSkill
- tool-storeSkill
- workflow-debuggingSkill
- workflow-pi-extensionSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
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 17
Never: run two read-write delegations at once, or assume a subagent inherited your skills and store context.
- Very specific: line 32
Escalate to
pattern-orchestration-complex: when two or more of these hold: 4+ files affected, more than 60 minutes, multiple sequential … - Distinctive: line 51
Read the Explorer delegation template and the standard delegation template for the exact call shapes.
- Distinctive: line 57
Every delegation states the skills to load, the requirements, and verifiable success criteria.
- Distinctive: line 67
After every delegated task, check:
- Distinctive: line 90
Read the compaction recovery template for the exact call shape.
- Very specific: line 98
Use TODO only for genuinely multi-step work.
- Very specific: line 100
Use storewrite and storepatch for durable plans, decisions, schemas, and context that must survive compaction.
- Very specific: line 102
Store items are never auto-loaded: When you see Load store: or [store:<id>], call storeread({ id: "<id>" }) before proceeding, and verify …
≈ “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
Provides: Delegation routing, agent selection, quality gates, escalation rules, and compaction recovery for orchestrating subagents.
Quick Reference
Delegate when work is independent, specialized, read-only discovery, or too large for one focused pass.
Do it directly when the task is small, local, or easier than writing a precise delegation prompt.
Quality rule: review every delegated result before acting on it.
Never: run two read-write delegations at once, or assume a subagent inherited your skills and store context.
Host tools: Before delegating in Pi, read the Pi tool mapping and use its native task and todo forms instead of the OpenCode-style examples in the templates. If store tools are unavailable, omit store calls and keep complete context in TODO descriptions or the conversation. Do not create substitute repository files.
Routing
| Work type | Approach |
| Read-only discovery | Delegate with a narrow question; ask for paths, line ranges, and concise findings |
| Planning | Load pattern-task-breakdown, or delegate planning with it attached |
| Implementation | Delegate one read-write task at a time; parallelize only read-only investigation |
| Review and verification | Delegate an independent pass when risk or breadth justifies it |
Escalate to pattern-orchestration-complex when two or more of these hold: 4+ files affected, more than 60 minutes, multiple sequential phases, cross-cutting or security-critical changes, unclear approach, or architectural decisions required.
Agent Selection
Match the work to the cheapest agent that can do it reliably:
| Agent | Use for |
| Explorer | Read-only discovery, locating files, functions, and patterns |
| Thinker | Deep analysis, planning, research, no writes |
| Fast | Simple edits, docs, tests; bounded and low-risk |
| Balanced | Standard implementation, refactors, non-trivial bugfixes |
| Deep | Complex or cross-cutting work, uncertain scope, security or performance critical |
| Deep-L | Deep work needing large context, such as analysis spanning many files |
Explorer constraints: Explorer is read-only with bash denied. Do not put shell commands or execution instructions in an Explorer prompt; it has only grep, glob, list, and read. Ask for a summary plus file paths and line ranges, never full file contents. If you need the content, read the identified ranges yourself afterwards.
Read the Explorer delegation template and the standard delegation template for the exact call shapes.
Delegation Contents
Every delegation states the skills to load, the requirements, and verifiable success criteria. Subagents do not inherit your loaded skills or store items, so name them explicitly.
Match skills to the task: role-developer and standards-code for implementation, standards-security or role-security-auditor for security-critical work, role-qa-engineer and standards-testing for tests, role-architect for structure, role-code-review for review, role-technical-writer for docs, pattern-task-breakdown for planning, standards-analysis for problem decomposition and trade-off analysis.
For context continuity across phases, extract session_id from the first result and pass it to later delegations. Read the multi-phase delegation shape.
Quality Gate
After every delegated task, check:
- Did it answer the exact question, or complete the exact requirement?
- Are file paths, commands, and assumptions concrete rather than plausible?
- Did it respect read and write boundaries and avoid forbidden actions?
- Are tests or verification results present where needed?
- Do the findings require user approval before implementation?
When a result fails: give targeted feedback once, escalate to a more capable agent once, then split the task or ask the user. Do not loop a third time on the same framing.
Compaction Recovery
Subagents can hit context compaction mid-task. Detect it from a compaction marker in the result, explicit statements about lost context, incomplete work despite a full response, or requirements silently dropped.
To recover:
- Reuse the original
session_idto keep the surviving context. - Force a store reload. Store items are not restored after compaction.
- Summarize progress rather than repeating the original prompt, so work is not duplicated.
- Limit to two automatic recovery attempts, then escalate to the user or split the task.
Read the compaction recovery template for the exact call shape.
The same applies to your own context. Call storeread() with no ID to list available items, then load only the relevant ones, which restores continuity without bloating context. Do this at the start of a session, after a compaction, when the user references past work or decisions, and before planning multi-session work.
TODO and Store Usage
Use TODO only for genuinely multi-step work. Mark items in_progress when starting and completed immediately on finishing, and keep completed items rather than deleting them.
Use storewrite and storepatch for durable plans, decisions, schemas, and context that must survive compaction. Do not store scratch notes.
Store items are never auto-loaded. When you see Load store: or [store:<id>], call storeread({ id: "<id>" }) before proceeding, and verify subagents did the same. Read the store and TODO call shapes for the exact code, and see pattern-task-breakdown for the canonical prompt_drafts shape.
For long plans, store plain task prompts and TODO descriptions rather than client-specific tool blocks, so any agent can execute them.
Checklist
Before finishing orchestration:
- Each delegation named its skills, requirements, and success criteria
- Every delegated output was reviewed, not accepted on faith
- Read-write delegations ran serially
- All TODO items are updated or intentionally left open
- Verification ran, or skipped checks are stated with reasons
- The user gets a concise final summary in chat, with no new summary files
Integration with Other Skills
With pattern-orchestration-complex: load it when two or more complexity indicators are present, and follow its workflow instead of direct delegation.
With pattern-task-breakdown: produce the plan that feeds TODOs and stored prompt_drafts. Skip it for one or two step tasks.
With tool-store: detailed store operations and durable decision records.
With role-code-review and role-qa-engineer: delegate the independent verification pass.
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.

