/taskwarrior-plugin:task-status optional filtersfrom taskwarrior-plugin
Read-only Taskwarrior queue report showing pending, blocked, and ready tasks with drift detection against linked PRs. Useful for queue health audits, standup summaries, and pre-wave orientation.
Ships in taskwarrior-plugin. 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; scripts run unread.
Read-only status report on the coordination queue. Strictly uses export | jq — never list — so parallel Bash batches from downstream skills stay safe.
| Use this skill when... | Use task-coordinate / task-add / task-done instead when... |
|---|---|
| Auditing pending / blocked / stale tasks across the project queue | Picking the top-N candidates for a wave dispatch — use task-coordinate |
| Detecting drift between tasks and their linked GitHub issues / PRs | Filing a new task surfaced by drift detection — use task-add |
Folding gh pr status rollups into a standup-ready report | Closing a PR-ready task with a landed commit — use task-done |
task --versionfind . -maxdepth 1 -name '.git' -print -quitgh auth statustask _projectsGit probes write to stderr in a no-git cwd, which aborts a Context command, so the project is resolved in the body by the bundled resolver.
Parse $ARGUMENTS:
--mine — limit to tasks where the agent UDA matches claude-${CLAUDE_SESSION_ID:0:8} (the value /taskwarrior:task-claim writes). Useful for "what am I currently holding?" reports.--blocked — only tasks with +blocked / +blocked_on_merge or active depends:--active — only +ACTIVE tasks (claimed and in flight)--stale=N — highlight tasks modified > N days ago--stale-claim-after=N — threshold (hours) for flagging a +ACTIVE claim as stale in the "Stale claims" section. Default 4. Reports only — never auto-stops.--project=<name> — override the auto-detected project filter--all — opt out of project filtering and report across every projectDefault behaviour is project-scoped — surfacing tasks from other repos as "queue noise" is the most common waste of agent context. Resolve the project identifier in this order:
--project=<name> if provided.--all → no project filter.origin remote's repo name, used only when
the basename slug has 0 pending tasks and the remote name has some.The bundled resolver applies steps 1 and 3–5, counting pending tasks per
slug (the slug plus its . children). Run it unless --all is set:
bash "${CLAUDE_SKILL_DIR}/scripts/project-slug-check.sh"
bash "${CLAUDE_SKILL_DIR}/scripts/project-slug-check.sh" --project myrepo
It prints PROJECT= (the slug to query), DETECTION=
(flag / basename / remote / cwd), PROJECT_PENDING=, and, when
that is 0, NEAREST_SLUGS=slug:count,… (up to 5: slugs similar to the
basename or remote name first, then the fullest).
Zero tasks is a slug question, not an empty queue. When
PROJECT_PENDING=0, lead with Project: <slug> matched no pending tasks.
and the hint built from NEAREST_SLUGS (Nearest slugs: routines (5), claude-config (1). Rerun with --project=<slug>.) instead of empty sections.
Execute this workflow:
Pull full state as JSON in a single call, scoped to the resolved project
(omit project:$PROJECT only when --all is set). task export emits
[] on an empty store — valid and exit 0. Substitute the literal
project name into the filter — do not use $() command substitution
in the inline command (shell-operator protections will reject it).
task project:myrepo status:pending export | jq '.[] | {id, uuid, description, urgency, tags, bpid, bpdoc, ghid, ghpr, agent, pid, host, branch, worktree, start, modified, depends, due, scheduled, wait}'
For completeness also pull recently-completed in the same project:
task project:myrepo status:completed end.after:now-7d export | jq '.[] | {id, description, bpid, ghid, end}'
In parallel, pull the in-flight set so the "In flight" and "Stale claims" sections in Step 5 have data to render:
task project:myrepo +ACTIVE export | jq '.[] | {id, uuid, description, agent, pid, host, branch, worktree, start, urgency}'
task project:myrepo +ACTIVE start.before:now-4h export | jq '.[] | {id, uuid, agent, host, branch, start}'
These three reads are independent and parallel-safe — export returns
exit 0 on empty.
By urgency descending, then by milestone (bpms), then by blueprint kind
(+wo / +prp / +fr / +re). Use jq to partition:
task project:myrepo status:pending export \
| jq 'group_by(.bpms) | map({milestone: .[0].bpms, tasks: sort_by(-.urgency)})'
For each task with bpdoc: check the file exists and is readable. Flag
missing or unreadable bpdoc as drift.
For each task with ghid in GitHub mode:
gh issue view "$GHID" --json number,state | jq
Flag:
drift: stale-open+pr_ready but PR not in OPEN — drift: pr-state-mismatchgh pr status --json number,title,state,statusCheckRollup | jq
Join by ghpr UDA. Annotate each matched task with its PR's check
rollup (SUCCESS / FAILURE / PENDING). Tasks tagged +pr_ready
with a green PR are the highest-value drain candidates.
Lead the report with the resolved project scope so the reader knows
whether they're seeing a single-project view or --all:
Project: myrepo (auto-detected from git toplevel)
Pass --all for cross-project view, --project=<name> to override.
Name the DETECTION source (from git remote name for remote). When
PROJECT_PENDING=0, use the zero-task lead from
Project resolution instead of these sections.
Output these sections, in order:
+READY + unclaimed), blocked count, overdue count, stale count, stale-claim count+ACTIVE tasks with agent / branch / host / worktree and time since start. Sorted by start ascending (oldest first). Section header notes --mine / --all scope.--stale-claim-after): subset of "In flight" with start.before:now-Nh. Recommend /taskwarrior:task-release <id> per row — the report never auto-stops.+READY -ACTIVE (taskwarrior's native ready set — unblocked, not waiting, scheduled-due). These are what /taskwarrior:task-coordinate would emit. Flag any +OVERDUE rows (past due:) at the top.bpmsEach row cites the command to act on it (/taskwarrior:task-done 7,
/taskwarrior:task-release 4, /taskwarrior:task-claim 11), plus the task's
short UUID (.uuid[0:8]) as a copy-pasteable immutable form — convenience
only, not the safety mechanism (/taskwarrior:task-claim /
task-release / task-done resolve and mutate by UUID internally
regardless of which form is pasted; see .claude/rules/task-id-stability.md).
| Context | Command |
|---|---|
| Project queue JSON | task project:myrepo status:pending export | jq |
Cross-project queue (--all) | task status:pending export | jq |
| Ready-for-dispatch (excludes claimed) | task project:myrepo status:pending +READY -ACTIVE export | jq 'sort_by(-.urgency) | .[:5]' |
| Overdue tasks | task project:myrepo status:pending +OVERDUE export | jq 'sort_by(-.urgency)' |
| In flight | task project:myrepo +ACTIVE export | jq '.[] | {id, agent, branch, host, start}' |
| Stale claims (>4h) | task project:myrepo +ACTIVE start.before:now-4h export | jq |
| Mine (claimed by this agent) | task project:myrepo +ACTIVE agent:claude-${CLAUDE_SESSION_ID:0:8} export | jq |
| PR status | gh pr status --json number,state,statusCheckRollup |
| Drift check | gh issue view "$GHID" --json state |
| Never use | task list, task next, task report — exit 1 on empty |
| Filter | Expands to |
|---|---|
project:<name> | Single project (default scope) |
status:pending | Open tasks |
+READY | Native ready set: unblocked, not waiting, scheduled-due |
-BLOCKED | Exclude depends:-blocked (subsumed by +READY) |
+DUE / +OVERDUE | Due within 7 days / past due: |
+ACTIVE / -ACTIVE | Tasks with task start time set / not set |
start.before:now-4h | Stale claims |
agent:claude-<sid> | Mine (UDA-based) |
urgency.above:5 | High-urgency only |
modified.before:now-30d | Stale |
bpms:M6 | Single milestone |
/taskwarrior:task-coordinate — next-N candidates for dispatch/taskwarrior:task-claim — pick up a "Ready" candidate from this report/taskwarrior:task-release — release a "Stale claim" surfaced by this report/taskwarrior:task-add — file something surfaced by drift detection/taskwarrior:task-done — close PR-ready tasks.claude/rules/parallel-safe-queries.md — export | jq idiomdocs/rules/task-id-stability.md — why the report's UUID column is convenience, not the safety mechanismWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
taskwarrior, queue-report, pr-drift, standup-summary, project-filter
npx claudepluginhub laurigates/claude-plugins --plugin taskwarrior-plugin10 skills in this plugin
/install-native-hooksInstall opt-in taskwarrior native on-add/on-modify/on-exit hooks: auto-stamp project, enforce claims, batch GitHub sync, maintain coworker markers. Use when hardening a local taskwarrior store./task-addFile a taskwarrior task with a verified project slug and blueprint/GitHub linkage. Use when logging cross-session follow-ups, confirming a project slug, or mirroring a GitHub issue./task-bulk-opsBatch taskwarrior operations without the ID-renumbering and stdin foot-guns. Use when closing/triaging/modifying many tasks in one pass, bulk `task done` loops, or scripting task queries.Other plugins' skills for the same job