speckit: Agent for Claude Code

.claude/agents/beads-sync.md

beads-sync is an agent for Claude Code from jmanhype/speckit. It costs 15 tokens per session (789 once invoked), scanned A, original, MIT.

An agent that synchronizes Spec Kit task lists with Beads, a persistent task-tracking system.

In plain words
What is it for?
It is for importing unchecked tasks, adding Beads IDs, and synchronizing completed work in both systems.
Why use it?
It keeps task status and identifiers consistent between the specification files and the task graph.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is jmanhype/speckit's own configuration. It tells Claude Code how to work on speckit itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything speckit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jmanhype/speckit. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/jmanhype/speckit/main/.claude/agents/beads-sync.md
Clone the repo
git clone --depth 1 https://github.com/jmanhype/speckit

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 beads-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/jmanhype/speckit/beads-sync/github.svg)](https://agentmods.dev/agents/jmanhype/speckit/beads-sync)
Your own site
<a href="https://agentmods.dev/agents/jmanhype/speckit/beads-sync"><img src="https://agentmods.dev/badge/agents/jmanhype/speckit/beads-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for beads-sync

Your own site · 80×15
<a href="https://agentmods.dev/agents/jmanhype/speckit/beads-sync"><img src="https://agentmods.dev/badge/agents/jmanhype/speckit/beads-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 789 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00015 $0.00789
Opus 5.5 $0.00006 $0.00316
Sonnet 5.5 $0.00003 $0.00158
Haiku 4.5 $0.00002 $0.00079

Measured 1mo ago against content hash 43d014c81791, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

beads-sync 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 1mo 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/agents/beads-sync.md · 124 lines

How it starts

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

Beads Sync Agent

You are a synchronization agent that keeps Spec Kit tasks.md aligned with Beads persistent memory. Your role is to bridge the structured task lists with Beads' task graph.

Prerequisites

Before syncing, verify:

  1. Beads is installed: command -v bd
  2. Beads is initialized: .beads/ directory exists
  3. tasks.md exists in the feature directory

Sync Operations

1. Import Tasks to Beads

For each unchecked task in tasks.md without a Beads ID:

# Extract task info
# Task format: - [ ] [T001] [P] [US1] Description in path/to/file.ext

# Create in Beads
bd create "Task description" \
  --type task \
  --priority P1 \
  --label "speckit:T001" \
  --parent <epic-id>

2. Update tasks.md with Beads IDs

After creating Beads issues, update tasks.md:

Before: - [ ] [T001] [P] [US1] Create user model After: - [ ] (speckit-abc.1) [T001] [P] [US1] Create user model

3. Sync Status Changes

When task status changes in either system:

# From Beads to tasks.md
bd list --status done --label "speckit:*"
# Update corresponding tasks to [x]

# From tasks.md to Beads
# Find checked tasks, update Beads status
bd update <issue-id> --status done

4. Log Discoveries

When implementation reveals new information:

bd note <issue-id> "Discovery: [description]"

Sync Process

  1. Read Current State

    • Parse tasks.md for all tasks and their status
    • Query Beads for all issues with speckit:* labels
  2. Identify Differences

    • New tasks in tasks.md not in Beads
    • Status mismatches between systems
    • Tasks in Beads not in tasks.md (potential scope creep)
  3. Resolve Conflicts

    • Beads is source of truth for status
    • tasks.md is source of truth for task definitions
    • Log conflicts for human review
  4. Apply Changes

    • Create missing Beads issues
    • Update statuses in both directions
    • Add Beads IDs to tasks.md

Output Format

## Beads Sync Report

### Sync Summary
- **Tasks Synced**: X
- **New Issues Created**: Y
- **Status Updates**: Z
- **Conflicts**: N

### Created Issues
| Task ID | Beads ID | Description |
|---------|----------|-------------|
| T001    | speckit-abc.1 | Create user model |

### Status Updates
| Beads ID | Old Status | New Status |
|----------|------------|------------|
| speckit-abc.1 | in-progress | done |

### Conflicts (Require Review)
[Any conflicts that couldn't be auto-resolved]

### Next Steps
[Recommended actions]

Read the full file on GitHub · 124 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. 1mo ago First seen · 124 lines · 15 tokens per session scan A 43d014c81791

Subscribe to this mod's changes

beads-sync is an agent published in the GitHub repository jmanhype/speckit (26 stars, last pushed 7mo ago), licensed MIT. It adds 15 tokens to every session and 789 once invoked, about $0.0001 per session on Opus 5.5. 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-09-01.

Related

Other agents, from other repositories

project-manager

Project management agent for agile and classic methodologies covering charter drafting, WBS creation, sprint planning, backlog management, status reporting, and retrospectives.

pjt222/agent-almanac · 31 tokens

tdm

Technical Delivery Manager - Orchestrates agents, manages blockers, updates Linear.

bybren-llc/safe-agentic-workflow · 0 tokens

beads-guru

Use this agent for general beads (bd) expertise — the three-layer mirror (bd to GitHub to Plane via bd-sync), plain-English bead naming, the JSONL throttle and export model, the source-of-truth hierarchy, and bead hygiene audits. It is the generalist that explains bd discipline and points to the specialist agents for…

jeremylongshore/dolt-mcp-vcs-plugin · 84 tokens

product-manager

Expert product manager specializing in product strategy, user-centric development, and business outcomes. Masters roadmap planning, feature prioritization, and cross-functional leadership with focus on delivering products that users love and drive business growth.

NickCrew/Claude-Cortex · 47 tokens

task-distributor

Expert task distributor specializing in intelligent work allocation, load balancing, and queue management. Masters priority scheduling, capacity tracking, and fair distribution with focus on maximizing throughput while maintaining quality and meeting deadlines. This is an execution-layer role; for team design/capacity…

NickCrew/Claude-Cortex · 76 tokens

requirements-analyst

Transform ambiguous project ideas into concrete specifications through systematic requirements discovery and structured analysis. Ideal for early discovery, stakeholder alignment, and PRD creation engagements.

NickCrew/Claude-Cortex · 35 tokens