No slash command · from task-orchestrator
Classifies implementation work into Direct, Delegated, or Parallel tiers and dispatches sub-agents accordingly. Used by the task orchestrator for sizing and routing work.
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.
None: SKILL.md is the whole skill.
On-demand depth for sizing work and dispatching agents. Shapes are in _generated/call-shapes.md; ids below are 8-hex shorts (a full UUID is also accepted).
orchestration.mode lives under extensions.claude-code in the project config (see extensions). The tier table and the delegation model table apply when it is workflow. In schema mode the schema alone governs process, so skip the tier and model-table content; the phase-owner dispatch rules and the explicit-model rule below still apply, with the model chosen by judgment.
Classify every piece of work into a tier before starting; the tier decides how much process to apply.
| Criteria | Tier | Pipeline |
|---|---|---|
| 1-2 files, known fix, no migration/new API | Direct | Orchestrator edits, tests, reviews inline |
| 3-10 files, single logical unit, clear or explorable scope | Delegated | Single subagent, separate review agent |
| 11+ files, multiple independent work streams, dependency edges | Parallel | Worktree agents, full pipeline |
Force-UP signals (bump tier regardless of file count):
Force-DOWN signals:
default schema, or the item is schema-free -> eligible for Direct| Step | Direct | Delegated | Parallel |
|---|---|---|---|
| Plan mode | skip | optional | required |
| Queue notes | none required | fill per schema | fill per schema |
| Implementation | orchestrator inline, no subagent, no delegation metadata | single subagent | parallel worktree agents |
| Review | inline (orchestrator) | separate agent | separate agent |
Review applies only when the item's schema declares review-phase notes; otherwise work advances straight to terminal. Detect it from newRole in the advance result and skip review dispatch.
Director mode. Director mode is the session state entered by /task-orchestrator:director (or by running as the hardened director agent). No tier runs inline there: Direct and Delegated work becomes ONE background Agent (run_in_background: true, model set) that runs the pipeline above; Parallel work goes to a coordinator (see coordinator-tiers.md). A background agent dispatched by a director is not in director mode: it runs the tiers above.
Multi-item dispatch: when post-plan-workflow's four-part condition holds (two or more unblocked leaf items, a resolvable rootId, filled queue notes, protocol rules served), dispatch goes through /task-orchestrator:run-wave; otherwise hand-dispatch.
Model and effort per kind of work come from the plugin's dispatch policy: load task-orchestrator:model-effort for its class table (bulk writes, implementation, planning, review and the rest) and the rules for raising or lowering effort.
Always set model AND effort explicitly on every Agent dispatch: an omitted model runs on the orchestrator's own model, and an omitted effort runs at the model's default (dispatch-model-guard denies both).
A fix after a failed test or review goes one effort level higher. When a hand-dispatched implementer's or test author's work fails a test or a review and you send the fix back, dispatch a FRESH agent (not a SendMessage resume: a resumed agent keeps its effort) with the same model and the effort one level above the original dispatch, the policy's escalate rule: the n-th fix runs n levels up, capped at the policy's escalation.ceiling (model-effort states it). A failure past the ceiling is a decision for a person, not another cycle at the same effort. A late carry-in or a breach replacement is not a failure and keeps the original effort; reviewers never escalate. Inside a run, reseat --cause computes this for you (run-wave post-run.md).
Show the assignment in the dispatch description. End every Agent description with [<model>/<effort>], for example implementer:5fc03a84 [sonnet/high]: the app's background-task list shows only that string, and the run-wave workflows put the same tag on their labels, so a reader can tell what each agent was assigned without opening it.
This applies only to the agent that OWNS the phase being entered (the implementer entering work, the reviewer entering review), never to the test author, planning seats or the docs seat; those take their class from task-orchestrator:model-effort.
Read the profile for the phase you dispatch INTO, not the item's current phase:
dispatch off that advance transition result (data.results[0].dispatch): it is the profile for newRole, the phase being dispatched into.{"tool": "advance", "op": "transition", "args": {"itemId": "4b7d0e19", "trigger": "start"}}
start itself), items_read context returns only the profile for the CURRENT role (queue), which is the wrong one. Read the schema instead; dispatch is the per-phase map and dispatchBySeat the per-seat one:{"tool": "items_read", "select": "schema", "args": {"itemId": "4b7d0e19"}}
When the profile names an agent, dispatch with subagent_type set to it. Whether or not agent is set, ALWAYS pass model and effort explicitly: the profile's value for each when it sets one, otherwise the value of the work's class in task-orchestrator:model-effort. Every shipped agent (implementer, reviewer, planner, test-author, director) ships model: inherit, and Claude Code resolves the per-invocation Agent-tool model first, then the agent's frontmatter, where inherit means the main conversation's model. Omitting model silently runs the phase owner on the orchestrator's own model.
Pass the effort on the Agent tool's own effort parameter, with or without an agent. The shipped agent definitions carry no effort of their own, so an omitted parameter runs at the model's default. CLAUDE_CODE_EFFORT_LEVEL and organization caps outrank the parameter. Auxiliary dispatches on the same item (test author under needs-test-author, planning seats, the docs seat) use the same rule with their own class.
For a seat-aware item (its schema declares seats), read every seat's profile, test author and planning seats included, from the resolved dispatchBySeat; it supersedes the class values for those seats. A model-selecting seat-only override wins whatever the trait order (see Seat dispatch precedence). To change a pinned model, change it through the project's config traits, not by overriding it at dispatch time.
Before dispatching a seat at a feature or wave parent, branch on the parent's role with the pre-dispatch recipe in /task-orchestrator:schema-workflow ("Pre-dispatch recipe: a seat at a parent"): never a reviewer at a work-role parent.
Project convention (workflow mode only; in schema mode batch by ordinary judgment): avoid 3 or more write calls in a single turn. One ops[] call carries many writes (items_write, notes_write, deps_write and advance all take an array), so batch the writes into one call before delegating. Parallelized reads (items_read context plus overview) are fine and encouraged. Delegate bulk write work that cannot be batched to the Agent tool at the bulk class to keep the orchestrator context lean.
Delegation prompts must include entity ids and full context; subagents start fresh.
Parallel-tier dispatches follow a dispatch contract. Where the project's /implement skill ships a dispatch-contract template, generate the run's plan file from it; otherwise write one plan file for the wave that pins branch, worktree, file ownership, commit form, build self-check and review scoping. Either way, point every dispatch prompt at that file by absolute path instead of restating those rules inline. Under a run plan (/task-orchestrator:run-wave) seat prompts are generated and never reference this file; the contract then serves the orchestrator (fallback hand-dispatches, the post-run commit map) and the reviewers, and anything a seat must know goes in the item's specification or task-scope note.
/task-orchestrator:run-wave reads the project's .taskorchestrator/run-profile.json, and a project dispatch contract pins its own build self-check. A seat you dispatch by hand, outside both of those, gets neither unless you put it there. When that file exists:
verify entry whose seats lists the seat you dispatch (implementer, test-author, ...), paste its command into the seat's prompt verbatim, substituting <worktree> and <scratchpad> (and <ownedTests> with the seat's owned test paths, space-separated and double-quoted, filtered by the entry's ownedTestsPattern; an entry whose owned set is empty is skipped; not supported on orchestrator entries), as the check the seat runs before committing. If the command calls a wrapper that a wave's setup creates (a lock script in the scratchpad, say) and that file is absent, give the seat the same tasks through the build tool directly: the task list is what matters, not the wrapper.seats lists orchestrator yourself, on the item's worktree, before dispatching the reviewer and again before pushing. A failure goes back to the owning seat before review, not to the reviewer.Do not delegate verification. Do not dispatch subagents to verify or double-check your own work. Verification belongs to the schema's review phase (a separate reviewer) or to inline review on Direct tier. Current models self-verify well, so a redundant verification agent adds cost without catching more. This does not cover independent test authoring under the needs-test-author trait: dispatching a separate test author is production work the trait requires, and the separation between writing code and writing its tests is the point.
Subagents write findings into their work item's notes; their final message back is 1-2 lines (item id, outcome, note keys filled). Never ask agents to restate note content in replies.
If your project defines a delegated trait, apply it to Delegated and Parallel items so the note below is schema-visible rather than convention-only. Traits are an array. Set it at creation, "traits": ["delegated"] on the items_write create (or tree child), or add it later with an update, which REPLACES the list, so send the full list:
{"tool": "items_write", "op": "update", "args": {"id": "4b7d0e19", "traits": ["needs-docs-accuracy-review", "delegated"]}}
An update that changes traits is itself a pin point: the item is re-pinned to the current config (see Schema pins). Then, after each subagent returns, fill its delegation-metadata work note: model, effort when one was assigned, isolation, a one-line rationale and a one-line outcome. The orchestrator fills this, not the subagent (only the orchestrator knows the dispatch details). On a member of an open run whose schema gives the key seat: orchestrator, send that upsert with the run's coordinator token; a seat never writes it. It feeds /session-retrospective's delegation-alignment scoring; projects without the trait skip it.
What SKILL.md sets; muted values are Claude Code's defaults
20 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./npx claudepluginhub jpicklyk/task-orchestrator --plugin task-orchestratorOther plugins' skills for the same job