Agentops beads
Manages git-based issue tracking using the bd CLI: creates issues, tracks blockers, routes work across rigs (independent workstreams with their own issue prefixes), and organizes beads (issues) hierarchically with parent-child dependencies. Beads marked "slingable" are ready to hand off between agents or sessions. Use when: "track issues", "create beads issue", "show blockers", "what''s ready to work on", "beads routing", "prefix routing", "cross-rig beads", "slingable beads", or git-based issue tracking with bd.
git clone https://github.com/boshu2/agentops
T=$(mktemp -d) && git clone --depth=1 https://github.com/boshu2/agentops "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/beads" ~/.claude/skills/boshu2-agentops-beads-fd84d0 && rm -rf "$T"
skills/beads/SKILL.mdBeads - Persistent Task Memory for AI Agents
Graph-based issue tracker that survives conversation compaction.
Overview
bd (beads) replaces markdown task lists with a dependency-aware graph stored in git.
Key Distinction:
- bd: Multi-session work, dependencies, survives compaction, git-backed
- Task tools (TaskCreate/TaskUpdate/TaskList): Single-session tasks, status tracking, conversation-scoped
Decision Rule: If resuming in 2 weeks would be hard without bd, use bd.
Operating Rules
- Treat live
reads as authoritative. Usebd
,bd show
,bd ready
, andbd list
to inspect current tracker state. Do not treatbd export
as the primary decision source when live.beads/issues.jsonl
data is available.bd - Treat
as a git-friendly export artifact. If the repo tracks.beads/issues.jsonl
and you mutate tracker state, refresh it explicitly with.beads/issues.jsonl
.bd export -o .beads/issues.jsonl - After closing or materially updating a child issue, reconcile the open parent in the same session. Update stale "remaining gap" notes immediately, and close the parent when the child resolved the parent's last real gap.
- Before closing a child issue, include scoped closure proof in the
text. Name the touched files or explicit no-file evidence artifact, validation command(s), and parent reconciliation outcome. Do not use generic closure reasons such as "done" or "implemented" for child beads.bd close --reason - If
returns a broad umbrella issue, do not implement directly against vague parent wording. First narrow the remaining gap into an execution-ready child issue, then land the child and reconcile the parent.bd ready - Normalize stale queue items instead of silently skipping them. Rewrite broad or partially absorbed beads to the actual remaining gap.
- Use this post-mutation sequence when tracker state changed:
bd ... # mutate tracker state bd export -o .beads/issues.jsonl # if tracked in git bd vc status bd dolt commit -m "..." # if tracker changes are pending bd dolt push # only if a Dolt remote is configured
Prerequisites
- bd CLI: Version 0.34.0+ installed and in PATH
- Git Repository: Current directory must be a git repo
- Initialization:
run once (humans do this, not agents)bd init
Examples
Skill Loading from /vibe
User says:
/vibe
What happens:
- Agent loads beads skill automatically via dependency
- Agent calls
to read issue metadatabd show <id> - Agent links validation findings to the issue being checked
- Output references issue ID in validation report
Result: Validation report includes issue context, no manual bd lookups needed.
Skill Loading from /implement
User says:
/implement ag-xyz-123
What happens:
- Agent loads beads skill to understand issue structure
- Agent calls
to read issue bodybd show ag-xyz-123 - Agent checks dependencies with bd output
- Agent closes issue with
after completionbd close ag-xyz-123
Result: Issue lifecycle managed automatically during implementation.
Troubleshooting
| Problem | Cause | Solution |
|---|---|---|
| bd command not found | bd CLI not installed or not in PATH | Install bd: or check PATH |
| "not a git repository" error | bd requires git repo, current dir not initialized | Run or navigate to git repo root |
| "beads not initialized" error | .beads/ directory missing | Human runs once |
| Issue ID format errors | Wrong prefix or malformed ID | Check rigs.json for correct prefix, follow format |
Reference Documents
- references/ANTI_PATTERNS.md
- references/BOUNDARIES.md
- references/CLI_REFERENCE.md
- references/DEPENDENCIES.md
- references/INTEGRATION_PATTERNS.md
- references/ISSUE_CREATION.md
- references/MOLECULES.md
- references/PATTERNS.md
- references/RESUMABILITY.md
- references/ROUTING.md
- references/STATIC_DATA.md
- references/TROUBLESHOOTING.md
- references/WORKFLOWS.md