This skill generates an insight-driven project dashboard that surfaces patterns and actionable signals from active work, blockers, and next actions.
npx playbooks add skill jpicklyk/task-orchestrator --skill work-summary
Attention-first project dashboard. The default (lean) mode answers four questions - what's moving, what's stuck, what's next, what's queued - in a bounded view (~45 lines) regardless of workspace size. The exhaustive inventory is an explicit mode: mature workspaces accumulate hundreds of terminal items, and rendering them all buries the actionable content.
Every call below is a 4.0 tool call. Shapes are in [../_generated/call-shapes.md](../_generated/call-shapes.md) and are not restated here. Every answer is the response envelope: read ok, then data; on ok: false read error.code (an unknown field is unknown_parameter, so a typo fails loudly rather than being ignored). All calls here are reads, so there is no per-element write envelope to check.
Supplement the data with brief observations only for a genuine anomaly or actionable insight.
Director mode is the session state entered by /task-orchestrator:director (or by running as the hardened director agent); its guard denies the file read of Step 0.5 and most of the reads below. Runs, decisions and blocked work belong to the director board: re-invoke /task-orchestrator:director for them. For a backlog view in director mode run only these reads: Lean step 1 (overview), steps 5 and 6 (list), In Flight from items_read list with role work and again with review, items_read blocked, and the Runs reads. Skip the health context read, history, next, the Blocked-item decisions context reads, a scoped search and the Step 0.5 file read (with no session rootId run unscoped), and omit every dashboard section whose read was skipped. For the complete dashboard, dispatch ONE background Agent (run_in_background: true, model set) that runs the steps below and reports the rendered dashboard text, never note bodies. A background agent dispatched by a director is not in director mode: it runs the steps below.
---
| $ARGUMENTS | Mode |
|--------------|------|
| empty | Lean (default) |
| the literal word full | Full Inventory |
| the literal word all | Multi-Project - one condensed section per known project root |
| anything else | Scoped - resolve to a UUID with items_read search (query: $ARGUMENTS, limit: 5, kinds: ["item"]); hits carry no depth, parent or type, so items_read get the top hits before preferring a root or container; if ambiguous, present matches via AskUserQuestion |
## Project Scope section carries a project rootId, which scopes reads (ancestorId / anchorId). A ## Personal Scope section carries a personal root, which only anchors new items: in personal scope every call runs unscoped and the header says personal scope - whole database.project.rootId of .taskorchestrator/config.yaml (a file read).ancestorId / anchorId / rootId from the examples below.Below, "<rootId>" marks a field you include only when a project rootId is known. Scoped mode resolves its own scope per invocation and ignores the project rootId.
---
childCounts roll-ups ([items_read-overview](../_generated/call-shapes.md#items_read-overview)). excludeTerminal keeps a terminal root that still has open descendants (active work parked under a done container) and drops the rest; page.truncated / page.next page it.{"tool": "items_read", "select": "overview", "args": {"excludeTerminal": true, "anchorId": "<rootId>"}}
data.active.items (work and review, longest in the role first), data.blocked.items, data.stalled, data.claimSummary ([items_read-context](../_generated/call-shapes.md#items_read-context)). blocked holds explicit blocks (blockType: "explicit", with reason and, for awaiting_decision, decisionId) AND open items with an unsatisfied dependency (blockType: "dependency"). Each stalled entry is {id, title, role, missing[], guidanceKey?, skillPointer?}.{"tool": "items_read", "select": "context", "args": {"ancestorId": "<rootId>", "limit": 100, "fields": ["ancestors"]}}
history select has no ancestorId: with no itemId it covers every item the caller may see, so the line is whole-tree even inside a project.{"tool": "items_read", "select": "history", "args": {"since": "<now minus 48h, ISO 8601>", "limit": 20}}
limit is 1, so ask for 5). fields: ["ancestors"] supplies the Container column.{"tool": "items_read", "select": "next", "args": {"limit": 5, "ancestorId": "<rootId>", "fields": ["ancestors"]}}
parentId; page.total is the true queued count. Subtract rows whose type or tag is container or project (a fresh container sits in queue until its first advance and would inflate N queued). When page.truncated, the headline count is approximate.{"tool": "items_read", "select": "list", "args": {"role": "queue", "limit": 200, "ancestorId": "<rootId>"}}
data.page.total.{"tool": "items_read", "select": "list", "args": {"role": "terminal", "limit": 1, "ancestorId": "<rootId>"}}
Headline counts come from these sources, never from the overview payload (it covers the roots set only and may be truncated).
Issue both reads in parallel and render the section only when either returns a run. A run is a bounded pass over a set of items.
{"tool": "runs_read", "select": "list", "args": {"rootId": "<rootId>", "status": "open"}}
{"tool": "runs_read", "select": "list", "args": {"rootId": "<rootId>", "status": "paused"}}
For each run (cap 5, newest first) read its frontier:
{"tool": "runs_read", "select": "frontier", "args": {"runId": "<run UUID>"}}
data.counts is members by role, ready the members nothing holds back, inFlight the active seats (each with its own stalled flag), waiting the members held back, each {id, reason, decisionId?, blockers?} with a reason of manual, dependency, awaiting_decision or resource; decisionId is present whenever the member's block names a decision, and blockers (short ids) only for dependency. stalled is the coordinator's flag. A paused run's list entry carries pauseReason. Render one row per run: label or title, short run id, status, counts, ready, in flight (N silent, from the seats' stalled flags), waiting. The word "stalled" is kept for the health stalled items (open items missing notes); a run's seats and coordinator are "silent".
When the director connection's tools are present (report and runs_read decisions; skip the rest of this section silently otherwise), add per run the open decisions from the rollup, and one decisions line for the root. Every call here is a director-profile call:
{"tool": "report", "select": "rollup", "args": {"runId": "<run UUID>"}, "profile": "director"}
data.decisions.open is the open decisions count. It is run-only and a run rollup always carries it (open: 0 when nothing is open); an anchor rollup has none, and a run rollup has no budget (token and cost budgets were removed in 4.0.1). Render decisions open in the run's row.
{"tool": "runs_read", "select": "decisions", "args": {"rootId": "<rootId>", "limit": 50}, "profile": "director"}
Follow page.next (pass it as cursor) until it is absent. The select has no status filter: keep the summaries whose status is open or acknowledged, count them, and count those with overdue: true. Render Decisions waiting: N (k overdue) just above the Runs table and point at /task-orchestrator:director to answer them; omit the line when N is 0.
For each health blocked entry with blockType: "explicit" (cap 10), read the item's context. Its item.blockedReason repeats the block reason and decisions[] lists the decisions raised on it as {id, class, status, option?} (withdrawn ones left out). The question text is not in this view: it is a director-profile read (runs_read decision), so show the decision class and status instead. This read supplies decisions[] class and status only; whether the item is resumable comes from the blocked read below.
{"tool": "items_read", "select": "context", "args": {"itemId": "<blocked item id>"}}
When health blocked holds an awaiting_decision entry, read items_read blocked once:
{"tool": "items_read", "select": "blocked", "args": {"ancestorId": "<rootId>", "fields": ["ancestors"]}}
Each awaiting_decision entry carries a server-computed resumable (true when its blocking decision is no longer open or acknowledged). Answering a decision never resumes its item, so flag a resumable one and point at advance op transition with trigger: "resume".
type = container never count as active; exclude them from the In Flight list.active.items minus containers. Blocked / stalled = the health lists as they are. Items of a lifecycle: none schema have no role, so role-filtered lists and counts leave them out: the dashboard covers role-bearing work (config-reference.md, Lifecycle-free items).terminal / total from childCounts, rendered N/M terminal (not done: the terminal bucket includes cancelled items). "Next up" = the highest-priority queue row from step 5 whose parentId is that root.type if set; else the first tag not in {agent-observation, feature, container}; else "Uncategorized".action-item.mtest-* tags).Render in this order; omit any section with no data.
## ◆ Work Summary
[One sentence: health and momentum.]
**N active · N blocked · N stalled · N queued · N terminal**
### ◉ In Flight
| ID | Item | Container | Status | Pri |
|----|------|-----------|--------|-----|
| `xxxxxxxx` | <title> | <parent title or —> | ◉ work | high |
↳ Recent: <up to 3 one-line transitions from history, newest first; omit if none in 48h>
### ⊘ Attention Required
| ID | Item | Container | Issue |
|----|------|-----------|-------|
| `xxxxxxxx` | <title> | <parent or —> | Blocked by: `<blocker-id>` <blocker-title> |
| `yyyyyyyy` | <title> | <parent or —> | Blocked (awaiting_decision): <class> <status>; resumable |
| `zzzzzzzz` | <title> | <parent or —> | Stalled: missing `<note-key>` |
### ▸ Recommended Next
| ID | Title | Container | Pri |
|----|-------|-----------|-----|
### ⟳ Runs
| Run | Status | Terminal / total | Ready | In flight | Waiting | Decisions open |
|-----|--------|------------------|-------|-----------|---------|----------------|
### ○ Backlog
**Workstreams**
| ID | Workstream | Progress | Next up | Pri |
|----|-----------|----------|---------|-----|
**<Kind>** (N): `id` <title> (pri) · ... ← groups of 5 or fewer
**<Kind>** (N): X bug · Y optimization — highest: `id` <title> (pri) ← groups of more than 5
### ✓ Terminal - N terminal items
↳ Hygiene: <N> test artifacts, <N> empty containers - candidates for /batch-complete
Naming a dependency blocker. items_read blocked (ancestorId, fields: ["ancestors"]) returns EVERY blocking dependency of each item as blockers[{id, title?, role?, threshold, satisfied}]; call it only when the health entries are not enough to name the blocker. For an explicit block the Issue text is Blocked (<reason>) with the reason read above.
Lean-mode rules:
full mode for that.---
$ARGUMENTS = full)Everything lean mode shows, plus the complete per-container inventory.
includeChildren; page with cursor (page.next) while page.truncated. Each root carries role, statusLabel, childCounts, tags and type but no subtree.{"tool": "items_read", "select": "overview", "args": {"limit": 200, "anchorId": "<rootId>"}}
childCounts show open children), in parallel, a scoped overview. It returns the container, its open children, and any terminal child that still holds open work; childCounts stays full. Each call is bounded to one container.{"tool": "items_read", "select": "overview", "args": {"itemId": "<root-id>", "excludeTerminal": true}}
Never fetch every root's children in one call (includeChildren: true across the whole tree): on a mature workspace the terminal subtrees exceed the tool-result ceiling. Terminal children are counted from childCounts, never enumerated; to see one container's completed items use Scoped mode on it.
Skip silently without them. One director-profile read, default window 7 days:
{"tool": "report", "select": "gates", "args": {"rootId": "<rootId>", "groupBy": "noteKey", "limit": 3}, "profile": "director"}
Render one line after Attention Required: top gate rejections (7d): <noteKey> N, ... from data.items[] (key.noteKey, blocks); omit it when items is empty.
Skip silently without them. One director-profile read, default window 7 days:
{"tool": "report", "select": "notes", "args": {"rootId": "<rootId>", "groupBy": "role"}, "profile": "director"}
Render one line after the gate-rejections line: note volume (7d): <role> <bytes> (<share>%), ... from data.items[] (key.role, bytes; the share is each role's bytes over the summed bytes), one entry per role; omit it when items is empty.
#### <Container Title> `<8-char-id>`
<role-symbol> <role> · <N open> · <N terminal>
| ID | Title | Status | Pri | Tags | Children |
|----|-------|--------|-----|------|----------|
✓ N terminal - counted from childCounts, not listed
<N open> = queue + work + review + blocked from childCounts; <N terminal> = terminal.N○ N◉ N⊘ N✓ from the child's own childCounts (omit zero roles; — if childless).—; traits append with a ▸ prefix, needs- stripped.### ✓ Terminal - N terminal (N from the step 6 count). Split root-level terminal items by statusLabel: Completed containers:, Completed standalone: (+N more if over 5), and Cancelled: listed separately, never as completed work.Empty (no items): <title>, ... at the end if any.---
$ARGUMENTS = UUID or title)Use the resolved UUID as the scope for a full-inventory-style rendering of one subtree.
{"tool": "items_read", "select": "overview", "args": {"itemId": "<parentId>"}}
Health runs with ancestorId: "<parentId>"; recommendations use parentId: "<parentId>" (direct children) or ancestorId (the whole subtree). Render the Full Inventory sections for that subtree only.
---
$ARGUMENTS = all)One condensed section per project anchor, for workspaces where several project roots share one database.
{"tool": "items_read", "select": "list", "args": {"type": "project", "depth": 0}}
/task-orchestrator:init, /adopt-project-scope or by hand. An anchor tagged personal-root is the personal root; label it (personal)./task-orchestrator:init to bootstrap one, or use /work-summary (no arguments) for the whole-DB view."anchorId, excludeTerminal: true), health with ancestorId, and next with limit: 3 and ancestorId.### ◆ <Project Name> (`<8-char-id>`)
N active · N blocked · N queued
**Attention:** <up to 2 blocked/stalled items, or "none">
**Next up:** <top next result, or "nothing queued">
Keep each section condensed - a cross-project scan, not a deep dive. Point at /work-summary for the full dashboard on any one project.
---
Status symbols: ✓ terminal · ◉ work/review · ⊘ blocked/stalled · ○ queue.
Short IDs: compact views already carry 8-hex ids; render them in backticks. Truncate full UUIDs (run ids, history itemId, blockers[].id from items_read blocked) to their first 8 characters. Use — for empty values, not 0. Priority renders high / med / low.
Grouping key (standalone items, all modes): type if set; else the first tag not in {agent-observation, feature, container}; else "Uncategorized".
statusLabel: the role drives the symbol. Print the label only for a non-terminal item whose label differs from the role default; never on terminal items.
Cancelled is not done: wherever terminal items are broken down, count statusLabel: "cancelled" separately.
Truncation: if any response had page.truncated that paging could not resolve, end the dashboard with ⚠ showing X of Y - never silently drop data.
Observations: sparingly. A healthy project needs zero.
Do NOT render a UUID table. Keep the short-to-full mapping as internal context; when the user cites a short id ("start 0499a6aa"), resolve it silently from the data already collected (every id field accepts 8 hex characters; an ambiguous prefix is ambiguous_id).
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.