td-task-management
Original:🇺🇸 English
Translated
Task management for AI agents across context windows. Use when agents need to track work, log progress, hand off state, and maintain context across sessions. Includes workflows for single-issue focus, multi-issue work sessions, and structured handoffs. Essential for AI-assisted development where context windows reset between sessions.
1installs
Sourcemarcus/td
Added on
NPX Install
npx skill4agent add marcus/td td-task-managementTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →td - Task Management for AI Agents
Overview
tdtdCore capability: Run and get everything needed for the next action—current focus, pending reviews, open issues, recent decisions.
td usageQuick Start
Session Start (Every Time)
bash
td usage --new-session # Auto-rotation + see current stateOutput tells you:
- Active work sessions and recent decisions
- What issues are pending review (you can review these)
- Highest priority open issues
- Recent handoffs from previous sessions
Single-Issue Workflow
For focused work on one issue:
bash
td start <issue-id> # Begin work
td log "OAuth callback implemented" # Track progress
td log --decision "Using JWT tokens" # Log decisions
td handoff <id> --done "..." --remaining "..." # Capture state
td review <id> # Submit for reviewMulti-Issue Workflow (Recommended for Agents)
For agents handling related issues:
bash
td ws start "Auth implementation" # Start work session
td ws tag td-a1b2 td-c3d4 # Associate issues (auto-starts them)
td ws tag --no-start td-e5f6 # Associate without starting
td ws log "Shared token storage" # Log to all tagged issues
td ws handoff # Capture state, end sessionKey Workflows
Workflow 1: Starting New Work
bash
# 1. Check what to work on
td usage # See current state
td next # Highest priority open issue
td critical-path # What unblocks most work
# 2. Start work
td start <id>
# 3. Begin logging
td log "Started implementation"Workflow 2: Handing Off Work
This is critical for agent-to-agent handoffs:
bash
td handoff <id> \
--done "OAuth flow, token storage" \
--remaining "Refresh token rotation, error handling" \
--decision "Using JWT for stateless auth" \
--uncertain "Should tokens expire on password change?"Keys:
- - What's actually complete (be honest)
--done - - What's left (be specific)
--remaining - - Why you chose approach X
--decision - - What you're unsure about
--uncertain
Next session will see all this context with or .
td usagetd context <id>Workflow 3: Reviewing Code
bash
# 1. See reviewable issues
td reviewable
# 2. Check details
td show <id>
td context <id>
# 3. Approve or reject
td approve <id>
# Or:
td reject <id> --reason "Missing error handling"Important: You cannot approve work you implemented. Session isolation enforces this.
Workflow 4: Handling Blockers
bash
# 1. Log the blocker
td log --blocker "Waiting on API spec from backend team"
# 2. Work on something else
td next # Get another issue
td ws tag td-e5f6 # Add to work session
# 3. Come back to blocked issue later
td context td-a1b2 # Refresh context when blocker resolvesCommands by Category
Checking Status
- - Current state, reviews, next steps
td usage - - Compact view (after first read)
td usage -q - - What you're working on
td current - - Current work session state
td ws current - - Highest priority open
td next - - What unblocks most work
td critical-path
Working on Issues
- - Begin work
td start <id> - - Revert to open (undo accidental start)
td unstart <id> - - Track progress
td log "msg" - - Log decision
td log --decision "..." - - Log blocker
td log --blocker "..." - - View details
td show <id> - - Full context for resuming
td context <id>
Handing Off
- - Single issue
td handoff <id> --done "..." --remaining "..." - - Multi-issue work session
td ws handoff
Reviews
- - Submit for review
td review <id> - - Issues you can review
td reviewable - - Approve (different session only)
td approve <id> - - Reject
td reject <id> --reason "..."
Creating/Managing Issues
- - Create
td create "title" --type feature --priority P1 - - List all
td list - - Filter by status
td list --status in_progress - - Mark as blocked
td block <id> - - Delete
td delete <id>
File Tracking
- - Track files with issue
td link <id> <files...> - - Show file changes
td files <id>
Other
- - Live dashboard
td monitor - - Force new session
td session --new "name" - - Undo last action
td undo
See quick_reference.md for full command listing.
Resources
quick_reference.md
Complete command reference organized by task type.
ai_agent_workflows.md
Detailed workflows for common AI agent scenarios:
- Single-issue focus
- Multi-issue work sessions
- Handling blockers
- Resuming work
- Code review process
- Tips for AI agents
Issue Lifecycle
open → in_progress → in_review → closed
| |
v | (reject)
blocked -----------+Key Principles
Session Isolation: Every terminal/context gets a unique session ID. The session that implements code cannot approve it. Different session must review. This forces actual handoffs and prevents "works on my context" bugs.
Structured Handoffs: Don't just say "here's what I did"—structure it with done/remaining/decisions/uncertain so next agent has clear context.
Minimal: Does one thing. Single binary, SQLite local storage (), no server, works with any AI tool.
.todos/For AI Agents
Always start conversation with:
bash
td usage --new-sessionThis auto-rotates sessions and gives you current state. Then:
- Single focused issue → Use single-issue workflow
- Multiple related issues → Use for work sessions
td ws start - Before context ends → Always or
td handofftd ws handoff - Log decisions → Use flag to explain reasoning
--decision - Log uncertainty → Use flag to mark unknowns
--uncertain - Track files → Use so future sessions know what changed
td link
See ai_agent_workflows.md for detailed examples.