mcpField
B
beads

beads

github.com/gastownhallAgent workflows28.3k2.1k installsUpdated today
Repository

About beads

Beads is a graph-based issue tracker for AI agents managing work that spans sessions. Its persistent issue state, dependencies, and Dolt-backed team sync help preserve context through conversation compaction.

Key features

  1. 01Persistent issue tracking
  2. 02Dependency-aware work planning
  3. 03Resume work after compaction
  4. 04Dolt-backed team synchronization
  5. 05JSON command output

Use cases

  1. 01Track a feature across multiple sessions
  2. 02Find and claim unblocked tasks
  3. 03Restore in-progress work after compaction

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/gastownhall/beads --skill beads

After installing, type/beadsin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

CLAUDE.md
adr/
0001-bd-prime-as-source-of-truth.md
agents/
openai.yaml
commands/
audit.md
blocked.md
close.md
comments.md
compact.md
create.md
decision.md
delete.md
dep.md
epic.md
export.md
import.md
init.md
label.md
list.md
prime.md
quickstart.md
ready.md
rename-prefix.md
reopen.md
restore.md
search.md
show.md
stats.md
sync.md
template.md
update.md

Details

From the project README

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 survivalSingle-session linear tasks
Dolt-backed team syncConversation-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 + --stealth for git-free operation)
  • Initialization: bd init run 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

  1. bd ready — Find unblocked work
  2. bd show <id> — Get full context
  3. bd update <id> --claim — Claim and start work atomically
  4. Add notes as you work (critical for compaction survival)
  5. bd close <id> --reason "..." — Complete task
  6. bd 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

ErrorFix
database not foundbd init <prefix> in project root
not in a git repositorygit init first
disk I/O error (522)Move .beads/ off cloud-synced filesystem
Status updates lagUse 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

FeatureCLIResource
Molecules (templates)bd mol --helpMOLECULES.md
Chemistry (pour/wisp)bd pour, bd wispCHEMISTRY_PATTERNS.md
Agent beadsbd agent --helpAGENTS.md
Async gatesbd gate --helpASYNC_GATES.md
Worktreesbd worktree --helpWORKTREES.md

Resources

CategoryFiles
Getting StartedBOUNDARIES.md, CLI_REFERENCE.md (live reference pointers), WORKFLOWS.md
Core ConceptsDEPENDENCIES.md, ISSUE_CREATION.md, PATTERNS.md
ResilienceRESUMABILITY.md, TROUBLESHOOTING.md
AdvancedMOLECULES.md, CHEMISTRY_PATTERNS.md, AGENTS.md, ASYNC_GATES.md, WORKTREES.md
ReferenceSTATIC_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).

Comments

Markdown supported