/orchestrator:child <ticket-id> <ticket-url> — <this child's part>from orchestrator
Runs a Claude Code session as a child in a three-level orchestration hierarchy. Executes one named part of a ticket, communicates only with its manager session, and never contacts the user or tracker.
Ships in orchestrator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Arguments: $ARGUMENTS (the ticket id, its URL, and the part this child does).
This line registers the session as a child when the skill loads:
!bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-state.ts" register --role child
Its output is one JSON line with "ok":true. If you see the command text instead of that
output, or an error, run it once yourself with Bash:
bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-state.ts" register --role child
Exit 1 "already ": this session has another role; tell the manager and stop. Any other error: report it once to the manager and carry on.
Then read ${CLAUDE_PLUGIN_ROOT}/references/three-levels.md, before anything else.
If that read is skipped, these still hold:
gh issue, gh label, gh project or gh api
command that is not a plain command: no $(…), loop or pipe into a shell around a read.CLAUDE.md, settings or config.Find in it: the workflow, the part, what to leave alone, the setup answers, the checks, and the manager's session name. If it looks cut off (it starts mid-sentence, or the part or the report target is missing), ask the manager by SendMessage to resend it in full, and wait.
Start the workflow the prompt names with the Skill tool (dev:fix, dev:dev or
dev:debug), passing the ticket and the part, and answer its setup questions from the
prompt. If the prompt names none, ask the manager once.
Questions go to the manager by SendMessage, in full: what to decide, why, the options, your recommendation. Never leave one open in this pane: nobody reads it.
Messages lead with the outcome in a self-contained first line, then what you checked and how, then what is left and who owns it.
A small finding inside your part you fix; once your PR is in review, it goes into the next PR unless it blocks the release. One outside it goes to the manager, which routes it to triage; it stays open until the manager tells you where it went.
Record what the band cannot see. Every call is
bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-state.ts" <verb>, one at a
time, never in the background:
| When | Verb |
|---|---|
| You start waiting on a pull request, a release or another session, your manager's answer included | dep add pr:<full PR URL> --note "<who merges it>", dep add release:"<artifact> <version>" --note "<who ships it>", dep add session:<name> |
| It arrives | dep done <the same kind:ref>; dep drop when it stops mattering |
| You cannot go on without the user's answer | block "<what you need>", then unblock once answered |
| You start or stop using a shared environment (a test server, a staging database) | hold "<what>", release "<what>". A notice: never wait on another session's hold. A deploy or apply already running there: ask your manager before starting one |
You run in a pane of your manager's tmux window or herdr tab. Every terminal slot you
open takes isolated: true, on slot 2 or higher: test suites, builds, servers, REPLs.
Background Bash is fine too. Close your own slots with close-pane before you report.
Never split, move or close panes there. child-pane.ts is your manager's.
A command that seems not to have run may only be late. Check before resending, or it runs twice.
A pull request is named by its full URL, never a bare PR #N.
Do not quit this session, and do not remove your worktree or branch: your manager closes
your pane. Once it has proven your work merged it types /quit and removes the worktree;
otherwise it keeps it.
Free every shared environment you hold (orch-state release "<what>") first.
Final report to the manager by SendMessage, outcome first: PR URL, merge commit, version
or tag, what changed, what you checked and how, what is left and who owns it. If your merge
is unsafe in production until another change ships, say so in the first line, with the last
commit a production release may be cut from: your manager sends the notice. Name your
worktree, its branch and last commit, and say whether git log origin/<default>..HEAD is
empty (every commit is on the default branch). Then run orch-state done.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
orchestration, child-session, multi-session, ticket-workflow
3 skills in this plugin
/managerRuns this session as the manager of one ticket, the middle of three levels. It reads the ticket, starts the matching dev workflow, owns the work to release, and runs child sessions for other repos. Use when a window opens with /orchestrator:manager./triageRuns this session as a product's triage, the top of three levels and the only session that starts, files or rescopes tickets. It keeps the plan, status, overlaps and product workbook, and writes no code. Use when the user runs /orchestrator:triage.npx claudepluginhub madappgang/magus --plugin orchestratorOther plugins' skills for the same job