/task-orchestrator:director [off]from task-orchestrator
Enters director mode to oversee runs and answer decisions without reading or editing files. Delegates all read/edit tasks to background agents. Use for high-level project oversight and decision-making.
Ships in task-orchestrator. 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.
The director watches runs and answers decisions. It does not read code, open files or read note bodies; coordinators and background agents do that and report back. Why the layer exists, and when not to use it: references/purpose.md.
Calling this skill entered director mode. The plugin's director-guard hook saw the Skill call
and wrote a marker for this session (<tmp>/task-orchestrator/<session>/director.json). While the
marker exists, the guard enforces the altitude rule below on the tools it matches in this session: the built-in file, shell, web (WebFetch, WebSearch) and MCP-resource tools, foreground dispatch, Skill and Workflow, the reads on the orchestration connection, and every host MCP tool (terminal, file store, computer use and the like), which is denied unless it is start_session, send_message, a tier-1 launch profile call (get_settings, set_session_output_style) or a desktop UI tool (update_plan, wrap_up, mark_chapter).
Subagents are exempt (their calls carry agent_id), and a headless ralph iteration is never
guarded.
/task-orchestrator:director off removes the marker and ends director mode. Say so in one line
and stop; do not show the dashboard.
Calling the skill again while in director mode refreshes the marker and the dashboard.
Read, Edit, Write, Grep, Glob and NotebookEdit are
denied. PowerShell and Monitor are denied outright (they run a shell command and print its
output); Workflow runs only task-orchestrator:implement-wave with an object args carrying
altitudeSafe: true.runs_read decision) and a
run rollup (report rollup).Bash (absent from the hardened entry's tool list) runs only git status, git log, git branch, gh pr view, gh pr list and
docker ps, one command per segment, with no redirection (<, >), no substitution (backtick,
$), no braces, globs or backslashes, and nothing chained after a command outside that list.
git log, git status and git branch take only listing flags (a flag allow-list): git log
takes --oneline, --format=, -n <k>, --graph, --since=, --author=, --grep= and
--stat, never -p or another patch flag; git status takes -s, -b, --porcelain and
-uno, never -v; git branch may only list (-a, -r, -v, --list, --show-current,
--merged <ref>, --contains <ref> and the like). Revisions and paths are allowed as operands.Agent runs only in the background: pass run_in_background: true. A foreground dispatch is
denied, because its result would land in this context.SendMessage and ListAgents are never denied. Use them to talk to coordinators.When a call is denied, the reason starts with Director altitude rule:. Do not retry it in another
form. Delegate it: a background Agent with an explicit model, or SendMessage to the
coordinator that owns the run.
After a compaction the director-context hook re-injects a two-sentence reminder of this rule.
Re-invoke /task-orchestrator:director to get the dashboard back.
This is the whole tool budget of a director session:
| Tool | Use |
|---|---|
runs_read | Runs, frontier, decisions, one decision request |
runs_write | answer and ack on decisions; withdraw only a decision this principal raised without a seat; pause, resume and close on a run (below) |
report | rollup per run; usage, gates, contention, waste on request |
items_read | blocked under the project root, for blocked work; overview for counts |
deps_read | Dependency list / graph when a blocker needs explaining |
Agent | Background only (run_in_background: true), with model set |
SendMessage, ListAgents | Talk to coordinators and other sessions |
Skill | Re-invoke this skill, or off; may also load task-orchestrator:model-effort |
PushNotification | Tell the user a decision is waiting when they are away |
The five MCP tools come from the director connection. Anything else (notes, items writes,
advance, config) is a coordinator's job. runs_write open is in the director profile on purpose:
a session that opens a run holds that run's coordinator token.
The guard enforces the altitude rule, not this whole budget: in a skill-entered session it denies the
file and shell tools, foreground Agent, Bash outside its read-only allow-list, the config tool
(every op, push, rollback and reset included) and the reads that return note or document bodies.
It does not deny the orchestration connection's other writes (notes_write, items_write, advance).
Only the hardened entry enforces the whole budget, through its tool list.
Run control: pause stops an open run (a manual pause, with no decision); resume lifts only a
manual pause. A run paused on an attempt-cap decision is lifted only by answering
that decision (allow_one, skip_item, stop) or by close; resume on it answers
invalid_run_state. A run paused by a stored 4.0.0 budget decision (legacy) is answered extend or stop, with no other field. close ends a run whatever its pause; a completed close is refused while a
seat is still active, and a close leaves open decisions open (its snapshot's openDecisions is the number still open).
/task-orchestrator:init registers a second MCP entry, mcp-task-orchestrator-director, next to
the orchestration one. Its tools appear as mcp__mcp-task-orchestrator-director__runs_read and so
on. Confirm they are in your tool list; do not edit .mcp.json from here.
The director connection uses the server's director profile (the /mcp/director endpoint over
HTTP, or MCP_TOOL_PROFILE=director on stdio). That profile has no note-body read at all, so on
that connection the server enforces the rule. In a normal session the orchestration connection
stays registered, and the guard enforces the rule there too: config, notes_read and docs_read are denied,
items_read is allowed only with the get, list, overview and blocked selects, and runs_read only with
get, list, frontier, decisions and decision (both also with describe: true). Skill runs only the director
skill and task-orchestrator:model-effort; another skill needs /task-orchestrator:director off. The limit: the guard
recognises the orchestration connection by task-orchestrator in its server key, so a server registered under a key
without that word is treated as a host server and denied outright under the marker, and a server whose key contains
task-orchestrator is treated as the Task Orchestrator server, so only its listed reads are guarded. Use the hardened entry (below)
when enforcement matters.
If the director tools are missing, say so and name /task-orchestrator:init as the fix. Until
then the director-only members are unavailable on the orchestration connection: runs_read
decisions/decision, runs_write pause/resume/ack/answer and the report
tool. Decisions cannot be shown or answered until /task-orchestrator:init.
Still never call notes_read.
Run these in order and render one compact board. Every call below uses the director profile.
status per call):{"tool": "runs_read", "select": "list", "args": {"status": "open", "limit": 20}, "profile": "director"}
{"tool": "runs_read", "select": "list", "args": {"status": "paused", "limit": 20}, "profile": "director"}
Show pauseReason on each paused run: an attempt pause waits for its decision. No open
or paused run: say so in one line, still show the decisions (step 3) and the blocked work (step 5),
and stop.
ready and waiting items, and the inFlight seats (each
with stalled):{"tool": "runs_read", "select": "frontier", "args": {"runId": "7c41e0a2"}, "profile": "director"}
page.next). The select has no status filter: keep the summaries whose status is open or acknowledged
and drop the others yourself. Group them by runId, with a "no run" group. overdue: true narrows to the late ones. A summary carries class,
effectiveSeverity, overdue and the question (cut to 120 characters), never the options: those
come from the decision read when you answer.{"tool": "runs_read", "select": "decisions", "args": {"rootId": "ce064d2c", "limit": 50}, "profile": "director"}
{"tool": "report", "select": "rollup", "args": {"runId": "7c41e0a2"}, "profile": "director"}
blockType, reason, decisionId,
resumable and blockers[] (id, title, role, satisfied); do not open the item's notes. An awaiting_decision entry with resumable: true was answered and
only needs a resume (the rollup's blocked.resumable counts them):{"tool": "items_read", "select": "blocked", "args": {"ancestorId": "ce064d2c"}, "profile": "director"}
For per-subtree counts only, items_read overview gives blockedByReason: a count of BLOCKED
descendants per reason (for example {dependency: 1}), never a per-item reason or blocker id:
{"tool": "items_read", "select": "overview", "args": {"anchorId": "ce064d2c", "excludeTerminal": true}, "profile": "director"}
Render, most urgent first:
## Director board
Decisions waiting: 2 (1 overdue)
[d-3f2a] run 7c41 deviation high "Approve schema change?" OVERDUE
[d-91bc] no run question low "Pick retry strategy"
Runs: 1 open, 1 paused
7c41 "W8 plugin" ready 3 inFlight 2 waiting 1 stalled 0
9d02 "W9 docs" PAUSED attempt-cap (d-5e10)
Blocked: 2
8aee "Director skill" blocked by dependency 4440ff65
b31c "Api guard" answered, needs resume (d-77aa)
Coordinator tier: 2 (Workflow)
Add a coordinator cell to each run's line, from the frontier's stalled: show coord idle (Method A)
when the run's hints.method is A and hints.phase is launched (nothing runs under the
coordinator token during a Workflow), coord idle, seats live when any inFlight seat has
stalled: false, nothing on a paused run, else COORD STALLED: SendMessage the coordinator, and
if it is gone, close the run and re-plan.
Then ask which decision to take, or stop if none is open.
Read the one decision request in full (the other body you may read):
{"tool": "runs_read", "select": "decision", "args": {"decisionId": "3f2a9c1e"}, "profile": "director"}
Show the question, the options and any context it carries, and ask the user. Never answer on the user's behalf unless they told you how to answer this class of decision. Then answer it, with the user's rationale:
{"tool": "runs_write", "op": "answer", "args": {"decisionId": "3f2a9c1e", "option": "approve", "rationale": "Migration reviewed; table recreation is safe."}, "profile": "director"}
An attempt-cap decision is answered with these options:
| Class | Options |
|---|---|
attempt-cap | allow_one, skip_item or stop |
| legacy budget class (stored 4.0.0 runs only) | extend or stop, with no other field |
Before answering, check the class: answerers: human-only cannot be answered from this session
(forbidden, principal_kind human). ack marks a decision seen but deferred; it does not answer it.
text carries a free-form answer, when the decision asks for one.
On forbidden, read error.detail.scope and required, say which, and stop:
scope: "capability", required: "decide": the director credential lacks the decide
capability.scope: "principal_kind", required: "human": a human-only decision; it needs a credential
of kind human.scope: "principal_kind", required: "director,human": the call did not arrive through the
director profile without a seat token (wrong connection, or a seatToken on the call).Withdraw a decision the run no longer needs (for example the user cancelled that work):
{"tool": "runs_write", "op": "withdraw", "args": {"decisionId": "3f2a9c1e"}, "profile": "director"}
Withdraw succeeds only for a decision this principal raised without a seat, or under the coordinator
token of the decision's run. On stdio or an unauthenticated local-mode server every caller is the one
local principal, so there "this principal raised" covers every decision raised without a seat.
Nobody can withdraw a server-raised attempt-cap decision.
For a seat's decision, SendMessage the run's coordinator to withdraw it, or answer it.
decision_closed means someone already answered or withdrew it: refresh the board.
An answer never resumes the item. When the decision has an itemId, SendMessage the run's coordinator with
the item id (ids only): it resumes the item and re-dispatches. With no live coordinator (the run is closed, or the
decision was raised outside a run), dispatch one background Agent with an explicit model to resume the item
per /status-progression. The board then shows the entry as "answered, needs resume" until it does.
Probe once per entry and state the result as one board line. The tier says where coordinators
run; it does not launch one. Tiers 1 and 2 show in your own tool list (no calls). Tier 3 needs the
claude CLI on the host, which no tool list shows: ask the user, or dispatch one background agent
to run claude --version and report. The hardened entry has no shell, so that is its only way.
| Tier | Present | Meaning |
|---|---|---|
| 1 | start_session and SendMessage (or send_message) in your tool list (not in the hardened entry) | Coordinators run as separate sessions; reach them with SendMessage |
| 2 | The Workflow tool (not in the hardened entry) | A run executes as a background workflow; the director makes the one Workflow call and relays its args and result, because the coordinator is a background agent and a background subagent may lack Workflow |
| 3 | Neither, but claude -p is available on the host | Coordinators run as headless claude -p processes started by a background agent |
| 4 | None of the above | No separate coordinator: every read and edit goes through background Agent dispatches from this session |
At tier 4, warn the user once: the altitude holds only as long as each delegated agent reports a summary instead of raw file content, so ask each agent for a short summary.
How to launch a coordinator at each tier (the desktop session profile, the tier-2 hand-off with
--altitude-safe, the tier-3 claude -p argv with --max-budget-usd, and the tier-4 warning) is
in references/coordinator-tiers.md. The plugin's
scripts/coordinator-tiers.mjs holds the same probe rule and prints each launch profile; a
coordinator or background agent runs it, not this session. A small run (one or two items) skips the
coordinator layer: dispatch it as one background agent.
On any wake-up (a SendMessage from a coordinator, a task notification, or the user returning
after idle), read the run that woke you. A message starting TO report: is a coordinator report
(events planned, decision, paused, closed): act on the ids it names only, after the board
read below, then Answering. In a tier-2 hand-off: on planned with needs: approve launch, get the
user's approval; then call Workflow with the returned args and SendMessage the coordinator
launched with the call's task id, run id and script path; on the task notification, send it the
result JSON verbatim.
{"tool": "runs_read", "select": "get", "args": {"runId": "7c41e0a2"}, "profile": "director"}
and the run's decisions (Dashboard step 3). Do not decide on your own whether to push or run a
retrospective: the plugin's director-watch hook reads those results and tells you. A
Decision waiting: directive means call PushNotification once for the ids it names; a
retrospective directive (only for a closed run, since an idle run is not done) is always the
dispatch form in a director session, whatever retrospective.mode says (off still sends none):
dispatch the one background agent it names. Never run /session-retrospective in this session;
it reads note bodies. Each fires once per decision or run per session.
claude --agent director starts a session whose tool list is already limited to the director
budget (the plugin's agents/director.md), which has neither Workflow nor start_session: it probes tier 3 or 4. Tiers 1-2 need a director entered via the /task-orchestrator:director skill in a normal session. It still invokes this skill first, so the marker and
the guard apply too.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jpicklyk/task-orchestrator --plugin task-orchestrator20 skills in this plugin
/adopt-project-scopeMigrates an already-populated, unscoped Task Orchestrator database in place to the project-scoping convention — creates a project anchor root, re-parents existing work trees under it, and writes rootId back to config.yaml. Use when a user says: adopt project scope, migrate this database to project scoping, make this DB multi-project, project-scope this workspace, adopt existing database, or set up project scoping for an existing DB./batch-completeCompletes or cancels many items at once, closing out a feature subtree or cleaning up old work; use when a user says: close out this feature, complete everything under X, cancel this workstream, clean up old items, bulk complete, finish this feature, or archive completed work./configure-serverConfigures how the MCP Task Orchestrator SERVER runs and is reached — transport (HTTP vs STDIO), the REST API, port publishing, config mounts, and config-sync. Use when a user says: run the server, register the image, set up the Docker container, enable the REST API, set up config-sync, reconfigure the server, change transport, expose the API, reconnect to a different endpoint, or allow a hostname. NOT for first-time onboarding (that's quick-start), NOT for project/personal setup (that's init), and NOT for note schemas / gates / traits (that's manage-schemas) — this skill only decides how the container is launched and reached. Caller identity is set by the REST auth mode (API_AUTH_MODE): this skill renders none and bearer; jwks is linked to the deployment docs, not rendered./create-itemCreates an MCP work item from conversation context, anchored in the right container (an observation is a standalone root) with a declared type and its queue notes pre-filled; use when the conversation surfaces a bug, feature idea, tech debt or observation worth tracking, or the user says: track this, log this bug, create a task for, or add this to the backlog./dependency-managerVisualizes, creates, deletes and diagnoses dependencies between MCP work items; use when a user says: what blocks this, add a dependency, show dependency graph, why can't this start, link these items, unblock this, remove dependency, or show blockers./initSets up Task Orchestrator for a project or for the user: registers the MCP entries, creates (or finds) the project anchor root, writes the project: block into .taskorchestrator/config.yaml at the main checkout root, validates and pushes it to the server, and seeds the bundled process rules. In project mode it also writes a project-level client.json when the server is a loopback HTTP server. With --user it creates a personal root and writes the user-level config.yaml and client.json instead. Use when a user says: initialize task orchestrator, task-orchestrator init, set up task orchestrator for this project, set up a personal root, init --user, or when the SessionStart notice says to run /task-orchestrator:init. NOT Claude Code's built-in /init (that writes CLAUDE.md), NOT tutorial onboarding (quick-start), NOT migrating an already-populated unscoped database (adopt-project-scope), and NOT launching or reconfiguring the server (configure-server).Other plugins' skills for the same job