beads

Beads (bd) Dolt-backed issue tracker for agent task memory. Covers CLI ops, molecules, Dolt sync, Linear/Jira/GitLab. Use when tracking tasks and dependencies with the Beads CLI, syncing issues via Dolt, or integrating with Linear/Jira/GitLab. Keywords: bd, beads, Dolt, issue tracker.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "beads" with this command: npx skills add itechmeat/llm-code/itechmeat-llm-code-beads

Beads (bd)

Distributed, Dolt-backed (Git-like) graph issue tracker for AI coding agents. Persistent memory with dependency-aware task tracking.

Quick Start

Install: brew install steveyegge/beads/bd or use the install script from the GitHub repo.

# Initialize in repo (humans run once)
bd init

# Tell your agent
echo "Use 'bd' for task tracking" >> AGENTS.md

When to Use

  • AI agent needs persistent task memory across sessions
  • Tracking dependencies between tasks (blocks:, depends_on:)
  • Multi-agent/multi-branch workflows (hash-based IDs prevent conflicts)
  • Incremental delivery with molecules/gates
  • Sync issues with GitLab, Linear, Jira, GitHub

Essential Commands

CommandAction
bd readyList tasks with no open blockers
bd ready --gatedTasks waiting at gate checkpoints
bd create "Title" -p 0Create P0 task
bd show <id>View task details and audit trail
bd update <id> --status=XUpdate status (open/in_progress/done)
bd close <id>Close task
bd dep add <child> <parent>Link tasks (blocks, related, parent)
bd listList issues (default: 50, non-closed)
bd show --currentShow active issue (no ID needed)
bd update <id> --claimAtomically claim issue for work
bd syncSync database state
bd dolt pullPull latest DB changes (advanced)
bd dolt pushPush DB changes (advanced)
bd bootstrapRepair/bootstrap workspace identity
bd contextShow current workspace/task context
bd kv set <key> <value>Store key-value pair
bd kv get <key>Retrieve stored value
bd dolt showShow Dolt connection/remote settings
bd gitlab syncSync with GitLab
bd github syncSync with GitHub Issues
bd rememberWrite persistent agent memory
bd recallRead persistent agent memory
bd purgeDelete closed ephemeral beads (wisps)

Hash-Based IDs

Issues use hash-based IDs like bd-a1b2 to prevent merge conflicts:

bd create "Fix login bug" -p 1
# Created: bd-x7k3

bd show bd-x7k3

Hierarchical IDs

bd-a3f8      (Epic)
bd-a3f8.1    (Task)
bd-a3f8.1.1  (Sub-task)

Use bd children <id> to view hierarchy.

References

FilePurpose
workflow.mdDaily operations, status flow, sync
authoring.mdWriting quality issues, EARS patterns
molecules.mdMolecules, gates, formulas, compounds
sync.mdDolt sync, upgrades, and integrations

Key Concepts

Dolt as Database

Beads stores issues in a Dolt database. Team synchronization happens via Dolt-style pull/push, not by committing JSONL files into your repo history.

Dependency Graph

bd dep add bd-child bd-parent --blocks   # child blocks parent
bd dep add bd-a bd-b --related           # related items
bd ready                                 # only shows unblocked work

Molecules (Advanced)

Molecules group related issues with gates for incremental delivery:

bd mol create "Feature X" --steps=3      # Create 3-step molecule
bd mol progress bd-xyz                   # Check progress
bd mol burn bd-xyz                       # Complete molecule

Stealth Mode

Use Beads locally without committing to repo:

bd init --stealth

Contributor vs Maintainer

# Contributor (forked repos) — separate planning repo
bd init --contributor

# Maintainer auto-detected via SSH/HTTPS credentials

Configuration

Config stored in .beads/config.yaml:

The exact schema evolves between releases. Prefer using CLI helpers to inspect and validate your current setup:

  • bd dolt show to see current Dolt connection/remote settings
  • bd dolt test to validate connectivity
  • bd doctor / bd doctor --deep for health checks

Storage Backend (Dolt)

Beads uses Dolt as its primary backend. Depending on your setup, Dolt can run:

  • Embedded (single-writer, no daemon)
  • Server mode (multi-writer)

Use bd doctor (and bd doctor --server when applicable) to validate your environment. For legacy stores, use bd migrate workflows.

Agent Integration

Tell Agent About Beads

Add to AGENTS.md:

## Task Tracking

Use `bd` for task tracking. Run `bd ready` to find work.

Agent-Optimized Output

BD_AGENT_MODE=1 bd list --json  # Ultra-compact JSON output
bd list --json                   # Standard JSON output

MCP Plugin

Beads includes Claude Code MCP plugin for direct integration.

Release Highlights (0.60.0)

  • GitHub Issues joins the tracker integration surface alongside GitLab, Linear, and Jira.
  • bd bootstrap now executes workspace identity and recovery actions directly instead of only printing advice.
  • bd context provides a concise working-context surface for the current workspace/session.
  • --design-file lets you source design content from files instead of forcing large inline payloads.
  • bd init / re-init flows add --destroy-token for safer non-interactive destructive initialization.
  • Error handling is more machine-friendly with JSON-aware output and JSONL schema validation.
  • If a repo-local PRIME file is missing, Beads can fall back to ~/.config/beads/PRIME.md.

Critical Commands

# What to work on
bd ready                    # Unblocked tasks
bd ready --pretty           # Formatted output

# Create with dependencies
bd create "Task B" --blocks bd-a1b2

# Doctor (fix issues)
bd doctor                   # Check health
bd doctor --fix             # Auto-fix problems

bd sync                     # Sync DB state

bd dolt pull                # Pull latest changes (advanced)
bd dolt push                # Push to remote (advanced)

Anti-patterns

❌ Wrong✅ Correct
priority: high-p 1 (P0-P4 numeric)
Manual JSON editingUse bd commands
Ignoring bd readyAlways check blockers first
Skipping bd syncSync before/after work
Creating without depsDeclare --blocks upfront

Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

react-testing-library

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

social-writer

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

commits

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

mantine-dev

No summary provided by upstream source.

Repository SourceNeeds Review