
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.
- Installs
- 41
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/itechmeat/llm-code --skill beads- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads beads automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
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 beads or use the install scripts/binaries 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
| Command | Action |
|---|---|
bd ready | List tasks with no open blockers |
bd ready --explain | Explain why tasks are or are not ready |
bd ready --gated | Tasks waiting at gate checkpoints |
bd ready --exclude-type=X | Exclude specific issue types |
bd create "Title" -p 0 | Create P0 task |
bd show <id> | View task details and audit trail |
bd update <id> --status=X | Update status (open/in_progress/done) |
bd close <id> | Close task |
bd close <id> --claim-next | Close current task and claim next |
bd dep add <child> <parent> | Link tasks (blocks, related, parent) |
bd list | List issues (default: 50, non-closed) |
bd list --format json | JSON output (alias for --json) |
bd show --current | Show active issue (no ID needed) |
bd update <id> --claim | Atomically claim issue for work |
bd heartbeat <id> | Extend a claim's lease (v1.3.0) |
bd reclaim --older-than=10m | Revert expired leases to ready (v1.3.0) |
bd unclaim <id> | Give a claim back (v1.3.0) |
bd update <id> --if-status=S | CAS update: apply only if status matches |
bd note <id> "text" | Append note (shorthand) |
bd import -i <file> | Import JSONL incrementally |
bd sync | Pull, settle conflicts, recompute, push |
bd events | Read the durable events journal (v1.3.0) |
bd serve | Serve the HTTP API (v1.3.0) |
bd dolt pull | Pull latest DB changes (advanced) |
bd dolt push | Push DB changes (advanced) |
bd bootstrap | Repair/bootstrap workspace identity |
bd context | Show current workspace/task context |
bd kv set <key> <value> | Store key-value pair |
bd kv get <key> | Retrieve stored value |
bd dolt show | Show Dolt connection/remote settings |
bd config set-many | Apply multiple config changes in one step |
bd ado sync | Sync with Azure DevOps work items |
bd ado status | Check Azure DevOps sync status |
bd ado projects | List Azure DevOps projects |
bd gitlab sync | Sync with GitLab |
bd github sync | Sync with GitHub Issues |
bd remember | Write persistent agent memory |
bd recall | Read persistent agent memory |
bd purge | Delete 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
| File | Purpose |
|---|---|
| workflow.md | Daily operations, status flow, sync |
| authoring.md | Writing quality issues, EARS patterns |
| molecules.md | Molecules, gates, formulas, compounds |
| sync.md | Dolt 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 showto see current Dolt connection/remote settingsbd dolt testto validate connectivitybd doctor/bd doctor --deepfor 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 (1.2.2)
- Recovery release: v1.2.0/v1.2.1 were published without release testing; v1.2.2 re-releases the tested 1.1 line under a higher version, so every install channel moves onto tested code. The 1.2.x-only features (work leases, events journal, sync federation, HTTP API server, provenance events) are not in this release — they return in a tested future release.
- If you ran v1.2.1 and hit
schema version mismatch: database is at v65, binary knows up to v53: roll the schema cursor back to v53 (seedocs/RECOVERY-1.2.1.md), or use theBD_IGNORE_SCHEMA_SKEW=1stopgap — seereferences/sync.md. Upgrade every machine/clone to v1.2.2 before recovering, or a leftover 1.2.1 binary will silently re-migrate the database.
Release Highlights (1.1.0)
- Safer migrations: schema-change detection so database migrations no longer apply silently, plus read-only enforcement across all layers.
- Sync repair: repair for previously problematic pull merges, and compaction now archives before discarding information.
- New commands/flags:
bd metrics(with a consent notice) and idempotent--init-if-missinginitialization.
Release Highlights (1.0.3–1.0.4)
- Workflow/config ergonomics:
bd -Cchanges working directory before running,bd closegains--reason-file, and setup/bootstrap flows gain better remote/server config handling. - Linear sync: OAuth client-credentials, idempotency markers, stale-data signaling, per-workspace sync locks, richer type mappings, and batch create/update make larger sync loops safer and faster.
- Security/export defaults: Beads now refuses to write secret keys into git-tracked config, and exports exclude memories and ephemeral wisps by default unless you opt back in.
- Dependencies/data paths: JSONL bulk dependency add and several hook/bootstrap/init fixes reduce friction in automated and shared-server environments.
Release Highlights (1.0.0–1.0.2)
- Distribution: precompiled binaries now cover Linux, macOS (Intel/Apple Silicon), Windows (AMD64/ARM64), Android/Termux, and FreeBSD.
- Automation:
bd init --non-interactive/--roleandbd bootstrap --non-interactiveimprove CI/cloud-agent setup. - Workflow:
bd ready --explain,bd config set-many, batch dependency listing, and comma-separated status filters improve agent ergonomics. - Authoring/modeling:
spike,story, andmilestoneare now first-class issue types; custom statuses/types moved to normalized tables. - Integrations/sync: GitLab sync adds better dedup + epic→milestone mapping, ADO sync respects more filters, and embedded/shared-server recovery got safer.
Release Highlights (0.62.0–0.63.3)
- Azure DevOps integration:
bd adoCLI commands (sync, status, projects) for work item tracking. - Embedded Dolt support: dep, duplicate, epic, graph, supersede, swarm operations work without a running Dolt server.
- Custom status categories: configure active/wip/done/frozen status groupings.
bd notecommand: shorthand for appending notes to issues.--exclude-typeflag: filter by issue type onbd readyandbd list.--format jsonalias: alternative to--jsonflag for consistency.- Audit log: captures close reason; status changes logged to
interactions.jsonl. - Memories in export/import: round-trip includes agent memories.
- Init defaults: AGENTS.md defaults to minimal profile;
--agents-profileflag added. - Quality/lifecycle commands: surfaced in prime, template, and doctor.
- Validation on close:
--validatechecks--acceptancefield;validation.on-closeconfig.
Release Highlights (0.61.0)
bd close --claim-nextshortens the common close-and-claim-next loop for agents.bd creategains--skills,--context, and--no-historyfor richer task creation and optional Dolt-history suppression.bd importadds incremental JSONL import for portability and recovery workflows.bd init/bd bootstrapcan auto-detect the Beads database from the repository git origin.- Dolt/server-mode sync improves credential pass-through, runtime port reporting, and health checks.
- Config and backup handling are safer, including proper project+user config merge and
BD_BACKUP_ENABLED=falsesupport.
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
bd create "Task C" --context "Need schema review" --skills "python,sql"
# Doctor (fix issues)
bd doctor # Check health
bd doctor --fix # Auto-fix problems
bd sync # Sync DB state
bd import -i backup.jsonl # Incremental JSONL import
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 editing | Use bd commands |
Ignoring bd ready | Always check blockers first |
Skipping bd sync | Sync before/after work |
| Creating without deps | Declare --blocks upfront |
Links
FAQ
What does the beads skill do?
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.
How do I install beads?
Run npx skills add https://github.com/itechmeat/llm-code --skill beads in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/beads/ (personal) or .claude/skills/beads/ (project).
Which AI agents can use beads?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is beads safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains beads?
It is published by itechmeat in itechmeat/llm-code. It has 41 recorded installs.
More from itechmeat/llm-code
react-testing-library
itechmeat/llm-code
React Testing Library: user-centric component testing with queries, user-event simulation, async utilities, and accessibility-first API. Use when writing React component tests, selecting elements by role/label/text, simulating user events, or testing async UI behavior. Keywords: React Testing Library, @testing-library/react, user-event, queries, render.
openspec
itechmeat/llm-code
OpenSpec artifact-driven workflow. Covers OPSX commands, schemas, project config. Use when applying the artifact-driven workflow (OPSX), planning or reviewing changes based on artifact dependencies, or working with OPSX commands and schema/template resolution. Keywords: OPSX, artifact graph, /opsx:.
mantine-dev
itechmeat/llm-code
Open the skill to read its SKILL.md instructions.
social-writer
itechmeat/llm-code
Open the skill to read its SKILL.md instructions.
base-ui
itechmeat/llm-code
Base UI unstyled React components. Covers forms, menus, overlays, composition. Use when building accessible, unstyled React UI components with @base-ui/react, composing with render props, or implementing custom-styled form controls, menus, and overlays. Keywords: @base-ui/react, render props, unstyled components.
refine-dev
itechmeat/llm-code
Open the skill to read its SKILL.md instructions.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。