| name | beads |
| description | Track tasks and issues using the bd CLI. Use for task management, sprint planning, dependency tracking, and project organization. Replaces TodoWrite. |
Beads Issue Tracker
Git-backed issue tracking with dependency awareness. Perfect for agent task management.
Prerequisites
Install beads:
cargo install beads
Initialize in a project:
bd init
CLI Reference
View Ready Work
bd ready --json
bd ready --assignee username --json
bd ready --label "urgent" --json
bd ready --limit 5 --json
Create Issues
bd create "Task title" --json
bd create "Task title" -d "Description" -t task -p 2 --json
bd create "Subtask" --parent epic-123 --force --json
bd create "Task" --deps "other-issue-id" --json
bd create "Task" -q --json
Issue Types
bug - Bug reports
feature - New features
task - General tasks
epic - Parent containers
chore - Maintenance work
Priority Levels
0 - Critical
1 - High
2 - Normal (default)
3 - Low
4 - Backlog
Update Issues
bd update issue-id -s in_progress --json
bd update issue-id --notes "Progress update" --json
bd update issue-id -p 1 --json
bd update issue-id --add-label "urgent" --json
Close Issues
bd close issue-id -r "Completed successfully" --json
List Issues
bd list --status open --json
bd list --type bug --json
bd list --assignee "username" --json
bd list --label "backend" --json
bd list --priority 1 --json
Show Issue Details
bd show issue-id --json
Dependencies
bd dep add issue-a issue-b
bd dep add issue-a issue-b -t blocks
Sync with Git
bd sync
Hygiene Commands
bd duplicates --dry-run
bd duplicates --auto-merge
bd stale --days 14 --json
bd cleanup --dry-run
bd cleanup -f
Install Git Hooks
bd hooks install
System Info
bd --version
bd info --json
Workflow Patterns
Session Start
bd ready --json
Working on a Task
bd update task-id -s in_progress --json
bd update task-id --notes "Halfway done" --json
bd close task-id -r "Implemented and tested" --json
Epic Planning
bd create "User Authentication" -t epic --json
bd create "Design auth flow" --parent auth-epic --force --json
bd create "Implement login" --parent auth-epic --force --json
bd create "Add tests" --parent auth-epic --force --json
bd dep add implement-id design-id -t blocks
bd dep add tests-id implement-id -t blocks
End of Session
bd sync
Worktree Mode
When using git worktrees, disable the daemon:
export BEADS_NO_DAEMON=1
bd --no-daemon ready --json
Best Practices
- Always use
--json for parseable output
- Use
bd ready at session start to see unblocked work
- Add dependencies to express task relationships
- Use epics for grouping related tasks
- Run
bd sync before ending sessions
- Install hooks for automatic sync:
bd hooks install