beads
Beads Skill
Expert guidance for using Beads (bd) 1.0+ to track work, dependencies, memory, and structured workflows in a Dolt-backed issue graph.
When to trigger
- The user mentions Beads,
bd, or wants dependency-aware task tracking for agents. - The task involves Beads CLI operations (
init,bootstrap,ready,dolt,setup), formulas/molecules, or agent hooks. - The task involves agent instructions, persistent memories, worktrees, cross-repo planning, or recovery of a Beads workspace.
Core rules
- Prefer the installed
bdCLI when shell access exists. Use MCP only when the CLI cannot be used. - Treat
https://github.com/gastownhall/beadsandhttps://gastownhall.github.io/beads/as the upstream home. Oldersteveyegge/beadslinks may redirect. - Default to plain
bd ...commands in 1.0+. Do not assume pre-1.0 patterns likebd --no-daemon ...,bd sync, or SQLite-backed storage still apply. - Use
--jsonfor machine parsing where supported, and prefer non-interactive flags over editor-based flows. - Use
bd ready,bd show <id>,bd update <id> --claim,bd dep add, andbd close <id> --reason "..."for the core issue lifecycle. - Use
bd onboardfor the minimal snippet that belongs inAGENTS.mdor equivalent agent instructions files. - Use
bd primeas the single source of truth for session workflow and context recovery after compaction or agent restart. - Prefer
bd bootstrapfor fresh clones or broken local setup, and reservebd init --forceorbd doctor --fixfor explicit repair work after reviewing the impact. - Treat
bd setup ... --printoutput as an install template, not the authoritative command reference. - When high-level docs, generated snippets, or repo prose disagree with the installed binary, trust
bd --helpandbd <command> --help.
Workflow
- Detect context: check
bd context,bd status, andbd --help; if.beads/is missing or the clone is fresh, start withbd bootstrap --dry-run --jsonorbd init. See references/cli-reference.md. - Integrate agents: use
bd initorbd setup <recipe>to install AGENTS/CLAUDE/editor integration; usebd onboardfor the minimal snippet that belongs in agent instructions files; usebd primeduring sessions for live workflow context. See references/integrations.md. - Manage work: create issues with explicit descriptions, claim work atomically, keep dependencies accurate, and use
bd readyrather than raw status filtering when choosing unblocked work. - Collaborate and persist: use
bd dolt pushandbd dolt pullfor primary sync,bd backupfor off-machine recovery, andbd export/bd importfor JSONL portability or interop. - Use structured workflows when needed: formulas, molecules, wisps, gates, swarms, merge slots, worktrees, repo hydration, federation, and capability shipping all have first-class commands. See references/workflows.md.
- Recover carefully: prefer diagnostics (
bd doctor,bd bootstrap,bd context,bd dolt status,bd backup status) before auto-fix commands. See references/recovery.md.
Output expectations
- Provide exact commands with flags, IDs, and the correct 1.0 command group (
bd,bd dolt,bd backup,bd repo,bd federation,bd mol, etc.). - State whether a command changes local issue state, Dolt history/remotes, JSONL import/export, or agent/editor integration.
- Prefer safe/read-only inspection first when diagnosing breakage.
- Ask for repository path, embedded vs server mode, remote/backups, and agent/editor target if those affect the workflow.
References
- CLI commands and options: references/cli-reference.md
- Core concepts, storage, and modes: references/concepts.md
- Workflows: formulas, molecules, wisps, gates, swarms, worktrees: references/workflows.md
- Editor/agent integrations, hooks, and memory: references/integrations.md
- Recovery and troubleshooting: references/recovery.md
More from metalagman/agent-skills
gitflow
Use this skill when managing git branches, releases, or hotfixes according to the Gitflow workflow. It enforces naming conventions and synchronization policies.
50go-goose
Use this skill to plan, write, or run database migrations with the pressly/goose CLI and Go library (SQL/Go migrations, env vars, provider API, embedded migrations).
27go-uber-style-guide
Use this skill to write, refactor, or review Go code according to the Uber Go Style Guide. It ensures strict adherence to correctness, safety, and idiomatic patterns.
23go-senior-developer
Expert senior-level Go guidance for architecture, API-first design/codegen, advanced concurrency, performance tuning, testing/quality, cloud-native 12-factor practices, and Go 1.24+ tooling for large-scale systems.
17go-google-style-guide
Expertise in Go programming according to the Google Go Style Guide. Use when the user needs to write, refactor, or review Go code for clarity, simplicity, and maintainability. This skill ensures adherence to Google's official Go idioms, formatting, and the "Least Mechanism" principle.
16conventional-commits
Use this skill to write, validate, or generate commit messages that follow the Conventional Commits specification.
15