Work through a backlog in parallel by delegating each task to its own session (e.g. `/work <id>`), while staying the coordinator. The backlog can be taskmd files (any `taskmd list`/`next`/`search` command), Linear tickets, or Jira issues (JQL). The coordinator must pick only tasks that need no human input and are not blocked, never run two that touch the same area, cap how many run at once by the machine's load, keep a ledger of what landed, refill slots as sessions finish, and stop at an agreed exit condition. Use when the user asks to delegate, dispatch, fan out or parallelize pending tasks, Linear tickets or Jira issues across sessions, 'keep N tasks going', 'work through the backlog in the background', or invokes /dispatch.
Ships in execution. 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.
Act as the coordinator for a batch of tasks. Each task runs in its own session; this session never does task work itself. Its job is choosing what runs, when, and next to what, then checking what actually landed.
Any of these, all optional:
taskmd list --status pending --sort created_at --limit 20 --reverse, taskmd next --scope cli --limit 10, a JQL
query, "my Linear tickets in the Payments project", "the screencast tasks", or an explicit
list of ids. Default: the source's own default (see the reference file)./work <id> for taskmd.The coordination below works the same for every backlog. Only six operations depend on where the tasks live: list the set, read one task with its dependencies and area, find what is in flight, the default prompt, what counts as landed, and how to detect changes. Work out the source first, then read its reference file and use it wherever a step names one of those operations:
| Source | Recognize it by | Reference |
|---|---|---|
| taskmd | a command starting with taskmd, or a taskmd tasks directory in the repo | references/taskmd.md |
| Linear | a Linear URL or view, "Linear" in the request, or Linear MCP tools and no taskmd | references/linear.md |
| Jira | JQL, an Atlassian URL, "Jira" in the request, or Atlassian tools and no taskmd | references/jira.md |
Ids like ENG-123 look the same in Linear and Jira. If the request and the repo's
CLAUDE.md do not settle it, check which tracker's tools are connected, and ask if both
are. For any other source (GitHub issues, a TODO.md), map the six operations onto it
the same way, and state the mapping in one line before starting.
When the user gives a command or a query, run it as given. Add only what the reference says to add, such as an output format, and keep its filters, sort, and limit.
Without one, a dispatcher never stops: sessions file follow-up tasks, and those are always the most attractive ones to start next. If the user gave none, propose one before starting anything and get a yes. The usual default is "every task in the starting set has landed or been skipped, and nothing outside that set is started". State the choice in a line.
Count only work that landed, as the source defines it: for taskmd, committed to the target branch with the task marked complete; for a tracker, a PR opened or merged. When a source offers a choice, settle it here along with the exit condition. A session that reported finishing is not counted until you have checked.
List the task set. Keep the order it comes back in, because a command like taskmd next
or a sorted query already expresses the user's ranking. For each candidate, read the
whole task, meaning the file or the ticket description, not just the title, and record:
Status and dependencies. A task is blocked if any dependency is not completed. Look up each dependency's status yourself, even when the list command already filters blocked tasks; a dependency on a task that is running right now is still a block.
Area. This means the files, directories, modules and docs the task names or will obviously touch, plus its tags, labels, or components. Grep the body for paths. This is what conflict checks use. Tracker tickets name fewer files, so when the area is a guess, treat it as wider than it looks.
Autonomy. Can a session finish this with no one at the keyboard? Exclude a task that:
A keyword scan (manual, decide, account, credential, device, hardware, listen, approve) finds candidates for exclusion. Then read each hit, because most are false positives. A task saying the agent should "decide the API shape and record it" is still autonomous.
Size and priority, for ordering.
Also check what is already in flight. That means what the source marks in progress,
existing worktrees (git worktree list), and running sessions (list_sessions). Their areas are occupied
even though you did not start them. If the user asks you to leave something alone, do.
Write a ledger file in the scratchpad directory (or another path outside the repo) and update it on every event. Long dispatches get their context summarized, and the ledger is what survives. Keep in it:
Each session eventually runs the project's full validation, and when several overlap that dominates the machine. Too many at once and the checks time out under load, sessions retry, and everything takes longer than running fewer.
sysctl -n hw.ncpu or nproc, then uptime).
Check what else is busy with ps -Ao pcpu,comm -r | head, such as other projects' sessions,
simulators or builds.Pick from the eligible candidates in list order until the cap is reached. If the list carried no order of its own, use priority, then age. A candidate is not startable if its area overlaps a running session's area, or another task you are choosing in this round. Overlap means the same files, the same subsystem (e.g. "the screencast recorder", "the sequencer"), or the same docs page. Two tasks that edit different functions in one small module still conflict.
Clusters of related tasks (ten tasks on the same tool) run one at a time. Spread the batch across areas instead of draining one cluster.
A follow-up a session files while it works usually depends on it and shares its area. Treat it as next in line for that area once its parent lands.
Start one session per task with the platform's session tool. In the Claude desktop app that
is mcp__ccd_session__start_session; load it with ToolSearch if it is deferred. Use:
initiation: "user_asked", since the user asked for the delegation;prompt: the per-task prompt, e.g. /work 01m639pma or the source's written tracker
prompt with the ticket id filled in, and nothing else;background: one or two sentences covering:
use_worktree: false when the per-task prompt makes its own worktree (as /work does), so
you do not get a worktree inside a worktree; otherwise true;name and a title such as <id> · <3-5 word summary>.Before each start, write one bold line naming the task and why it is safe to run now (unblocked, autonomous, area free). Then end the turn. Do not wait, poll, or predict results. The platform wakes you when a session finishes a turn.
If no session tool exists, tell the user. Dispatching needs real separate sessions, and background subagents in this conversation are not a substitute for long-running tasks that each validate and land.
A session finishing a turn is a report, not proof. Most turns end with "waiting on the check". For each note:
gh. Only then
add it to Landed in the ledger.Never merge a session's branch yourself, push, or archive sessions unasked. Each session lands its own work.
The user may pull, other sessions may land and edit task files, or someone may edit a ticket. When told "tasks may have changed", when you refill, or when you notice it:
SendMessage with its session id). Say
what changed it (a commit, or a ticket edit), summarize the new requirements in a few
bullets, and tell it to re-read the task. Do not message sessions whose tasks did not
change.git merge-base --is-ancestor <old> HEAD).
If it was, tell the affected session to rebase onto the current target. Tell the user too,
since every rewrite restarts each landing session's validation.Stop starting sessions once landed + running = the exit target. Starting more would overshoot, because every running task is expected to land. Keep handling events until the running ones finish, then give a final report:
If a running task fails or gets stuck, it does not count. Start one replacement if the user's condition is a count. Otherwise report it.
What SKILL.md sets; muted values are Claude Code's defaults
3 skills in this plugin
/fix-feedbackAddress feedback about a bug or feature issue using a test-first workflow: reproduce with a failing test, then fix. Use when the user provides feedback, a bug report, or a user-reported issue and wants it verified and fixed./workPick up the next task, execute it in its own git worktree, verify it, mark it complete, commit, and merge it back into main. Use when the user wants to work through tasks one at a time, or says 'do the next task', 'work on the next item', or invokes /work. Optionally accepts a task ID and/or custom instructions.Other plugins' skills for the same job
/execution:dispatchfrom execution
npx claudepluginhub driangle/ai-powers --plugin execution