debug-toolbar: Command for Claude Code

.claude/commands/bootstrap.md

bootstrap is a command for Claude Code from JacobCoffee/debug-toolbar. It costs 8 tokens per session (427 once invoked), scanned B, original, MIT.

A project re-bootstrap command that checks the existing agent setup, updates outdated files, and keeps marked custom sections.

In plain words
What is it for?
It helps inspect and update command files, agent files, project guidance, quality gates, and pattern documentation.
Why use it?
It reduces the risk of losing project-specific changes when bringing the standard commands, agents, and configuration back into alignment.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md.

This is JacobCoffee/debug-toolbar's own configuration. It tells Claude Code how to work on debug-toolbar 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 debug-toolbar configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JacobCoffee/debug-toolbar. 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/JacobCoffee/debug-toolbar/main/.claude/commands/bootstrap.md
Clone the repo
git clone --depth 1 https://github.com/JacobCoffee/debug-toolbar

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 bootstrap

README.md
[![agentmods](https://agentmods.dev/badge/commands/jacobcoffee/debug-toolbar/bootstrap.svg)](https://agentmods.dev/commands/jacobcoffee/debug-toolbar/bootstrap)
Your own site
<a href="https://agentmods.dev/commands/jacobcoffee/debug-toolbar/bootstrap"><img src="https://agentmods.dev/badge/commands/jacobcoffee/debug-toolbar/bootstrap.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 427 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 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.00008 $0.00427
Opus 5 $0.00004 $0.00214
Sonnet 5 $0.00002 $0.00085
Haiku 4.5 $0.00001 $0.00043

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

Security

Grade B, and why

bootstrap scanned grade B 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 2d 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.

Enumerates other installed skillsmediumAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls -d .claude/skills/*/ 2>/dev/null
.claude/commands/bootstrap.md · 85 lines

What it actually says

Bootstrap Alignment Mode

This command re-bootstraps the project infrastructure, preserving custom content.

Alignment Workflow

Phase 1: Inventory Existing Configuration

# List existing commands
ls .claude/commands/*.md 2>/dev/null

# List existing skills
ls -d .claude/skills/*/ 2>/dev/null

# List existing agents
ls .claude/agents/*.md 2>/dev/null

# Check CLAUDE.md version
head -5 CLAUDE.md 2>/dev/null | grep "Version"

# Check pattern library
ls specs/guides/patterns/*.md 2>/dev/null

Phase 2: Identify Updates

Core commands (must exist):

  • prd.md
  • implement.md
  • test.md
  • review.md
  • explore.md
  • fix-issue.md
  • bootstrap.md

Core agents (must exist):

  • prd.md
  • expert.md
  • testing.md
  • docs-vision.md

Infrastructure (must exist):

  • CLAUDE.md
  • .claude/mcp-strategy.md
  • specs/guides/quality-gates.yaml
  • specs/guides/patterns/README.md

Phase 3: Preserve Custom Content

Before updating any file:

  1. Read existing content
  2. Identify custom sections (marked with ## Custom:)
  3. Store for preservation
  4. Merge into updated file

Phase 4: Apply Updates

Update files that are out of date while preserving custom content.

Phase 5: Report

Alignment Complete ✓

Updated:
- CLAUDE.md (version X.X → Y.Y)
- .claude/commands/prd.md

Preserved Custom Content:
- .claude/commands/custom-command.md

No Changes Needed:
- specs/guides/quality-gates.yaml
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. 2d ago First seen · 85 lines · 8 tokens per session scan B d641ca705579

Subscribe to this mod's changes

bootstrap is a command published in the GitHub repository JacobCoffee/debug-toolbar (7 stars, last pushed 5mo ago), licensed MIT. It adds 8 tokens to every session and 427 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.