Use this skill to manage work in Beads (bd), a git-backed issue tracker for AI agents, including issue lifecycle, dependencies, sync, and agent hooks.
Resources
1Install
npx skillscat add metalagman/agent-skills/beads Install via the SkillsCat registry.
SKILL.md
Beads Skill
Expert guidance for using Beads (bd) to track tasks, dependencies, and workflows in a git-backed issue graph.
When to trigger
- The user mentions Beads,
bd, or wants dependency-aware task tracking for agents. - The task involves
bd init,bd ready,bd sync, formulas/molecules, or agent hooks.
Core rules
- Prefer CLI + hooks (
bd setup <recipe>) when shell access exists; use MCP only when CLI is unavailable. - For agent one-shot commands, default to direct mode:
bd --no-daemon .... - Always use
--jsonfor machine parsing (bd list,bd show,bd create, etc.). - Use
bd ready(orbd list --ready) to select unblocked work; add dependencies withbd dep addbefore starting. - Run
bd syncto export DB state to JSONL; it does not commit/push by default. - Use
bd daemon(with--auto-commit/--auto-push) orbd sync --fullonly when background automation is explicitly needed. - Default backend is SQLite; use
bd init --backend doltfor Dolt-backed storage.
Workflow
- Initialize: verify with
bd status; if needed, runbd init(choose backend and branch). See references/cli-reference.md. - Integrate: install hooks with
bd setup <recipe>or configure manually. See references/integrations.md. - Manage issues: create, update status, close with reason; maintain dependencies; use
bd list,bd ready,bd blocked,bd stats. - Sync + context:
bd primeon session start;bd syncafter issue changes andbd sync --importafter pull; usebd sync --statusto verify state. - Advanced workflows: formulas, molecules, gates (
bd formula,bd mol,bd gate). See references/workflows.md. - Recovery: use
bd status,bd daemon status, andbd doctorwhen sync or database issues appear. See references/recovery.md.
Output expectations
- Provide exact commands with flags and IDs; prefer
--jsonand include--no-daemonunless daemon mode is the goal. - Ask for backend, repo location, and desired workflow if ambiguous.
- Call out whether a command affects git-tracked JSONL vs local DB.
References
- CLI commands and options: references/cli-reference.md
- Core concepts and storage: references/concepts.md
- Workflows: formulas, molecules, gates: references/workflows.md
- Editor/agent integrations + MCP: references/integrations.md
- Recovery and troubleshooting: references/recovery.md