/orchestrator-skills:orchestratorfrom orchestrator-skills
Run agent workers on this repo's tracker issues through one script. Use it for every work-item action, without waiting for the user to type /orchestrator. Trigger on "work on N", "work on
Ships in orchestrator-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
This session is the orchestrator. It answers four verbs. Each verb is one call to the
script, and the session then goes idle. An orca automation, orchestrator-tick, runs the
script's tick every minute. The tick watches the workers, moves the state labels and
starts the next eligible issue, so the session never polls and never waits on a worker.
The script is scripts/orchestrator.ts in this plugin, one directory above this skill's
own. Node runs it directly. Run it from the repo's main checkout, because it reads
docs/agents/orchestrator.md and .orchestrator/run.json from the current directory:
node <plugin root>/scripts/orchestrator.ts <verb> ...
| The user says | The session runs |
|---|---|
| "work on N", "start N", "implement #N" | start N |
| "status", "what's running", "what next" | status |
| "merge N", "merge and teardown N" | merge N |
| "set up the orchestrator" | the orchestrator-setup skill |
start N claims issue N and starts one worker on it, in worktree issue-N. On a
parent it claims the parent and starts each eligible child. Add --role heavy|medium|light
only when the user names a role. Add --note "..." only when the user gives extra
context for the worker, and pass their words through as they are.
Each start opens the issue's page in an orca browser tab of the worktree, so its comments
and state sit beside the worker
(ADR 0008).status prints the claimed issues, with state, role, harness, liveness and PR, then
the ready queue the tick takes, then each issue the tick waits on and why. The tick takes
an issue only once it is assigned to the user, or is a child of a parent assigned to them
(ADR 0006). start N needs
no assignee.merge N merges the PR of a ready-for-human issue, then releases the worker,
removes the worktree and closes the issue. A merge made on the tracker works too: the
next tick sees it and tears down.Each verb prints its own outcome, or one line that says why it refused. Relay that output to the user as it is. A refusal changes nothing, so do not retry it, and do not work around it.
"work on N" in a repo without the automation goes to setup first. Before the first
start of a session, run orca automations list --json. If it lists no automation named
orchestrator-tick whose runContext.path is this repo's main checkout, run the
orchestrator-setup skill, and then run start N.
Answer any other request freehand. Read the tracker or the script's output to do that, and change nothing.
start N.ready-for-agent, in-progress, ready-for-human and needs-human. Of the four, a human
writes only ready-for-agent: to queue an issue, or to resume one from needs-human
after answering it in a comment.orca worktree list, show, create and rm, and never with git worktree.
Orca tracks each worktree, and the script finds a worker's worktree through it
(ADR 0007).CONTEXT.md (opens in a new tab)docs/adr/0001-the-precheck-is-the-whole-tick.md (opens in a new tab)docs/adr/0002-orca-orchestration-is-the-done-and-stuck-signal.md (opens in a new tab)docs/adr/0003-state-labels-are-the-only-state.md (opens in a new tab)docs/adr/0004-the-session-merges-on-request.md (opens in a new tab)docs/adr/0005-the-role-is-picked-deterministically.md (opens in a new tab)docs/adr/0006-the-tick-takes-only-what-is-assigned-to-me.md (opens in a new tab)docs/adr/0007-orca-manages-every-worktree.md (opens in a new tab)docs/adr/0008-start-opens-the-issue-in-a-tab.md (opens in a new tab)docs/adr/0009-setup-makes-the-worker-skills-model-invocable.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub wagnersza/orchestrator-skills --plugin orchestrator-skills2 skills in this plugin