npx skills add ...
npx skills add getsentry/dotagents --skill dex
npx skills add getsentry/dotagents --skill dex
Manage tasks via dex CLI. Use when breaking down complex work, tracking implementation items, or persisting context across sessions.
The same skill content is published under more than one repo. The install counts are split across them; any of these commands works.
Use dex directly for all commands. If not on PATH, use npx @zeeg/dex instead.
Dex tasks are tickets - structured artifacts with comprehensive context:
Think: "Would someone understand the what, why, and how from this task alone?"
Never reference dex task IDs in external artifacts (commits, PRs, docs). Task IDs like abc123 become meaningless once tasks are completed. Describe the work itself, not the task that tracked it.
Use dex when:
Skip dex when:
Some AI agents (like Claude Code) have built-in task tools. These are session-only and not the same as dex.
| dex | Built-in Task Tools | |
|---|---|---|
| Persistence | Files in .dex/ | Session-only |
| Context | Rich (description + context + result) | Basic |
| Hierarchy | 3-level (epic → task → subtask) | Flat |
Use dex for persistent work. Use built-in task tools for ephemeral in-session tracking only.
Description should include: what needs to be done, why, implementation approach, and acceptance criteria. See examples.md for good/bad examples.
GitHub/Shortcut-linked tasks require either --commit <sha> or --no-commit:
--commit <sha> when you have code changes (issue closes when merged)--no-commit for non-code tasks like planning or design (issue stays open)Always verify before completing. Results must include evidence: test counts, build status, manual testing outcomes. See verification.md for the full checklist.
For full CLI reference including blockers, see cli-reference.md.
Tasks have two text fields:
dex list)--full)When you run dex show <id>, the description may be truncated. The CLI will hint at --full if there's more content.
When picking up a task, gather all relevant context:
Before starting, verify you can answer:
If any answer is unclear:
Proceed without full context when:
Three levels: Epic (large initiative) → Task (significant work) → Subtask (atomic step).
Choosing the right level:
For detailed hierarchy guidance, see hierarchies.md.
Complete tasks immediately after implementing AND verifying:
Your result must include explicit verification evidence. Don't just describe what you did—prove it works. See verification.md.
When a task is linked to a GitHub issue (shown in dex show output), include issue references in commit messages:
Fixes #N
Refs #N
Check dex show <id> for GitHub issue info before committing. The "(via parent)" indicator means use Refs, direct metadata means use Fixes.
dex complete <id> --result "What was accomplished" --commit <sha>dex edit <id> --description "Updated description"
dex delete <id>dex show <id> --full # Full task details
dex show <parent-id> --full # Parent context (if applicable)
dex show <blocker-id> --full # What blockers accomplished# Create subtask under parent
dex create --parent <id> "Subtask name" --description "..."