beads-rs: Skill for Claude Code

.claude/skills/execute-epic/SKILL.md

execute-epic is a skill for Claude Code from delightful-ai/beads-rs. It costs 50 tokens per session (912 once invoked), scanned A, original, MIT.

A workflow for completing one work item from a specific epic, which is a larger group of related tasks in beads-rs.

In plain words
What is it for?
Use it when asked to work on a bead from an epic, including checking project guidance, implementing the task, testing it, and closing it.
Why use it?
It provides a repeatable way to choose the next available task, understand its context, verify the result, and record it as done.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is delightful-ai/beads-rs's own configuration. It tells Claude Code how to work on beads-rs 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 beads-rs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to delightful-ai/beads-rs. 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/delightful-ai/beads-rs/main/.claude/skills/execute-epic/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/delightful-ai/beads-rs

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 execute-epic

README.md
[![agentmods](https://agentmods.dev/badge/skills/delightful-ai/beads-rs/execute-epic/github.svg)](https://agentmods.dev/skills/delightful-ai/beads-rs/execute-epic)
Your own site
<a href="https://agentmods.dev/skills/delightful-ai/beads-rs/execute-epic"><img src="https://agentmods.dev/badge/skills/delightful-ai/beads-rs/execute-epic/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 execute-epic

Your own site · 80×15
<a href="https://agentmods.dev/skills/delightful-ai/beads-rs/execute-epic"><img src="https://agentmods.dev/badge/skills/delightful-ai/beads-rs/execute-epic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.00912
Opus 5 $0.00025 $0.00456
Sonnet 5 $0.00010 $0.00182
Haiku 4.5 $0.00005 $0.00091

Measured 10d ago against content hash 779d7f2fb2bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

execute-epic 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 10d 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/execute-epic/SKILL.md · 136 lines

How it starts

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

Execute Epic Bead

Claim and complete ONE bead from a specified epic, then stop.

Arguments

/execute-epic <epic-id> - The epic to pull the next bead from (e.g., bd-qz97)

Phase 1: Orient

Before claiming, understand the landscape:

bd prime                    # full workflow state
bd ready                    # what's available
jj log --limit 20           # recent work

Filter to the epic:

bd show <epic-id>           # understand the epic
bd list --parent=<epic-id>  # beads in this epic

Before writing new types, traits, errors, or tests, read the relevant doc in docs/philosophy/:

  • type_design.md - typestate, parse-don't-validate
  • error_design.md - error context, propagation
  • trait_design.md - trait boundaries, coherence
  • test_design.md - test structure, property-based testing

Before writing code, read the essay in docs/philosophy/scatter.md .

Phase 2: Decide

Pick the next bead from the epic. Justify:

  • Why this one matters now
  • What it unblocks
  • Why higher priority than alternatives

Then proceed immediately to execution.

Phase 3: Execute

bd show <bead-id>           # understand it fully
bd claim <bead-id>          # own it

JJ Rhythm

jj is not git. No staging area - working copy IS the commit.

The loop (runs MANY times per bead):

jj new
# edit ONE thing (add a fn, write a test, fix a bug)
jj describe "<bead-id>: what you did"
# repeat

Heuristics:

  • ~50 lines changed without describe? Too much.
  • About to run cargo check/test? Describe first.
  • Did two unrelated things? Should've been two commits. Use jj split.

Every commit message includes the bead ID. 3-15 commits per bead is normal. 1 commit = batched too much.

Handling Uncommitted Changes

If there are uncommitted changes when you start:

  • They're probably from your previous work in this session
  • jj describe them with what they actually are
  • Or if genuinely unclear, ask the user what they are
  • Do NOT create fake "wip: pre-existing" commits

Read the full file on GitHub · 136 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. 10d ago First seen · 136 lines · 50 tokens per session scan A 779d7f2fb2bc

Subscribe to this mod's changes

execute-epic is a skill published in the GitHub repository delightful-ai/beads-rs (24 stars, last pushed 21d ago), licensed MIT. It adds 50 tokens to every session and 912 once invoked, about $0.0003 per session on Opus 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-08-30.