Skip to content
Back to skills

Beads Cli

ASecurity

Task tracking with the bd (Beads) CLI. Use when creating tasks, claiming work, closing beads, managing dependencies, or when the user mentions "beads", "bd", or "tasks".

  • 18 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
toolsgobash

Works with

  • cli

Security analysis

A100/100

Scanned June 1, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill beads-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Beads Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Beads Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-beads-cli/badge)](https://www.skillsdirectory.com/skills/majiayu000-beads-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
name: beads-cli
description: Task tracking with the bd (Beads) CLI. Use when creating tasks, claiming work, closing beads, managing dependencies, or when the user mentions "beads", "bd", or "tasks".
---

# Beads CLI (bd)

Task tracking across sessions. All issue tracking goes through `bd`.

## When This Applies

| Signal | Action |
|--------|--------|
| Need to create a task | `bd create` |
| Looking for work | `bd ready --json` |
| Claiming a task | `bd update --status in_progress` |
| Finishing a task | `bd close` |
| Managing dependencies | `bd dep add/tree` |

---

## Core Workflow

```bash
# Finding work
bd ready --json                    # Unblocked tasks ready for work
bd blocked                         # Tasks waiting on dependencies
bd list                            # All tasks

# Task lifecycle
bd create "Title" -t bug -p 1      # Create with type, priority
bd update bd-42 --status in_progress --assignee YOUR_NAME  # Claim
bd close bd-42 --reason "Completed: summary"               # Complete

# Viewing
bd show bd-42                      # Full task details
bd info                            # Project summary
```

---

## Dependencies

```bash
bd dep add bd-child bd-blocker --type blocks        # Child blocked by blocker
bd dep add bd-a bd-b --type related                 # Related tasks
bd dep add bd-child bd-parent --type parent-child   # Hierarchy
bd dep add bd-new bd-old --type discovered-from     # Found during work
bd dep tree bd-42                                   # Visualize dependencies
bd dep cycles                                       # Find circular deps
```

---

## Task Types and Priority

| Type | Use For |
|------|---------|
| `bug` | Defects, errors |
| `feature` | New functionality |
| `task` | General work items |
| `epic` | Parent/container beads |
| `chore` | Maintenance, cleanup |

| Priority | Meaning |
|----------|---------|
| `0` | Critical (do first) |
| `1` | High |
| `2` | Normal |
| `3` | Low |
| `4` | Backlog |

---

## Child Beads

Hierarchical IDs: `bd-a1b2.1`, `bd-a1b2.3.1`

```bash
bd create "Sub-task" --parent bd-123 -p 1
```

---

## Claiming Protocol (Multi-Agent)

**CRITICAL: Always claim parent AND all sub-beads together.**

```bash
bd update bd-123 --status in_progress --assignee YOUR_NAME
bd update bd-123.1 --status in_progress --assignee YOUR_NAME
bd update bd-123.2 --status in_progress --assignee YOUR_NAME
```

**Why:** If you only claim parent, other agents see sub-beads as "ready" → CONFLICT.

---

## Closing Protocol

**CRITICAL: Close sub-beads first, then parent.**

```bash
bd close bd-123.1 --reason "Completed: implemented X"
bd close bd-123.2 --reason "Completed: added tests"
bd close bd-123 --reason "Completed: full feature done"
```

---

## Maintenance

```bash
bd doctor                          # Health check
bd doctor --fix                    # Auto-fix issues
bd compact --analyze --json        # Analyze for compaction
bd --readonly list                 # Safe read-only mode
```

---

## Key Rules

| Rule | Why |
|------|-----|
| Always commit `.beads/` with code | Keeps state in sync |
| Never edit `.beads/*.jsonl` directly | Use `bd` commands only |
| Always set `--assignee` when claiming | Prevents conflicts |
| Never use other TODO systems | Beads is authoritative |

---

## Quick Reference

```bash
bd ready --json          # What's available?
bd update ID --status in_progress --assignee NAME   # Claim
bd close ID --reason "..."   # Complete
bd create "Title" -t TYPE -p PRIORITY   # Create
bd dep add CHILD BLOCKER --type blocks   # Add dependency
bd doctor --fix          # Health check
```

---

## See Also

- `beads-viewer/` — Graph analysis with `bv`
- `advance/` — Full bead lifecycle (claiming, working, closing)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.