project-init

project-init is a skill for Claude Code from DollarDill/beads-superpowers. It costs 52 tokens per session (3,226 once invoked), scanned C, original, MIT.

A setup and recovery guide for Beads, an issue-tracking system, and Dolt, a database with version history. It covers new projects, cloned repositories, broken local data, and diverged history.

In plain words
What is it for?
Use it when Beads cannot find or connect to its database, when starting a project, when restoring a cloned project, or when local and remote Dolt histories differ.
Why use it?
It helps recover from database setup errors without accidentally destroying existing issues or remote data. It also identifies safer commands for different failure cases.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Part of the beads-superpowers plugin — 22 skills, 1 agent, 1 hook shipped together

Good fit Use it when Beads cannot find or connect to its database, when starting a project, when restoring a cloned project, or when local and remote Dolt histories differ.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dollardill/beads-superpowers/project-init
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.

Any agent
npx skills add DollarDill/beads-superpowers --skill project-init
Clone the repo
git clone --depth 1 https://github.com/DollarDill/beads-superpowers

Made for: Claude Code.

Or install beads-superpowers, the plugin that ships this one along with the rest of its 22 skills, 1 agent, 1 hook.

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 project-init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/dollardill/beads-superpowers/project-init"><img src="https://agentmods.dev/badge/skills/dollardill/beads-superpowers/project-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,226 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00052 $0.03226
Opus 5.5 $0.00021 $0.01290
Sonnet 5.5 $0.00010 $0.00645
Haiku 4.5 $0.00005 $0.00323

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

Security

Grade C, and why

project-init scanned grade C with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/diagnose.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf .beads/
skills/project-init/SKILL.md · 298 lines

How it starts

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

Project Init: Beads/Dolt Database Setup and Recovery

Announce at start: "I'm using the project-init skill to set up or recover the beads database."

Iron Law: NEVER Run bd init --force

NEVER run bd init --force (deprecated in v1.0.4). Use the named-intent alternatives: bd init --reinit-local (preserves remote) or bd init --discard-remote (explicit destruction).

Why: Issue #2363 documents an AI agent that destroyed 247 issues via bd init --force cascade. The root cause was misdiagnosing "server can't connect" as "database missing". bd init --force is a nuclear option that should ONLY be run by a human who explicitly types it.

This Iron Law is the Production-Grade Doctrine applied to your data ledger: never take the shortcut that accepts catastrophic, irreversible risk.

Action Safe? Use When
bd init ✅ Safe Fresh project, no existing .beads/
bd bootstrap ✅ Safe Cloned repo with remote beads data
bd doctor --fix --yes ✅ Safe Database exists but seems broken
bd init --force ❌ NEVER Deprecated (v1.0.4) — do NOT use
bd init --reinit-local ⚠️ Recovery only Reinitialize local state, preserve remote data
bd init --discard-remote ⚠️ Recovery only Discard remote data and reinitialize (explicit destruction)

Diagnostic Phase (Always Run First)

Before taking ANY action, run diagnostics to understand the current state:

bash scripts/diagnose.sh

One Bash call gathers the full read-only battery as labeled RAW DATA (no verdicts, no fixes): bd/dolt versions, .beads/ presence, config.yaml/metadata.json, whether bd list/bd vc status work, and any dolt refs on the git remote. Read the == section == output, then author the diagnosis yourself against the Decision Matrix below:

Diagnosis: Path: <A/B/C/D/E/F, from the Decision Matrix>

Read the full file on GitHub · 298 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2mo ago First seen · 298 lines · 52 tokens per session scan C f3efa312615e

Subscribe to this mod's changes

project-init is a skill published in the GitHub repository DollarDill/beads-superpowers (33 stars, last pushed 6d ago), licensed MIT. It adds 52 tokens to every session and 3,226 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

beads-onboard

This skill should be used when the user asks to "onboard beads", "set up beads conventions", "configure beads for this project", "set up project labels", "improve my beads quality", "run beads onboard", "upgrade beads conventions", "re-run beads onboard", or when a project has .beads/ but no .beads/conventions/…

seanmartinsmith/sms-public-mkt · 96 tokens

init

Sets up Compound V in this project. Probes git, Python, Codex, a browser runner and Superpowers; picks the reviewer and test command; writes .claude/compound-v.json and the two native project settings Compound V relies on (worktree base and run-record protection). Every write is shown as a diff and applied only on the…

procoders/superpowers-v · 90 tokens

flow-state

Use when a Flow request reads, mutates, reconciles, completes, archives, or recovers Markdown lifecycle state and transaction journals.

cofin/flow · 30 tokens

linear-workspace

Linear issue management — routes work to specialized agents and slash commands. Use when: creating, updating, searching, bulk-editing, cleaning up, syncing Linear. TRIGGERS: "linear", "ticket", "issue", "create issue", "update issue", "search issues", "my issues", "bulk", "cleanup", "sync", "log bug", "file issue"…

Elnora-AI/elnora-linear · 126 tokens

completely:plan

Plan a phase or feature DIRECTLY into Beads — no PLAN.md, no markdown bridge. Runs GSD-style socratic discovery + decomposition + a goal-backward self-check, then emits a structured plan that cmpl plan-apply materializes as a Beads epic + worker-contract tasks + dependency waves + human checkpoints. One source of…

23ag1/completely · 96 tokens

completely

Overview and entry point for the completely harness — a quality-first agent workflow unifying GSD (planning depth), Ralph (autonomous loop), and Beads (the spine), under deterministic gate hooks and a default-FAIL evaluator. Use to see what's installed, the command surface, and how to start.

23ag1/completely · 64 tokens