working-with-beads
Use when working with the beads CLI (`bd`) — issue/task tracking, dependencies, the full command surface (create, ready, dep, epic, gate, swarm, federation, dolt, worktree, compaction), `bd prime`, an
Files359
View on GitHubSKILL.mdskills/working-with-beads/SKILL.md
GitHubWorking with beads (bd)
Offline reference for the beads CLI, pinned to a known version (see PINNED_VERSION). The CLI pages in references/cli/ are generated verbatim from the installed pinned bd binary; the conceptual docs in references/docs/ are fetched from the repo at the matching tag. Every file carries source/fetched_at/sha256 frontmatter.
How to use this skill
- CLI reference: read
references/cli/_index.mdfor the command tree, thenreferences/cli/<command>.md(or<command>__<subcommand>.md) for exact flags/usage — these are the literal output ofbd <command> --helpat the pinned version. - Workflow context:
references/prime.mdis the capturedbd primeoutput (auto-generated; empty when captured outside a beads project). For howbd primeis wired into sessions, its flags/config, thePRIME.mdoverride + resolution, and neutralizing the conservative preamble, see thebeads-operationsskill (references/prime-customization.md). - Concepts/advanced:
grepreferences/docs/(ADVANCED, federation, adaptive IDs, config, etc.). - If the installed
bddiffers fromPINNED_VERSION, the reference may not match — bump the pin (see below) and regenerate, or runbd <cmd> --helpdirectly.
Behavioral guidance
- The reference reflects the pinned version only. Always trust
bd <cmd> --helpfrom the live binary if they disagree, and surface the drift. - For how Joe runs beads (
--shared-server, shared Dolt server on port 3308,--skip-agents) and for fixing broken states, use thebeads-operationsskill — not this one. - For the BeadBoard multi-agent dashboard that sits on top of
bd: the agent-side coordination contract is thebeadboard-driverskill; running its launchd services/dashboard/diagnostics is thebeadboard-operationsskill.
Reference map
references/cli/_index.md—bd helptop-level command tree.references/cli/<command>.md— per-command--help(nested groups as<command>__<subcommand>.md).references/prime.md— capturedbd primeoutput (auto-generated). For the mechanics +PRIME.mdcustomization, seebeads-operations/references/prime-customization.md.references/docs/*.md— upstreamdocs/+README.mdat the pinned tag.
Keeping this current
Regenerated by scripts/update_docs.js: it reads PINNED_VERSION, generates the CLI reference from the local pinned bd, and fetches repo docs at the tag. Refresh locally with make update-working-with-beads. Bumping the pin is signoff-gated: edit PINNED_VERSION, run brew unpin beads && brew upgrade beads && brew pin beads (or install the target version), then rerun the update. The weekly CI workflow auto-discovers the script but produces no churn while the tag is unchanged, and skips CLI generation when bd is absent.