.agents/skills/orchestrator/SKILL.md
Use this skill when the user wants the current thread to act as a chief-of-staff thread: route work, keep context, check child threads, and avoid doing implementation locally.
$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, known branch keys,
and blockers.Do not add a manual routing command. In orchestrator mode, routing is automatic.
When orchestrator mode is on:
A per-branch task is any work that is expected to create, modify, review, or continue a code branch, PR, or branch-scoped implementation plan.
Examples:
Not per-branch by default:
<BRANCH-OR-TICKET> <short task title>
| Branch / key | Child thread | Status | Last update | Next |
| --- | --- | --- | --- | --- |
Use durable Codex thread tools only. Search for them first by exact namespace-qualified name:
codex_app.create_threadcodex_app.list_threadscodex_app.read_threadcodex_app.send_message_to_threadcodex_app.set_thread_titlecodex_app.set_thread_pinnedcodex_app.set_thread_archivedIf these tools are not available, stop and report that durable Codex thread
routing is unavailable in the current runtime. Do not use spawn_agent,
temporary sub-agents, or parallel workers as a fallback for orchestrator child
threads. They are not reusable threads and they break the point of this skill.
When creating or reusing a child thread, send a compact prompt:
You are the child execution thread for `<branch-or-ticket>`.
Run: <exact user skill/request>
Context from orchestrator:
- <source links, external notes, blockers, branch/PR if known>
Rules:
- Do not create a worktree.
- Reuse this thread for future work on this branch.
- If code changes, follow repo branch/PR rules.
- Report branch, PR, tests, browser proof, blockers, and next owner.
On heartbeat or $orchestrator status:
$orchestrator off, execute in the
current thread after mode is off.