beads

beads is a cursor rule for Cursor from mhawthorne/gza. It costs 596 tokens per session, scanned A, original, MIT.

Project rules for using Beads, an issue tracker for recording tasks, bugs, dependencies, and their status. They also define when Git actions such as committing, pushing, and syncing may happen.

In plain words
What is it for?
Use them to find available issues, create and claim work, record dependencies, close completed tasks, and manage repository handoffs.
Why use it?
They keep work items in one tracking system instead of scattered TODO notes, while limiting unapproved changes to the repository.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/. Also seen: mentions AGENTS.md.

Good fit Use them to find available issues, create and claim work, record dependencies, close completed tasks, and manage repository handoffs.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mhawthorne/gza/beads
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.

Clone the repo
git clone --depth 1 https://github.com/mhawthorne/gza

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/mhawthorne/gza/beads/github.svg)](https://agentmods.dev/rules/mhawthorne/gza/beads)
Your own site
<a href="https://agentmods.dev/rules/mhawthorne/gza/beads"><img src="https://agentmods.dev/badge/rules/mhawthorne/gza/beads/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

Your own site · 80×15
<a href="https://agentmods.dev/rules/mhawthorne/gza/beads"><img src="https://agentmods.dev/badge/rules/mhawthorne/gza/beads.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 596 This file is loaded in full into every session.
When invoked 596 The same file — it is already loaded in full.
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.00596 $0.00596
Opus 5.5 $0.00238 $0.00238
Sonnet 5.5 $0.00119 $0.00119
Haiku 4.5 $0.00060 $0.00060

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

Security

Grade A, and why

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 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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • beads — 100% identical, 0 lines differ
  • beads — 100% identical, 0 lines differ
.cursor/rules/beads.mdc · 68 lines

How it starts

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

Beads Issue Tracking

This project uses Beads (bd) for issue tracking.

Core Rules

  • Track ALL work in bd (never use markdown TODOs or comment-based task lists)
  • Use bd ready to find available work
  • Use bd create to track new issues/tasks/bugs
  • Treat commit, push, and Dolt remote sync as policy-controlled handoff actions
  • Run bd prime for complete workflow context (SSOT for operational commands)
  • Default to conservative git authority: report status and proposed commands unless the user, orchestrator, or repository profile explicitly authorizes commit/sync/push

Quick Reference

bd prime                              # Load complete workflow context (SSOT)
bd ready                              # Show issues ready to work (no blockers)
bd list --status=open                 # List all open issues
bd create "title" -t task -p 2        # Create new issue
bd update <id> --claim                # Claim work atomically
bd unclaim <id>                       # Release stuck issue (agent crashed)
bd close <id>                         # Mark complete
bd dep add <issue> <depends-on>       # Add dependency
bd dolt push                          # Sync with remote when authorized

Workflow

  1. Check for ready work: bd ready
  2. Claim an issue atomically: bd update <id> --claim
  3. Do the work
  4. Mark complete: bd close <id>
  5. Handoff: report changed files, validation, issue status, and any proposed commit/sync/push commands

Issue Types

  • bug - Something broken
  • feature - New functionality
  • task - Work item (tests, docs, refactoring)
  • epic - Large feature with subtasks
  • chore - Maintenance (dependencies, tooling)

Priorities

  • 0 - Critical (security, data loss, broken builds)
  • 1 - High (major features, important bugs)
  • 2 - Medium (default, nice-to-have)
  • 3 - Low (polish, optimization)
  • 4 - Backlog (future ideas)

Read the full file on GitHub · 68 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 · 68 lines · 596 tokens per session scan A 6b6ad52e515d

Subscribe to this mod's changes

beads is a cursor rule published in the GitHub repository mhawthorne/gza (12 stars, last pushed 24d ago), licensed MIT. It adds 596 tokens to every session, about $0.0024 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-16.