beads
Dolt-powered issue tracker for multi-session work with dependencies and persistent memory across conversation compaction. Use when work spans sessions, has blockers, or needs context recovery after compaction. Trigger with "create task", "what's ready", "track this work", "resume after compaction". Make sure to use this skill whenever managing multi-session work, tracking dependencies, or recovering context.
- License 许可
- MIT
- 最近更新
- 2026-09-29
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- beads
- tags
- [ "issue-tracking", "task-management", "multi-session", "dependencies" ]
- author
- Steve Yegge <steve.yegge@gmail.com>
- license
- MIT
- version
- 0.60.0
- description
- Dolt-powered issue tracker for multi-session work with dependencies and persistent memory across conversation compaction. Use when work spans sessions, has blockers, or needs context recovery after compaction. Trigger with "create task", "what's ready", "track this work", "resume after compaction". Make sure to use this skill whenever managing multi-session work, tracking dependencies, or recovering context.
- allowed-tools
- Read,Bash(bd:*)
- compatible-with
- [ "claude-code", "codex" ]
02 资源文件 48
- 参考文档adr/0001-bd-prime-as-source-of-truth.md1.7 KB
- 参考文档agents/openai.yaml175 B
- 参考文档CLAUDE.md2.6 KB
- 参考文档commands/audit.md956 B
- 参考文档commands/blocked.md561 B
- 参考文档commands/close.md585 B
- 参考文档commands/comments.md967 B
- 参考文档commands/compact.md1.1 KB
- 参考文档commands/create.md651 B
- 参考文档commands/decision.md2.6 KB
- 参考文档commands/delete.md961 B
- 参考文档commands/dep.md3.3 KB
- 参考文档commands/epic.md1.0 KB
- 参考文档commands/export.md800 B
- 参考文档commands/import.md4.3 KB
- 参考文档commands/init.md753 B
- 参考文档commands/label.md898 B
- 参考文档commands/list.md2.6 KB
- 参考文档commands/prime.md363 B
- 参考文档commands/quickstart.md537 B
- 参考文档commands/ready.md568 B
- 参考文档commands/rename-prefix.md574 B
- 参考文档commands/reopen.md595 B
- 参考文档commands/restore.md714 B
- 参考文档commands/search.md3.1 KB
- 参考文档commands/show.md563 B
- 参考文档commands/stats.md617 B
- 参考文档commands/sync.md4.8 KB
- 参考文档commands/template.md6.5 KB
- 参考文档commands/update.md870 B
- 参考文档commands/version.md975 B
- 参考文档commands/workflow.md1.9 KB
- 参考文档README.md4.8 KB
- 参考文档resources/AGENTS.md2.0 KB
- 参考文档resources/ASYNC_GATES.md6.0 KB
- 参考文档resources/BOUNDARIES.md16.6 KB
- 参考文档resources/CHEMISTRY_PATTERNS.md6.7 KB
- 参考文档resources/CLI_REFERENCE.md698 B
- 参考文档resources/DEPENDENCIES.md19.4 KB
- 参考文档resources/INTEGRATION_PATTERNS.md13.5 KB
- 参考文档resources/ISSUE_CREATION.md5.0 KB
- 参考文档resources/MOLECULES.md10.1 KB
- 参考文档resources/PATTERNS.md11.2 KB
- 参考文档resources/RESUMABILITY.md5.3 KB
- 参考文档resources/STATIC_DATA.md2.0 KB
- 参考文档resources/TROUBLESHOOTING.md12.8 KB
- 参考文档resources/WORKFLOWS.md19.0 KB
- 参考文档resources/WORKTREES.md3.6 KB
03 SKILL.md 正文
Beads - Persistent Task Memory for AI Agents
Graph-based issue tracker that survives conversation compaction. Provides persistent memory for multi-session work with complex dependencies.
bd vs TodoWrite
Decision test: "Will I need this context in 2 weeks?" YES = bd, NO = TodoWrite.
| bd (persistent) | TodoWrite (ephemeral) |
|---|---|
| Multi-session, dependencies, compaction survival | Single-session linear tasks |
| Dolt-backed team sync | Conversation-scoped |
See BOUNDARIES.md for detailed comparison.
Prerequisites
bd --version # Requires v0.60.0+
- bd CLI installed and in PATH
- Git repository (optional — use
BEADS_DIR+--stealthfor git-free operation) - Initialization:
bd initrun once (humans do this, not agents)
CLI Reference
Run bd prime for AI-optimized workflow context (auto-loaded by hooks).
Run bd <command> --help for specific command usage.
Essential commands: bd ready, bd create, bd show, bd update, bd close, bd dolt push
Session Protocol
bd ready— Find unblocked workbd show <id>— Get full contextbd update <id> --claim— Claim and start work atomically- Add notes as you work (critical for compaction survival)
bd close <id> --reason "..."— Complete taskbd dolt push— Push to Dolt remote (if configured)
Output
Append --json to any command for structured output. Use bd show <id> --long for extended metadata. Status icons: ○ open ◐ in_progress ● blocked ✓ closed ❄ deferred.
Error Handling
| Error | Fix |
|---|---|
database not found |
bd init <prefix> in project root |
not in a git repository |
git init first |
disk I/O error (522) |
Move .beads/ off cloud-synced filesystem |
| Status updates lag | Use server mode: bd dolt start |
See TROUBLESHOOTING.md for full details.
Examples
Track a multi-session feature:
bd create "OAuth integration" -t epic -p 1 --json
bd create "Token storage" -t task --deps blocks:oauth-id --json
bd ready --json # Shows unblocked work
bd update <id> --claim --json # Claim and start
bd close <id> --reason "Implemented with refresh tokens" --json
Recover after compaction: bd list --status in_progress --json then bd show <id> --long
Discover work mid-task: bd create "Found bug" -t bug -p 1 --deps discovered-from:<current-id> --json
Advanced Features
| Feature | CLI | Resource |
|---|---|---|
| Molecules (templates) | bd mol --help |
MOLECULES.md |
| Chemistry (pour/wisp) | bd pour, bd wisp |
CHEMISTRY_PATTERNS.md |
| Agent beads | bd agent --help |
AGENTS.md |
| Async gates | bd gate --help |
ASYNC_GATES.md |
| Worktrees | bd worktree --help |
WORKTREES.md |
Resources
| Category | Files |
|---|---|
| Getting Started | BOUNDARIES.md, CLI_REFERENCE.md (live reference pointers), WORKFLOWS.md |
| Core Concepts | DEPENDENCIES.md, ISSUE_CREATION.md, PATTERNS.md |
| Resilience | RESUMABILITY.md, TROUBLESHOOTING.md |
| Advanced | MOLECULES.md, CHEMISTRY_PATTERNS.md, AGENTS.md, ASYNC_GATES.md, WORKTREES.md |
| Reference | STATIC_DATA.md, INTEGRATION_PATTERNS.md |
Validation
If bd --version reports newer than 0.60.0, this skill may be stale. Run bd prime for current CLI guidance — it auto-updates with each bd release and is the canonical source of truth (ADR-0001).
04 同仓库更多 Skills
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
write-skill
Use when creating, designing, or fixing an agent skill (SKILL.md pack) — triggers include "write a skill", "make me a skill", "create a skill", skill directories, and skills that fail to trigger or fire on the wrong tasks.
write-agent
Use when creating, designing, or fixing an omp subagent (task agent) — triggers include "write an agent", "make me an agent", "create a subagent", agent `.md` definitions, and agents that misbehave when spawned via task.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
wayfinder
Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.
wait-what
Stop. That last message did not land: re-pitch it.