orchestrator-contract
Rosetta MUST skill. MUST activate when you ARE an orchestrator — you are the top-level agent, you spawn subagents, you delegate work, you coordinate parallel or sequential execution. Defines delegation quality, subagent dispatch, routing, review, and ownership protocol.
Best use case
orchestrator-contract is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Rosetta MUST skill. MUST activate when you ARE an orchestrator — you are the top-level agent, you spawn subagents, you delegate work, you coordinate parallel or sequential execution. Defines delegation quality, subagent dispatch, routing, review, and ownership protocol.
Teams using orchestrator-contract should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/orchestrator-contract/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How orchestrator-contract Compares
| Feature / Agent | orchestrator-contract | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Rosetta MUST skill. MUST activate when you ARE an orchestrator — you are the top-level agent, you spawn subagents, you delegate work, you coordinate parallel or sequential execution. Defines delegation quality, subagent dispatch, routing, review, and ownership protocol.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
<orchestrator_contract> <process> Topology: 1. MUST delegate to subagents when platform supports them. Orchestrator makes decisions and orchestrates. 2. Orchestrator is the top-level agent; it spawns subagents; subagents cannot spawn subagents. Orchestrator is senior team lead and effective manager; Orchestrator is expert in meta-process engineering and it knows that `if anything could go wrong - it will go wrong` and prevents that before it even happens, it knows it cannot trust, it must make process to review and verify, but using subagents as his team. Orchestrator adopts and tunes management best practices to solve specific user request. 3. Subagents start with fresh context every run. User can not see orchestrator and subagent communication. Dispatch: 4. Subagent prompt MUST follow this template (include only what applies): """ You are [role/specialization]. [Lightweight|Full] subagent. Plan: [plan.json path or "ad-hoc"]. Phase: [phase id]. Task: [task id]. ## Tasks (SMART) - [task 1] - [task 2] ## Scope boundaries Target root folder: [path] DO: [what is in scope, explicit expected outputs and clear expectations] DO NOT: [what is explicitly out of scope, what not to touch — forbid out-of-scope work] ## Constraints - [constraint: e.g., case sensitivity, naming conventions, patterns to follow] ## Acceptance criteria - [done when: specific measurable condition] ## Failure conditions - [stop and report when: condition] ## Skills MUST USE SKILL [required skill]. RECOMMEND USE SKILL [recommended skill]. ## Original user request [original user request/intent verbatim — always provide throughout all steps] ## Context [specific task, full context, and references — subagents know nothing except shared bootstrap, prep steps, and this contract; provide everything needed] ## Output [output can be just response message or written to file (or both - based on the task and expected volume); unique output file path per subagent and format if output to file is needed; for large output define exact path and required file format/template; or expected report-back summary — include only what applies] ## Evidence [require that all claims, findings, and recommendations include proofs, references, and deep links with line ranges; include brief source quotes; explicitly distinguish verified facts from assumptions] [additional information, requirements, specifications, context, etc.] """ 5. Quality-gate before dispatch: clarify unclear task/context/constraints first. Never dispatch ambiguous instructions. 6. Lightweight = generic, built-in, small clear tasks (e.g., build/tests). Full = user-defined, specialized role, larger work. 7. Keep standard agent tools available to subagents as required. 8. Initialize required skills together with subagent usage. Routing: 9. Route independent work in parallel and dependent work sequentially. 10. Use TEMP folder for coordination and large input. 11. Define collision-safe strategy for parallel file writes. Quality: 12. Orchestrator is team manager; owns delegation quality end-to-end. 13. MUST spawn reviewer subagents to verify delegated work. Use different model if possible. 14. `Review` = static inspection (recommendations). `Validate` = running on real/sample tasks (catches real issues, expensive). 15. Adopt plan changes with proper ordering/analysis. If something comes up, adapt the plan. Extra work goes later, if logical and user agrees. 16. Keep orchestrator and subagent contexts below overload thresholds. 17. Prefer minimal state transitions between orchestration steps. 18. Subagent MUST STOP and EXPLAIN if cannot execute as requested or off-plan. 19. Subagent returns, at minimum: concise results, summary, side effects, anomalies, discoveries, contract changes, deviations, inconsistencies, and insights. 20. Subagents ask orchestrator, orchestrator asks user, orchestrator is explicit and provides full context to user. 21. Subagent scope is exactly what orchestrator defined — do not improvise beyond scope. </process> <pitfalls> - Dispatching with vague or incomplete context. - Not verifying subagent output before integrating. - Assuming subagent has context never given. </pitfalls> </orchestrator_contract>
Related Skills
subagent-contract
Rosetta MUST skill. MUST activate when you ARE a subagent — you were spawned by an orchestrator, you received a delegated task, you are executing within a subagent context. Defines your input contract, output contract, behavior boundaries, and escalation protocol.
operation-manager
Rosetta skill for reliable execution: plan creation, tracking, and execution coordination via local JSON files.
load-workflow
Rosetta MUST skill to select, load, and activate the best-matching workflow for the current request, inject its phases into the execution plan, and restore state when resuming.
load-context-instructions
Detect active execution mode and load Rosetta bootstrap instructions accordingly.
gitnexus-setup
Use when directly requested to install GitNexus.
gitnexus-cli
GitNexus CLI reference for npx commands — analyze, status, clean, wiki, list — with flags, effects, and when to run each.
testing
Rosetta testing skill for thorough, isolated, idempotent tests with 80% minimum coverage, external-only mocking, and scenario-driven testing. Use when writing or updating tests.
tech-specs
Rosetta skill for defining clear, testable tech specifications from requirements. Use when creating implementation-ready documentation that defines the target state architecture, contracts, and interfaces.
specflow-use
Connect Rosetta locally with Grid Dynamics SpecFlow MCP. Trigger only when the user mentions SpecFlow or SpecFlow workspaces and if SpecFlow MCP is already installed.
sensitive-data
Rosetta CRITICAL MUST skill. MUST activate when you suspect, there is a slight chance, encounter, read, process, or are about to output any sensitive or possibly sensitive data including PII, PCI, HIPAA, PHI, GDPR, SOC2, FedRAMP, secrets, API keys, passwords, credentials, tokens, certificates, or any data that could potentially be sensitive.
self-organization
Rosetta MUST skill for proactive planning, large-file restructuring (~500+ lines or 10K+ size), cleanup of stale information. MUST activate when conversation is long, or context reaches 65% / 100K tokens, or scope exceeds 2h / 15+ files / 350+ lines, or output size risks overloading the context.
self-learning
Rosetta MUST skill. MUST activate when execution fails, user is unhappy or upset, mistake is detected, result is unexpected, mismatch between expected and actual outcome occurs, or after two consecutive mismatches with user expectations.