orchestrator
Skill452 starsChanged 23 days agoApache-2.0View on GitHub
Turn the current Codex thread into a coordination thread that routes implementation work to durable reusable child threads in disposable worktrees with short-lived branches targeting main.
We split this skill into the rules it gives an agent
41 rules. 0 are common, 34 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 58 edited versions we read keep these.
34
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the user wants the current thread to act as a chief-of-staff thread: route work, keep context, supervise child threads, …
- Distinctive: line 31
Before code-changing work starts under an orchestrator claim:
- Distinctive: line 35
Create or reuse one child thread per checkout or workstream key.
- Very specific: line 44
If the child thread is attached to the root project but assigned to a manual sibling worktree, every apply_patch target must be absolute …
- Very specific: line 52
If durable thread tools are unavailable, record orchestrator blocked: durable thread tools unavailable and stop unless the user explicitly …
- Distinctive: line 57
Do not use hidden workers, temporary sub-agents, or non-sidebar delegation tools for orchestrator child execution, status, review, or PR …
- Distinctive: line 65
When orchestrator mode is on:
- Distinctive: line 67
Do not implement product code in the parent thread.
- Distinctive: line 70
Keep the parent for intake, triage, routing, status, summaries, context forwarding, conflict arbitration, push serialization, merge …
- Distinctive: line 73
Keep the root checkout for coordination and repo-owned planning or agent guidance unless the repo explicitly assigns another parent-only …
- Distinctive: line 75
If implementation or PR work is already on the root checkout, stop before review, push, or PR.
- Distinctive: line 86
After merge and tracker or handoff closure, delete the disposable worktree, archive the finished child thread, and release its slot unless …
- Distinctive: line 89
If mode state is unclear for implementation work, find or create the child thread before executing.
- Very specific: line 105
Follow-ups such as continue, fix CI, push, commit, that slot, or that checkout when they refer to code-changing work.
- Distinctive: line 108
Not implementation work by default:
- Distinctive: line 111
Read-only status summaries or reviews.
- Very specific: line 139
Before opening or updating a PR, fetch origin main when it exists, integrate origin/main using the repo's required strategy, rerun required …
- Distinctive: line 145
If integration conflicts are non-trivial, the child reports them to the parent instead of widening scope.
- Distinctive: line 149
After merge and release, return main to the root checkout.
- Distinctive: line 151
Never hide active run deliverables in a stash just to switch the root checkout.
- Distinctive: line 158
Use a per-slot database or data fixture for schema work, migrations, seeds, destructive cleanup, broad mutation tests, or overlapping …
- Distinctive: line 160
If shared-data conflict risk appears mid-run, pause the packet and ask the parent to serialize it or move it to isolated data.
- Very specific: line 176
Use unique short-lived branches such as codex/<surface>-<YYYYMMDD-HHMMSS> unless the user or repo names another branch.
- Very specific: line 179
Before install or runtime work in a fresh worktree, copy required ignored environment files according to repo instructions.
- Distinctive: line 186
Delete disposable worktrees after merge or abandonment.
- Distinctive: line 226
Use durable Codex thread tools only.
- Distinctive: line 242
Before creating a child, resolve the saved Codex project whose local path exactly matches the root checkout.
- Distinctive: line 251
If durable thread tools are unavailable, stop.
- Distinctive: line 289
Read known child status when tools allow it.
- Distinctive: line 290
Ask stale child threads for a short update.
- Distinctive: line 297
Keep status short; never dump child transcripts.
- Distinctive: line 301
Never mutate the same work in both parent and child.
- Distinctive: line 302
Never start implementation without a durable child thread id in parent status when thread tools exist.
- Distinctive: line 304
Never treat a hidden worker or sub-agent id as an orchestrator child thread.
- Distinctive: line 305
Never let two code-changing children mutate the same checkout concurrently.
- Distinctive: line 306
Never fan out without an independence check, slot table, data strategy, runtime ownership, and parent-owned merge plan.
- Distinctive: line 308
Do not impose an arbitrary lane cap.
- Distinctive: line 311
Keep one-line local questions in the parent.
- Very specific: line 312
If the user says do it here, local, or $orchestrator off, turn mode off before executing locally.
- Distinctive: line 319
Every implementation lane has a visible durable child thread and assigned disposable worktree before mutation.
- Distinctive: line 321
Follow-ups reuse the same checkout or workstream thread.
“Common” is measured: kept by at least 6 in 10 of the 58 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
Orchestrator
Use this skill when the user wants the current thread to act as a chief-of-staff thread: route work, keep context, supervise child threads, arbitrate conflicts, and avoid doing implementation locally.
Commands
$orchestrator on: activate orchestration-only mode for this thread.$orchestrator off: return this thread to normal local execution.$orchestrator status: report mode, active child threads, checkout slots, branches, ports, data strategies, blockers, and push state.
Routing is automatic while orchestrator mode is on. Do not invent a manual routing command.
Mode And Claim Discipline
Worktrees alone are not orchestrator mode.
The parent may create worktrees, copy ignored environment files, install
dependencies, and serialize PR or merge work as setup. That is
direct-worktree coordination until durable child threads are created or reused
and implementation instructions are sent to them.
Before code-changing work starts under an orchestrator claim:
- Record
orchestrator mode: onin the active plan or status. - Find the durable Codex thread tools.
- Create or reuse one child thread per checkout or workstream key.
- Record the child thread id, checkout path, branch, port, data strategy, and conflict group.
- Send implementation instructions before the child mutates code.
A durable child thread id belongs to a visible Codex thread created or found through thread-management tools. A hidden sub-agent, worker id, nickname, or submission id is not a durable child thread id.
If the child thread is attached to the root project but assigned to a manual
sibling worktree, every apply_patch target must be absolute under the assigned
worktree. Bare relative patches may hit the root checkout. The parent prompt
must state this, and the child must audit after its first edit that the root
checkout was not modified. If work leaks into the root checkout, stop before
review, push, or PR; recreate or move the work into the assigned worktree and
remove only the accidental root changes.
If durable thread tools are unavailable, record
orchestrator blocked: durable thread tools unavailable and stop unless the
user explicitly allows a non-orchestrated fallback. Never execute locally and
still call the run orchestrated.
Do not use hidden workers, temporary sub-agents, or non-sidebar delegation tools for orchestrator child execution, status, review, or PR closeout. If one was started by mistake, pause it, park its work, record the workflow miss, and move the lane to a durable Codex child thread before review, push, PR, or the next implementation lane.
Core Contract
When orchestrator mode is on:
- Do not implement product code in the parent thread.
- Route code-changing work to durable child threads automatically.
- Reuse the same child thread for the same checkout slot or workstream.
- Keep the parent for intake, triage, routing, status, summaries, context forwarding, conflict arbitration, push serialization, merge coordination, and closeout.
- Keep the root checkout for coordination and repo-owned planning or agent guidance unless the repo explicitly assigns another parent-only surface.
- If implementation or PR work is already on the root checkout, stop before
review, push, or PR. Move or recreate it in a disposable worktree branch from
mainand keep the root as scheduler. - For every implementation or PR branch, create or reuse a durable child thread
first, then assign a disposable worktree with a short-lived branch from
main, even when work is serial. - Fan out independently runnable packets across separate worktrees. Expected merge conflicts are not enough to serialize; record a conflict group and resolve conflicts when they become real.
- Open ready PRs back to
mainafter repo-required checks and relevant proof pass. Merge when repository policy and the hosting service allow it. - After merge and tracker or handoff closure, delete the disposable worktree, archive the finished child thread, and release its slot unless a recorded blocker still owns it.
- If mode state is unclear for implementation work, find or create the child thread before executing.
Implementation Work
Implementation work is any task expected to create, modify, review, or continue product code, tests, migrations, issue-linked docs, a runtime plan, a branch, or a PR.
Examples:
- Ticket or issue execution.
- API or data migration work.
- PR feedback resolution.
- Code-changing bugs, features, refactors, or upgrades.
- Goal-backed work that touches files or checkout state.
- Follow-ups such as
continue,fix CI,push,commit,that slot, orthat checkoutwhen they refer to code-changing work.
Not implementation work by default:
- One-off answers.
- Read-only status summaries or reviews.
- Cross-thread triage.
- External context intake.
- Parent-owned plans or agent guidance that repo instructions keep on
main. - Asking which child owns a checkout when the mapping is missing.
Workspace Modes
Choose the lightest honest mode:
parent-root: coordination, non-mutating triage, merge arbitration, and parent-owned planning or agent guidance. It is not an implementation or PR review checkout.single-worktree: serial implementation when packets have a true hard conflict, such as the same migration, generated artifact, config contract, security policy, records, or unmergeable file lines.same-checkout: non-mutating child coordination only. Never let two child threads mutate the same checkout concurrently.worktree: every implementation packet and PR branch. Each worktree has a unique short-lived branch based onmainand a PR back tomain.
Nearby components, the same product area, or a few expected merge conflicts are not hard conflicts.
main Policy
mainis the default integration branch and PR target.- Base every child branch on current
main. - Before opening or updating a PR, fetch
origin mainwhen it exists, integrateorigin/mainusing the repo's required strategy, rerun required checks and proof, then push the short-lived branch. - PRs are ready unless the user or repo instructions require draft state.
- Merge into
mainwhen checks pass and repository policy allows it. - Never force push.
- If integration conflicts are non-trivial, the child reports them to the parent instead of widening scope.
- The parent serializes push, PR, merge, and cleanup when concurrent lanes could race.
- After merge and release, return
mainto the root checkout. Do not leave a disposable scheduler worktree as the long-lived owner ofmain. - Never hide active run deliverables in a stash just to switch the root checkout. Park them on an explicit branch or report the blocker.
Data And Runtime Policy
- Shared local data is acceptable for read-only work or clearly disjoint writes.
- Use a per-slot database or data fixture for schema work, migrations, seeds, destructive cleanup, broad mutation tests, or overlapping record writes.
- If shared-data conflict risk appears mid-run, pause the packet and ask the parent to serialize it or move it to isolated data.
- Runtime ownership must be explicit. A parent-owned runtime cannot be killed or reused by a child without reassignment.
- Each runtime-owning child gets a unique port and explicit stop condition.
Slot Conventions
- Derive the root checkout name and path at runtime.
- Name sibling worktrees with numeric suffixes such as
<repo>-1,<repo>-2, and<repo>-Nunless repo instructions define another convention. - Reclaim stale merged or abandoned slots before allocation.
- Allocate the lowest reusable suffix first. A lower slot is unavailable only while active work, an unmerged branch or PR, a runtime, a review, or cleanup risk still owns it.
- Record why any lower slot was skipped.
- Use unique short-lived branches such as
codex/<surface>-<YYYYMMDD-HHMMSS>unless the user or repo names another branch. - Before install or runtime work in a fresh worktree, copy required ignored
environment files according to repo instructions. Explicitly exclude
.gitand dependency directories. Never print secret values. - Immediately after copying environment files, run
git rev-parse --show-toplevelin the target and verify it resolves to the assigned worktree before install, dispatch, or mutation. - Serialize first-time installs when generated links or caches can collide.
- Delete disposable worktrees after merge or abandonment. A warm slot needs a recorded owner, expiry, and next proof.
- Archive finished child threads after merge, handoff, and proof closeout. Keep active, blocked, or decision-owning threads visible with an owner and next poll.
Routing Rules
- Classify the request.
- Handle non-implementation work in the parent.
- For implementation work, find durable thread tools before any mutation. No durable child thread id means no implementation start.
- Resolve the checkout or workstream key from the assigned slot, branch, PR, tracker issue, existing thread title, or task name.
- Find an existing child thread for that key.
- Reuse it when found.
- Otherwise create a child thread titled:
<CHECKOUT-OR-WORKSTREAM> <short task title>- Send the exact request, source context, acceptance criteria, non-goals,
assigned worktree,
mainbase and PR target, port, data strategy, runtime owner, conflict group, proof expectations, and push or tracker expectations. - Tell the child to follow the repo's implementation and review skills and to report checkout, branch, PR, tests, runtime proof, blockers, conflict risk, and next owner.
- Record the cleanup rule: after merge, required deployed or runtime proof, and handoff closure, remove the worktree, archive the child thread, and release the slot.
- Record the mapping:
| Checkout / workstream | Child thread | Mode | Path | Branch | Port | Data | Conflict group | Status | Last update | Next |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |Thread Tool Boundary
Use durable Codex thread tools only. Search for them by exact namespace-qualified name:
codex_app.list_projectscodex_app.create_threadcodex_app.list_threadscodex_app.read_threadcodex_app.send_message_to_threadcodex_app.set_thread_archived
Core routing needs project lookup, thread creation, thread listing, thread
reading, and message sending. Finished-child cleanup needs thread archiving. If
archiving is unavailable, record child archive blocked: tool unavailable and
keep the slot unavailable until closeout evidence is copied and the parent
explicitly accepts the stale visible thread.
Before creating a child, resolve the saved Codex project whose local path
exactly matches the root checkout. Do not use a parent directory, sibling
checkout, or nearest-prefix match. If the exact project is unavailable, report
orchestrator blocked: exact saved project unavailable.
Preserve the configured model and reasoning effort unless the user or repo instructions explicitly require overrides. Record any override and its rationale in the parent plan and child prompt.
If durable thread tools are unavailable, stop. Do not substitute hidden sub-agents, parallel workers, or temporary agents; their ids do not satisfy the durable child-thread gate.
Child Prompt Shape
Send a compact prompt when creating or reusing a child:
You are the child execution thread for `<checkout-or-workstream>`.
Run: <exact user request or skill>
Context from orchestrator:
- Sources, decisions, blockers, branch and push state.
- Workspace mode and absolute checkout path.
- Branch based on `main`; PR target `main`.
- Port, data strategy, runtime owner, and conflict group.
- Acceptance criteria, non-goals, required proof, review, push, and tracker expectations.
Rules:
- Follow the repo's AGENTS instructions and implementation skill.
- Use only the assigned checkout.
- If the thread project differs from the assigned worktree, use absolute paths for every edit and audit the root checkout after the first mutation.
- Verify required ignored environment files without printing values. When copying them, exclude `.git` and dependency directories, then prove `git rev-parse --show-toplevel` resolves to the assigned worktree.
- Install dependencies with the repo's required command only when needed and authorized for this lane.
- Respect the assigned runtime owner, port, and data strategy.
- Keep review and PR work inside this child/worktree lane.
- Report conflicts instead of widening scope.
- Reuse this thread for future work on this checkout/workstream.
- Before push, integrate current `origin/main`, rerun required proof, and never force push.
- Report checkout, branch, PR URL/state, data strategy, push state, tests, runtime proof, blockers, and next owner.Status Check
On heartbeat or $orchestrator status:
- Read known child status when tools allow it.
- Ask stale child threads for a short update.
- Forward new context to the owning child.
- Surface only actionable blockers, push-ready work, review-ready work, and conflict decisions.
- While children run checks, reviews, deployments, or merge waits, supervise active lanes or start the next independently runnable packet.
- Archive children whose merge, proof, and handoff are complete.
- Keep status short; never dump child transcripts.
Safety
- Never mutate the same work in both parent and child.
- Never start implementation without a durable child thread id in parent status when thread tools exist.
- Never treat a hidden worker or sub-agent id as an orchestrator child thread.
- Never let two code-changing children mutate the same checkout concurrently.
- Never fan out without an independence check, slot table, data strategy, runtime ownership, and parent-owned merge plan.
- Do not impose an arbitrary lane cap. Start every independently runnable lane that has a safe slot, data strategy, runtime owner, and durable child thread.
- Never force push.
- Keep one-line local questions in the parent.
- If the user says
do it here,local, or$orchestrator off, turn mode off before executing locally.
Success Criteria
- Mode can be turned on, off, and reported.
- Implementation work routes automatically.
- Every implementation lane has a visible durable child thread and assigned disposable worktree before mutation.
- Follow-ups reuse the same checkout or workstream thread.
- Missing durable tools produce a clear blocker, not a hidden-worker fallback.
- Independently runnable packets can fan out without an arbitrary slot cap.
- Feature branches and PRs target
main. - Runtime and data ownership prevent cross-lane collisions.
- Pushes and merges are coordinated, checked, and never forced.
- Merged or abandoned worktrees are reclaimed promptly.
- Finished child threads are archived after closeout.
- Final handoff leaves the root checkout on
mainor reports the exact blocker. - The orchestrator remains a coordination thread, not an implementation thread.
Other versions74 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 74
- nubjs/nub★ 4.4ksame name
- wp-media/wp-rocket★ 767same name
- SirAllap/agentglass★ 345same name
- nwiizo/claudelytics★ 88same name
- nahisaho/MUSUBI★ 74same name
- olivieropinotti/orchestrator-skill★ 70same name
- sanky369/vibe-building-skills★ 30same name
- felvieira/claude-skills-fv★ 27same name
- robertbstillwell/marketing-skills★ 26same name
- kcns008/cluster-agent-swarm-skills★ 25same name
64 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.
Used alongsideProjects with it also use worker, planner and 10 more.
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.
stotihvSkillworker
Execute beads autonomously within a track. Handles bead-to-bead context persistence via Agent Mail, uses preferred tools from AGENTS.md, and reports progress to orchestrator.
Also in 3 projects that use this
am-willSkillplanner
Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.
Also in 4 projects that use this
MicrosoftSkillreviewer
ASP.NET Core ハンドブックの記事をレビューする。Use when: 記事をレビューする、ドキュメントを校正する、コードレビューする、PRをレビューする。技術ドキュメントのレビュー、品質チェック、校正。
Also in 3 projects that use this
AWSSkillplanning
Discovers user intent and generates a structured, step-by-step plan for model customization workflows. This skill must always be activated alongside any other skill when the user's request relates to model customization — including fine-tuning, training, building, customizing, reviewing data, or getting advice on approach, regardless of domain. Do not skip this skill even if the immediate ask is narrow (e.g., reviewing data format or a single workflow step), because planning discovers the full scope of work needed. Also activate when the user wants to resume, continue, or modify an existing plan.
Also in 3 projects that use this
MicrosoftSkillplaywright-cli
Automate browser interactions, test web pages and work with Playwright tests.
Also in 4 projects that use this
nicodianskSkillbrainstorm
Use when the user asks to add, build or change a feature and hasn't said exactly how, including a one-line request such as "add JSON output to the list command". Sizes the request first - a clear quick fix gets done directly, and anything with open choices is explored with questions before any code.
Also in 3 projects that use this
- +1 more from microsoft
In this repository54 other files it gives its agents.
- .agents/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- .agents/skills/autoreview/AGENTS.mdAGENTS.md
- .agents/skills/autoreview/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- 4-ultraciteSkill
- agent-browser-issueSkill
- agent-native-reviewerSkill
- architecture-cleanupSkill
- autoclosureSkill
- autogoalSkill
- autoreviewSkill
- autoSkill
- avoid-feature-creepSkill
- better-auth-best-practicesSkill
- changeset-doc-syncSkill
- changeset-resolveSkill
- changesetSkill
- component-colocationSkill
- concave-paritySkill
- concaveSkill
- convex-release-auditSkill
- designSkill
- deslopSkill
- diagnosing-bugsSkill
- find-skillsSkill
- grill-with-visionSkill
- hard-cutSkill
- jotai-xSkill
- kitcnSkill
- linear-backlogSkill
- major-taskSkill
- next-dev-loopSkill
- nextjsSkill
- package-release-auditSkill
- prototypeSkill
- react-querySkill
- research-wikiSkill
- resolve-pr-feedbackSkill
- resolving-merge-conflictsSkill
- scenariosSkill
- shadcn-paritySkill
- sync-convex-authSkill
- sync-visionSkill
- taskSkill
- tddSkill
- testingSkill
- toastSkill
- to-milestoneSkill
- to-prdSkill
- turborepoSkill
- video-transcriptsSkill
- visionSkill
- walkthroughSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
Reviews can't be read right now.
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.

