AGENT SKILL

session-tasks

Aggregates tasks across Claude Code task lists and sessions — shows pending, in-progress, and completed tasks with dependencies. Use when the user asks "what tasks are pending", "show my tasks", "orphaned tasks", "task dependencies", or wants a cross-session task inventory.

License 许可
Apache-2.0
最近更新
2026-11-15
Stars
★ 0
Forks
0

01 前言 Front Matter

name
session-tasks
description
Aggregates tasks across Claude Code task lists and sessions — shows pending, in-progress, and completed tasks with dependencies. Use when the user asks "what tasks are pending", "show my tasks", "orphaned tasks", "task dependencies", or wants a cross-session task inventory.
allowed-tools
Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_store.py":*) Bash(python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_transcript.py":*)

02 资源文件 1

03 SKILL.md 正文

Session Tasks

Aggregate tasks from the Tasks filesystem (~/.claude/tasks/) and session JSONL.

When to Use

  • Wants a cross-session/cross-task-list task inventory, filtered by status or dependencies
  • "what tasks are pending", "show my tasks", "task dependencies"

When NOT to Use

  • Task detail for one specific session → use session-detail instead (this skill aggregates across all task lists/sessions)

List all task lists

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_store.py" task-lists

This includes each list's last_modified timestamp — needed for the orphaned-task check below. This command always prints JSON.

All tasks across all task lists

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_store.py" tasks --format json

--format json is required — the default table view only has status/subject/task_list_id, not description, blockedBy/blocks, activeForm, or source, all of which the presentation below needs.

Filter by status

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_store.py" tasks --status pending --format json
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_store.py" tasks --status in_progress --format json

Tasks from a specific task list

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_store.py" tasks --task-list <task-list-id> --format json

Fallback: tasks from a session JSONL (legacy)

python3 "${CLAUDE_PLUGIN_ROOT}/scripts/session_transcript.py" tasks <session-jsonl-path>

Present results

Group tasks by status:

  1. In Progress tasks first (actively being worked on — check activeForm for current activity)
  2. Pending tasks (need attention — check blockedBy for dependencies)
  3. Completed tasks

For each task show: subject, description, status, task list ID, dependencies.

If tasks have blocks/blockedBy relationships, show a dependency summary:

  • "Task 2 (Add tests) is blocked by Task 1 (Setup project)"

Orphaned tasks: tasks aren't self-tagged with an age — cross-reference each task's task_list_id against task-lists' own last_modified field. Flag a task as orphaned if its status is "pending" or "in_progress" and its owning task list's last_modified is more than 7 days old.

The source field indicates whether the task came from the filesystem ("filesystem") or was extracted from session JSONL ("jsonl").

Testing & Validation

Eval suite: evals/session-tasks/ — 3 scenarios, skill-tester Quick Workflow blind comparison, all passed. Eval 3 verified orphaned status is computed by cross-referencing task-lists' last_modified, never asserted as a raw field, with --format json used throughout.

Last dated run record: evals/session-tasks/workspace/iteration-1/eval-{1,2,3}/with_skill/grading.json, 2026-09-03. scripts/smoke_test.py structural self-check also passing as of the same date.

Verify this skill activates on:

  • "what tasks are pending"
  • "show my tasks across all sessions"
  • "which tasks are orphaned"

Verify it does NOT activate on:

  • "what tasks are in this session" (single session) → session-detail

Quality gates:

  • [ ] tasks invocations include --format json
  • [ ] "Orphaned" is computed by cross-referencing task-lists' last_modified, never asserted as a field the tasks output itself carries

04 同仓库更多 Skills

AndreHahm
AndreHahm/andres-cc-marketplace

demo

Fixture skill used by scripts.marketplace_ci sync tests.

★ 0
AndreHahm
AndreHahm/andres-cc-marketplace

export-demo

Fixture skill used by scripts.marketplace_ci export tests.

★ 0
AndreHahm
AndreHahm/andres-cc-marketplace

work-to-development

Validate an accepted Linear Issue's readiness for implementation (criteria, dependencies, duplicate/existing artifacts) and request governed branch/worktree creation through git-kit:starting-work — recording work-started Git/GitHub evidence and a deliberate Linear Started transition only after Git identity is read back and verified. Use when asked to start work on a Linear issue, begin development for an accepted issue, or prepare an accepted issue for implementation. Never creates a branch directly — always delegates to git-kit.

★ 0
AndreHahm
AndreHahm/andres-cc-marketplace

work-linking

Create and maintain stable cross-system links and authority labels between Notion and Linear records, and detect/repair drift between them. Use when asked to link a Notion record to a Linear record, check for drift between Notion and Linear, or repair a broken/stale link. Repairs only the bounded non-authoritative copy or link — never chooses by newest timestamp, and never creates a reverse-write loop against either system's own authority.

★ 0
AndreHahm
AndreHahm/andres-cc-marketplace

status-and-learning

Produce a dated, explicitly non-live Linear-to-Notion progress summary, or capture an outcome/learning after work completes. Use when asked to summarize progress to Notion, report portfolio status, or capture what was learned from a completed piece of work — not to disposition open follow-up items (see open-item-management for that). Never runs automatically or continuously — every summary is a deliberate, approved snapshot, not a live sync.

★ 0
AndreHahm
AndreHahm/andres-cc-marketplace

repository-gates

Discover, delegate, record, and invalidate this repository's actual Git/GitHub lifecycle gates (pre-commit, pre-push, PR required checks, Codex delta review, review requirements, merge rights) and the repository-policy provider profile that maps governed operations to git-kit. Use when asked what gates apply to this repository, to discover repository policy before starting Wave 2 work, or to check whether prior gate evidence is still valid after new commits. Discovery and delegation only — never executes a gate's own internal logic, and never invents a gate the repository doesn't actually define (in particular, never assumes a "Review Changes" gate exists).

★ 0