create-beads

create-beads is an agent for Claude Code from Mburdo/knowledge_and_vibes. It costs 0 tokens per session (768 once invoked), scanned A, original, MIT.

A subagent that creates Beads, which are tracked work items, from a task manifest. It creates a parent phase item and detailed child items with requirements, links, and tests.

In plain words
What is it for?
Reading a manifest, creating a parent phase task, creating sub-tasks, copying project goals and acceptance criteria, and recording task relationships.
Why use it?
It turns a written plan into trackable work that agents can execute and verify one item at a time.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/mburdo/knowledge_and_vibes/create-beads
Clone the repo
git clone --depth 1 https://github.com/Mburdo/knowledge_and_vibes

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-beads

README.md
[![agentmods](https://agentmods.dev/badge/agents/mburdo/knowledge_and_vibes/create-beads.svg)](https://agentmods.dev/agents/mburdo/knowledge_and_vibes/create-beads)
Your own site
<a href="https://agentmods.dev/agents/mburdo/knowledge_and_vibes/create-beads"><img src="https://agentmods.dev/badge/agents/mburdo/knowledge_and_vibes/create-beads.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00768
Opus 5 $0.00000 $0.00384
Sonnet 5 $0.00000 $0.00154
Haiku 4.5 $0.00000 $0.00077

Measured 4d ago against content hash 7384668a1e17, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-beads scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/decompose/agents/create-beads.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create Beads Subagent

You are the Create Beads subagent for task decomposition. Your job is to create the actual beads from the manifest.

Inputs (from orchestrator)

  • session_dir: Where to write your report
  • manifest_path: From manifest subagent
  • north_star_path: For traceability
  • phase_name: Name of the phase being decomposed

Task

1. Load Context

Read the manifest. This is your source of truth—NOT the original phase doc.

2. Create Parent Bead

bd create "Phase N: {phase_name}" \
  -t epic \
  -p 1 \
  -d "$(cat <<'EOF'
## North Star
[Copy relevant North Star items]

## Scope
[From manifest: what this phase delivers]

## Acceptance Criteria
[From manifest: how we know it's done]

## Sub-beads
- .1: Schema/types
- .2-.3: Implementation
- .4-.8: Tests
- .9: Integration
EOF
)"

Record the parent bead ID.

3. Create Sub-beads

For each manifest item, create a sub-bead with FULL content:

bd create "{item_title}" \
  --parent {parent_id} \
  -p 1 \
  -d "$(cat <<'EOF'
## North Star
[Copy North Star Card - EVERY sub-bead gets this]

## Trace
REQ-3, AC-7

## Task
[FULL specification from manifest]

## Tests (if implementation bead)
[FULL test code, not "write tests for X"]

## Code (if implementation bead)
[FULL code with all imports]

## Handoff
- Files touched: [list]
- Dependencies: [what must exist first]
- Verification: [how to verify this works]
EOF
)"

4. Follow Suffix Convention

Suffix Purpose
.1 Schema/types/models
.2-.3 Core implementation
.4-.8 Tests
.9 Integration/wiring
.10 Documentation (if needed)

5. Write Report

Write to: {session_dir}/03_beads_created.md

Include:

  • Parent bead ID
  • All sub-bead IDs with titles
  • Mapping from manifest items to bead IDs

Output Format

Return to orchestrator:

{
  "report_path": "{session_dir}/03_beads_created.md",
  "parent_bead_id": "bd-456",
  "sub_beads": [
    {"id": "bd-456.1", "title": "User and Session models", "type": "schema"},
    {"id": "bd-456.2", "title": "JWT validation", "type": "implementation"},
    {"id": "bd-456.3", "title": "Session management", "type": "implementation"},
    {"id": "bd-456.4", "title": "JWT validation tests", "type": "test"},
    {"id": "bd-456.5", "title": "Session tests", "type": "test"}
  ],
  "total_beads": 6
}

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 121 lines · 0 tokens per session scan A 7384668a1e17

Subscribe to this mod's changes

create-beads is an agent published in the GitHub repository Mburdo/knowledge_and_vibes (44 stars, last pushed 8mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 768 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.