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…

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.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.svg" alt="Measured on agentmods" 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 $0.00026 $0.01613
Sonnet 5 $0.00010 $0.00645
Haiku 4.5 $0.00005 $0.00323

Measured 7d ago against content hash f3efa312615e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 7d 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. 7d 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 (26 stars, last pushed 15d ago), licensed MIT. It adds 52 tokens to every session and 3,226 once invoked, about $0.0003 per session on Opus 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

lineage

Use when user invokes /lineage with a column name (optionally qualified with table/schema). Also triggers on "trace this column", "where does X come from", "what reads from Y table". Traces column-level data lineage through SQL, Kafka, Spark, JDBC, and ORM codebases. Produces a structured lineage path with confidence…

harnessprotocol/harness-kit · 94 tokens

bv

Beads Viewer - Graph-aware triage engine for Beads projects. Computes PageRank, betweenness, critical path, and cycles. Use --robot- flags for AI agents.

Dicklesworthstone/beads_viewer · 39 tokens

using-herdr-sibling-panes

Use when inside herdr (HERDRENV=1), the current pane is acting as the orchestrator for the task, and idle sibling agent panes can take delegated work — operational repo tasks standalone, or any routed task as the delegation transport for the orchestration skill.

transparent-pegasus/herdrpowers · 62 tokens

shipyard-executing-plans

Use when you have a written implementation plan to execute, either in the current session with builder/reviewer agents or in a separate session with review checkpoints. Also use when the user says "build this", "implement this", "execute the plan", "run the plan", or when a plan file has been loaded with independent…

lgbarn/shipyard · 78 tokens

import-spec

Import a spec-kit feature spec into Shipyard, replacing brainstorming. Use when a spec-kit feature directory exists with spec.md.

lgbarn/shipyard · 28 tokens