Agent skill

Td

by espennilsen in espennilsen/pi

Manage tasks and issues with the td CLI. An agent skill from espennilsen/pi.

MITAuto-check passedProduct & Project Management

Install Td

skills CLI
$ npx skills add espennilsen/pi --skill td -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install espennilsen/pi td --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/espennilsen/pi.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/td .claude/skills/td && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
td
GitHub stars
122
Token cost
~1.9k tokens
SKILL.md length
229 words
Files
1
Skills in repo
36
Repo updated
First seen
Licence
MIT

At a glance

Manage tasks and issues with the td CLI. An agent skill from espennilsen/pi.

  • Works in 7 steps: Start — Load context and begin a new… → Pick work — Find what to work on → Start an issue — Set focus and mark… → …
  • Handing off work items
  • SKILL.md covers Session Workflow, Creating Issues, Querying Issues and Issue Lifecycle, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Td is an agent skill from espennilsen/pi. Manage tasks and issues with the td CLI. Use for creating, tracking, querying, and handing off work items. Covers task lifecycle, session management, structured handoffs, epics, dependencies, and boards.

Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering User stories and Authentication. The licence is MIT.

When your agent uses it

  • Handing off work items
  • Tasks that involve User stories
  • Tasks that involve Authentication

Example prompts

  • “/td”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Start — Load context and begin a new session
  2. Pick work — Find what to work on
  3. Start an issue — Set focus and mark in-progress
  4. Log progress — Track decisions, blockers, attempts
  5. Handoff — Capture structured state before ending session
  6. Submit for review — When work is complete
  7. Review — Different session approves or rejects

What it can do on your machine

Read from SKILL.md and the folder at commit 79d019b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Td loads about 1.9k tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 229 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~52
When it runs · the whole SKILL.md, loaded when a task matches
~1.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from espennilsen/pi at commit 79d019b, republished under its MIT licence (© espennilsen). 229 words, ~1,922 tokens.

Download SKILL.mdSave it as .claude/skills/td/SKILL.md (or your agent's skills folder).
name
td
description
Manage tasks and issues with the td CLI. Use for creating, tracking, querying, and handing off work items. Covers task lifecycle, session management, structured handoffs, epics, dependencies, and boards.

td — Task & Session Management

td is a local-first task management CLI optimized for AI-assisted development workflows. It tracks issues, sessions, structured handoffs, and progress logs.

Session Workflow

Every session follows this pattern:

  1. Start — Load context and begin a new session:

    bash
    td usage --new-session    # Full context dump (issues, logs, handoffs)
    td status                 # Quick dashboard: focus, reviews, blocked, ready
  2. Pick work — Find what to work on:

    bash
    td next                   # Highest-priority open issue
    td ready                  # All open issues sorted by priority
    td list --mine            # Issues assigned to current session
  3. Start an issue — Set focus and mark in-progress:

    bash
    td start <issue-id>       # Sets focus + status to in_progress
  4. Log progress — Track decisions, blockers, attempts:

    bash
    td log "Implemented auth middleware"              # Progress (default)
    td log --blocker "Waiting on API key from team"   # Blocker
    td log --decision "Using JWT over session tokens"  # Decision
    td log --tried "Attempted Redis caching"           # Attempted approach
    td log --result "Redis too complex, using in-memory" # Result
    td log --hypothesis "Rate limiting might fix 429s"   # Hypothesis
  5. Handoff — Capture structured state before ending session:

    bash
    td handoff <issue-id> \
      --done "Implemented login endpoint" \
      --done "Added JWT validation" \
      --remaining "Add refresh token flow" \
      --remaining "Write tests for auth middleware" \
      --decision "Using RS256 for JWT signing" \
      --uncertain "Should we support OAuth2 providers?"
  6. Submit for review — When work is complete:

    bash
    td review <issue-id>      # Submit for review (preferred)
  7. Review — Different session approves or rejects:

    bash
    td reviewable             # What can I review?
    td approve <issue-id>     # Ship it → closed
    td reject <issue-id> --reason "Need tests"  # Back to in_progress
Show full SKILL.md (141 more words)Show less

Creating Issues

bash
# Basic
td create "Fix login redirect bug"

# Full options
td create "Add OAuth2 support" \
  --type feature \
  --priority P1 \
  --description "Support Google and GitHub OAuth2 providers" \
  --labels "auth,backend" \
  --parent <epic-id>

# Types: task (default), bug, feature, epic, chore
# Priorities: P0 (critical) → P4 (minimal)
# Points: Fibonacci — 1, 2, 3, 5, 8, 13, 21

Querying Issues

Quick filters
bash
td list                           # All open issues
td list --all                     # Include closed
td list --type bug                # Only bugs
td list --priority P0             # Only critical
td list --status in_progress      # In progress
td list --labels auth             # By label
td list --epic <epic-id>          # All tasks in an epic
td list --sort priority            # Sort by field
td list --long                    # Detailed output
td list --json                    # JSON output
TDQ query language
bash
td query "status = open AND type = bug"
td query "priority <= P1"                    # P0 and P1
td query "created >= -7d"                    # Last 7 days
td query "title ~ auth OR description ~ auth"
td query "log.type = blocker"                # Issues with blockers
td query "implementer = @me AND is(in_progress)"
td query "descendant_of(<epic-id>)"          # All children of epic
td query "rework()"                          # Rejected issues
Saved boards
bash
td board create "Active Bugs" "type = bug AND is(open)"
td board create "My Work" "implementer = @me AND NOT is(closed)"
td board list                                # Show all boards
td board show "Active Bugs"                  # Run saved query

Issue Lifecycle

open → in_progress → in_review → closed
  ↕        ↕            ↕
blocked  blocked      rejected → in_progress (rework)
Review workflow (preferred for non-trivial work)
bash
td start <id>           # open → in_progress (sets focus)
# ... do work, log progress ...
td handoff <id> --done "..." --remaining "..."   # capture state
td review <id>          # in_progress → in_review (requires handoff)

# Different session reviews:
td reviewable           # what can I review?
td approve <id>         # in_review → closed (ship it)
td reject <id> --reason "Missing error handling"  # in_review → in_progress (back to work)
Other transitions
bash
td block <id>           # → blocked
td unblock <id>         # → open
td close <id>           # → closed (skip review, for admin closes only)
td reopen <id>          # → open
Guidelines
  • Always use review → approve/reject for non-trivial work — don't skip to close
  • close is for admin purposes only: duplicates, won't-fix, trivial/minor tasks
  • Session isolation: the session that implements can't approve its own work
  • reject sends work back to in_progress for rework — always include a --reason

Dependencies

bash
td dep add <id> <depends-on-id>     # A depends on B
td dep rm <id> <depends-on-id>      # Remove dependency
td depends-on <id>                  # What does this issue need?
td blocked-by <id>                  # What's waiting on this issue?
td critical-path <id>               # Longest dependency chain

Epics & Hierarchy

bash
# Create an epic
td create "Auth System" --type epic --priority P1

# Add child tasks
td create "Login endpoint" --parent <epic-id>
td create "JWT validation" --parent <epic-id>

# View hierarchy
td tree <epic-id>                   # Visual tree
td list --epic <epic-id>            # All descendants
td epic list                        # List all epics with progress

Session Management

bash
td session "working on auth"        # Name current session
td session --new                    # Start fresh session
td whoami                           # Show current session identity
td focus <id>                       # Set focus without starting
td unfocus                          # Clear focus
td resume <id>                      # Show context + set focus

Inspecting Issues

bash
td show <id>                        # Full detail with logs, handoffs, comments
td show <id> --children             # Include child issues
td comments <id>                    # List comments
td comment <id> "Note about this"   # Add a comment

Useful Shortcuts

bash
td status                # Dashboard: session, focus, reviews, blocked, ready
td next                  # Highest-priority open issue
td ready                 # Open issues sorted by priority
td blocked               # All blocked issues
td in-review             # Issues awaiting review
td reviewable            # Issues you can review
td deleted               # Soft-deleted issues
td restore <id>          # Restore deleted issue

Guidelines

  • Always start sessions with td usage --new-session or td status
  • Log as you go — decisions, blockers, and attempts are valuable for future sessions
  • Handoff before stopping — structured handoffs make resumption seamless
  • Use epics to group related work and track progress
  • Use dependencies to make blocking relationships explicit
  • Use boards to save frequently-used queries
  • P0 = drop everything, P1 = do next, P2 = default, P3 = backlog, P4 = someday

© espennilsen, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/td of espennilsen/pi.

Open the folder on GitHubat commit 79d019b

Compare with similar skills

Td next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Td compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Td this skillespennilsen/pi122—~1.9kAutomated safety check: PassMIT
Execute Issuelbedner/aegis-stack143—~1.1kAutomated safety check: PassMIT
User Story Writerdeanpeters/Product-Manager-Skills7.2k2 repos~2.9kAutomated safety check: PassCustom licence
Ralph Tui Create Beadssubsy/ralph-tui2.5k1 repos~2.6kAutomated safety check: PassMIT
Agile Product Owneralirezarezvani/claude-skills28k3 repos~3.2kAutomated safety check: PassMIT
Ralph Tui Create Beads Rustsubsy/ralph-tui2.5k1 repos~2.8kAutomated safety check: PassMIT

Similar skills

  • Execute Issue

    lbedner/aegis-stack

    A skill your agent uses when handed a GitHub issue (number or URL) to execute end to end.

    143 GitHub stars~1.1k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • User Story Writer

    deanpeters/Product-Manager-Skills

    Writes user stories in Mike Cohn's format with Gherkin acceptance criteria, turning user needs into development-ready work with testable conditions.

    7.2k GitHub starsUsed in 2 repos~2.9k tokens
    Product & Project ManagementAuto-check passed
  • Ralph Tui Create Beads

    subsy/ralph-tui

    Convert PRDs to beads for ralph-tui execution. An agent skill from subsy/ralph-tui.

    2.5k GitHub starsUsed in 1 repo~2.6k tokens
    Product & Project ManagementAuto-check passed
  • Agile Product Owner

    alirezarezvani/claude-skills

    Writes INVEST-checked user stories with acceptance criteria, splits epics, plans sprints from velocity and ranks the backlog with a weighted score.

    28k GitHub starsUsed in 3 repos~3.2k tokens
    Product & Project ManagementAuto-check passed
  • Convert PRDs to beads for ralph-tui execution using beads-rust (br CLI).

    2.5k GitHub starsUsed in 1 repo~2.8k tokens
    Product & Project ManagementAuto-check passed
  • To Spec

    bestofjs/bestofjs

    Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    3.1k GitHub starsUsed in 22 repos~757 tokens
    Product & Project ManagementAuto-check passed

More from espennilsen/pi

All 36 skills in this repo
  • GitHub

    espennilsen/pi

    Interact with GitHub repos, PRs, issues, CI, and notifications via the pi-github extension commands and gh CLI.

    122 GitHub stars~1k tokensUpdated 17 days ago
    Auto-check passed
  • Skill Creator

    espennilsen/pi

    Create, review, and improve skills for Pi agents. An agent skill from espennilsen/pi.

    122 GitHub stars~2.1k tokensUpdated 17 days ago
    Auto-check passed
  • Dry Code Review

    espennilsen/pi

    Perform a comprehensive DRY (Don't Repeat Yourself) code review on a codebase.

    122 GitHub stars~1.7k tokensUpdated 17 days ago
    Auto-check passed
  • Extract Design System

    espennilsen/pi

    Reverse-engineer a design system from a live website (public URL or localhost).

    122 GitHub stars~2k tokensUpdated 17 days ago
    Auto-check passed
  • Herdr Operations

    espennilsen/pi

    A skill your agent uses when inspecting or operating Herdr sessions, workspaces, tabs, panes, agents, terminal output, agent messaging, or waits.

    122 GitHub starsUsed in 1 repo~525 tokens
    Auto-check passed
  • PDF Reader

    espennilsen/pi

    Read and extract content from PDF files — text, tables, metadata, and images.

    122 GitHub stars~1.6k tokensUpdated 17 days ago
    Auto-check passed

Questions about Td

What does Td do?

Manage tasks and issues with the td CLI. An agent skill from espennilsen/pi. Td is an agent skill from espennilsen/pi. Manage tasks and issues with the td CLI.

When should I use Td?

Td fits situations like: handing off work items; tasks that involve User stories; tasks that involve Authentication.

How do I install Td in Claude Code?

Run `npx skills add espennilsen/pi --skill td -a claude-code`. Or copy the skill folder (skills/td in espennilsen/pi) into .claude/skills/td in your project. Claude Code loads it when a task matches its description.

How do I install Td in Codex?

Run `npx skills add espennilsen/pi --skill td -a codex`. Or copy the skill folder (skills/td in espennilsen/pi) into .agents/skills/td in your project. Codex loads it when a task matches its description.

Can I use Td in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add espennilsen/pi --skill td -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/td, .gemini/skills/td, .github/skills/td and .opencode/skills/td in your project.

What does Td need to run?

SKILL.md names no scripts, command-line tools or credentials: Td is instructions for the agent only.

Does Td access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Td safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Td use?

Td is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Td use?

About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Td?

Skills that share tags, products or a category with Td: Execute Issue (lbedner/aegis-stack, 143 stars), User Story Writer (deanpeters/Product-Manager-Skills, 7.2k stars), Ralph Tui Create Beads (subsy/ralph-tui, 2.5k stars) and Agile Product Owner (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Td?

espennilsen (a GitHub user) maintains it in espennilsen/pi, which has 122 GitHub stars. The repository holds 36 skills in this directory. The repository was last updated on September 21, 2026.

Source: espennilsen/pi on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.