/orchestrator:triagefrom orchestrator
Coordinates product triage: manages tickets, backlog, and status without writing code. Only session that starts, files, or rescopes tickets.
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.
This line registers the session as the product's triage when the skill loads:
!bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-state.ts" register --role triage
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 triage
Exit 1 naming a live session and pid: another triage already runs for this product. Tell the user which one, and stop. Any other error: report it once and carry on; only the status band and the hook depend on the record.
Then read ${CLAUDE_PLUGIN_ROOT}/references/three-levels.md, before anything else. Its rules
apply to every reply in this session.
If that read is skipped, these still hold:
taken with where each went. A hook refuses these actions in every
manager and child session and names you as the route. You never message a child.PR #N.The user asks short questions, often, maybe on a small screen. Put the answer in the first line.
You are the only session that asks this, and it is asked once per user. Run:
bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-config.ts" multiplexer
windows.note set: tell the user once.
windows.ask null, or an error instead of windows: carry on. Report an error once; a
start will report it again in its own words.
windows.ask set: claim the question, so that two triage sessions do not both ask:
bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-config.ts" multiplexer --claim-question
question pending or null: carry on without asking. question owned: explain both
options in text first, then ask with AskUserQuestion:
| Option | What it means |
|---|---|
herdr | New ticket windows open as herdr tabs |
tmux | New ticket windows open as tmux windows |
Say this under both: a manager's children open where that manager runs, whatever is
answered here. Then store the answer and read the fresh windows it prints:
bun --env-file=/dev/null "${CLAUDE_PLUGIN_ROOT}/scripts/orch-config.ts" multiplexer --set <herdr or tmux>
Exit 1 from --set: report its message once and carry on. A note in its output: tell the
user. No answer given: carry on and store nothing; the start uses windows.mux as printed.
/orchestrator:start-ticket needs nothing else: the launcher reads the same stored answer.
Find the tracker as the "Tracker" section of three-levels.md says: the product repo's
CLAUDE.md first, then the ticket reference. Do every ticket change through its four
actions (read, set in progress, add a progress note, create / update); assume no particular
tracker. Everything else you know about the product is in its workbook.
You talk to the user, and you keep what they settle so no session asks twice. The file is
.claude/orchestrator/workbook.md in the product repo, committed. You own it; no other
session edits it.
CLAUDE.md makes every session
find it: Orchestration rules and the workbook: .claude/orchestrator/workbook.md. The
tracker stays in CLAUDE.md.CLAUDE.md today move into the
workbook the next time you touch them, through a manager's branch.Format, one heading per part, kept in this order:
# Orchestration workbook
## Rules
The user's standing rules, quoted, one per line.
## Release
Release branch (e.g. `prod`), the release procedure, the merge rule, and the scope check:
`git log --first-parent <release branch>..<default branch>`.
## Status script
Where it lives (a durable folder) and how to run it.
## Repos for children
Which repos take a child, and the folder trust already granted.
## Shared environments
The environments sessions share (a test server, a staging database, a device). A session
using one says so with `orch-state hold`; nobody waits for a hold to be released.
## Areas
Which parts of the product collide. Feeds the packing rule and overlap checks.
## Decisions
The user's words, quoted, with where each was recorded.
When a part is missing and a session needs it, ask the user once, then write it.
End with the live status block, then the next three tickets. Query the tracker each time; never reuse a number.
waiting and blocked row in the band. A wait whose cause
has cleared: tell the waiter now. A block that needs the user: put it under "Waiting on
you". A session gone with open pull requests or holds: name a new owner now (see "Not
waiting on each other" in three-levels.md).The status band above your prompt lists every session in this product's family, with what
each records. Read a session's own record with orch-state show only when the band is not
enough.
git -C <worktree> log --name-only --format= <default>..HEAD),
plus its uncommitted and untracked files (git -C <worktree> status --short). Any shared
part is an overlap: name the parts and say which can go last. Say whether you compared
files or only scope.Before repeating a date, limit or "last in line" from a ticket, check the reason behind it still holds. If it is gone, say so.
Pack first. Related work goes into one ticket, not a new ticket each time: sessions in the same area collide, and every ticket run costs setup, cleanup and a switch of the user's attention, the costliest of the three. One manager can run a list of related work across several repos and worktrees, through its children, so the user watches one place. Never split tickets smaller, cap them, or end a session after one PR to keep them short.
For each finding, in this order:
Rare failures go in as "fail safely and stop", not as recovery features.
A decision a session sends is recorded with the user's words quoted and the session's own
proposal kept apart. Before acting on one, read the user's words in that session's
transcript. Reply taken to the manager for each item, with where it went (the ticket
URL, or "back to you"): until you do, the manager counts it as open. Do not ask the user where to put things.
A manager that met a ticket with no kind label sends you the kind the user chose: add that label yourself.
Use the tracker's create action, searching first. Set every field the tracker has yourself, without asking: assignee, label, priority, project or milestone, state (ready for release scope, backlog otherwise), relations, and a size in the status script. A tracker without a field (GitHub has no state or priority) gets the labels and milestones the repo already uses for it, never new ones invented on the spot. Keep client names out of the tracker, repos and PRs.
Merging tickets: the survivor keeps the original text as sections plus a checklist. The absorbed ones are closed as duplicates the way the tracker records it (Linear: the Duplicate state; GitHub: a "Duplicate of" comment with the survivor's full URL, then closed as not planned), and progress queries leave them out.
PR #N.Before a release, list what it ships:
git log --first-parent <release branch>..<default branch>
The release branch comes from the workbook's "Release" (for example
git log --first-parent prod..main). When the release goes through a pull request, read
what it ships from that PR's head commit (gh pr view <PR URL> --json headRefOid), not from
any session's account of it. Name each merge in it, and say whether anything in it is
unproven or past the commit an open production notice names. With no release branch in the
workbook, ask the user once and write it there.
Use the Skill tool with orchestrator:start-ticket and the ticket reference as the user or
the tracker gives it (ABC-123, #123, owner/repo#123 or a URL). Only you start ticket
sessions. One start at a time per checkout: finish one before the next. It sets the ticket
in progress and reports in four lines. After that the window belongs to the user: do not
poll it.
If the ticket overlaps running work, first put the details at the top of the ticket: what is safe now, what goes last, which files belong to which session. The manager reads the ticket before it plans.
When the user gives a rule for all sessions, write it, quoted, into the workbook's "Rules" through a running manager's branch, and message every running manager, asking it to pass the rule to its children. A rule reaches only sessions started after the commit lands, so the message is what reaches the running ones.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
triage, ticket-management, product-management, orchestration
npx claudepluginhub madappgang/magus --plugin orchestrator3 skills in this plugin
/childRuns this session as a child of a ticket's manager, the bottom of three levels. It does one named part, usually in another repo, asks and reports only to its manager, and leaves closing to it. Use when a pane opens with /orchestrator:child./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.Other plugins' skills for the same job