init

Project setup commands for Beads, an issue-tracking system that stores work items in the current project. They create its local database and choose the prefix used in issue IDs.

In plain words
What is it for?
Initialize Beads in a project, set an issue prefix, show where its database is stored, and report existing project statistics.
Why use it?
They give a new project a ready-to-use issue tracker and explain the first steps for recording work.

Command

Part of the beads plugin — 29 commands, 1 agent, 4 hooks shipped together

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.

agentmods
npx agentmods add commands/gastownhall/beads/init
Clone the repo
git clone --depth 1 https://github.com/gastownhall/beads

Or install beads, the plugin that ships this one along with the rest of its 29 commands, 1 agent, 4 hooks.

Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 169 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00006 $0.00169
Opus 5 $0.00003 $0.00084
Sonnet 5 $0.00001 $0.00034
Haiku 4.5 $0.00001 $0.00017

Measured 3d ago against content hash 975759ee3d7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init 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 3d 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

1 near-identical copy found in the catalogue:

  • init — 100% identical, 2 lines differ
plugins/beads/skills/beads/commands/init.md · 19 lines

What it actually says

Initialize beads issue tracking in the current directory.

If a prefix is provided as $1, use it as the issue prefix (e.g., "myproject" creates issues like myproject-1, myproject-2). If not provided, the default is the current directory name.

Use the beads MCP init tool with the prefix parameter (if provided) to set up a new beads database.

After initialization:

  1. Show the database location
  2. Show the issue prefix that will be used
  3. Explain the basic workflow (or suggest running /beads:workflow)
  4. Suggest creating the first issue with /beads:create

If beads is already initialized, inform the user and show project stats using the stats tool.

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. 3d ago First seen · 19 lines · 6 tokens per session scan A 975759ee3d7a

Subscribe to this mod's changes

init is a command published in the GitHub repository gastownhall/beads (26,797 stars, last pushed yesterday), licensed MIT. It adds 6 tokens to every session and 169 once invoked, about $0.0000 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.