New to Claude Skills? Learn how to install them →

gastownhall on GitHub

Beads

Free

Persistent task management for multi-session workflows.

by gastownhall26.2k stars on gastownhall/beads
1 views
Updated Aug 11, 2026
Get this skill

Free · Opens the source repo

What Beads does

Beads is a Dolt-powered issue tracker designed for developers and teams who need to manage tasks across multiple sessions while maintaining context and handling dependencies. Unlike traditional task managers that operate on a single session basis, Beads allows users to create, track, and manage tasks that can span days or weeks, ensuring that important details are preserved even after conversation compaction. This is particularly useful in environments where tasks are complex and interdependent, requiring a robust system to keep everything organized.

The skill utilizes a graph-based structure to represent tasks and their relationships, allowing users to easily visualize dependencies and track progress. With commands like bd create, bd update, and bd close, users can efficiently manage their workflow while ensuring that all relevant information is captured. The integration with Dolt provides a unique advantage, enabling team synchronization and version control for task data, which is essential when collaborating with others.

Beads is particularly suited for developers working on long-term projects or those who frequently switch between tasks. By using commands such as bd ready to find unblocked work or bd show to retrieve full context on a task, users can maintain a clear overview of their workload. The CLI interface is straightforward, making it accessible for users familiar with command-line tools. Additionally, the ability to append --json to commands allows for structured output, which can be integrated into other tools or scripts for further automation.

Overall, Beads is an effective solution for anyone needing a persistent memory system for task management that survives beyond individual sessions, making it a valuable addition to any developer's toolkit.

When to use it

Use Beads when managing tasks that require context recovery after compaction or when working on projects with multiple dependencies that span over time.

When not to use it

Beads may not be suitable for simple, one-off tasks that do not require long-term tracking or for users who prefer a graphical user interface over a command-line tool.

What you can build with it

Track a Multi-Session Feature

Create tasks for features that span several sessions, ensuring all dependencies are tracked and context is preserved.

Recover After Compaction

Use Beads to list in-progress tasks and recover context after a session has been compacted.

Manage Dependencies in Projects

Utilize Beads to handle complex project dependencies, ensuring that tasks are completed in the correct order.

How to install Beads

View source

1. Install with the skills CLI

npx skills add gastownhall/beads/beads --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by gastownhall

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).

Frequently asked questions about Beads

Similar skills