bootstrap

bootstrap is a command for Claude Code from travisjneuman/.claude. It costs 8 tokens per session (1,342 once invoked), scanned C, original, MIT.

A command that checks and repairs a Claude Code Toolkit installation. It verifies system details, required configuration files, hooks, server settings, and Git submodules.

In plain words
What is it for?
Use it after installation, when troubleshooting, when checking setup across machines, or when repairing submodule configuration.
Why use it?
It helps identify missing or broken installation pieces before they cause configuration or synchronization problems.

Command for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Good fit Use it after installation, when troubleshooting, when checking setup across machines, or when repairing submodule configuration.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/travisjneuman/.claude/bootstrap
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.

Clone the repo
git clone --depth 1 https://github.com/travisjneuman/.claude

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/travisjneuman/.claude/bootstrap/github.svg)](https://agentmods.dev/commands/travisjneuman/.claude/bootstrap)
Your own site
<a href="https://agentmods.dev/commands/travisjneuman/.claude/bootstrap"><img src="https://agentmods.dev/badge/commands/travisjneuman/.claude/bootstrap/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 bootstrap

Your own site · 80×15
<a href="https://agentmods.dev/commands/travisjneuman/.claude/bootstrap"><img src="https://agentmods.dev/badge/commands/travisjneuman/.claude/bootstrap.svg" alt="Reviewed on agentmods" width="80" 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 1,342 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.01342
Opus 5.5 $0.00003 $0.00537
Sonnet 5.5 $0.00002 $0.00268
Haiku 4.5 $0.00001 $0.00134

Measured 26d ago against content hash 446c1b1b8d03, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

bootstrap scanned grade C with 2 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 26d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

cat ~/.claude/settings.json | grep -A50 '"enabledPlugins"'

Enumerates other installed skillsmediumAgent snooping

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

find ~/.claude/skills -name "SKILL.md" | wc -l
commands/bootstrap.md · 233 lines

How it starts

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

Bootstrap - System Configuration & Verification

Verifies and repairs the Claude Code Toolkit installation.

Use cases:

  • Fresh install verification (after running install.sh)
  • Troubleshooting configuration issues
  • Ensuring cross-machine sync is working
  • Repairing broken submodule configurations

Execution Protocol

Step 1: System Information

Report the current environment:

echo "Platform: $(uname -s)"
echo "Shell: $SHELL"
echo "Claude Dir: $HOME/.claude"
echo "Git version: $(git --version)"
echo "Node version: $(node --version)"

Step 2: Core Files Verification

Check that essential files exist:

File Purpose Required
CLAUDE.md Core rules and configuration ✓
settings.json Permissions, hooks, plugins ✓
hooks/run-hook.js Hook dispatcher ✓
.mcp.json MCP server configuration ✓ (platform-specific)

Action: Read and verify each file exists. If missing, report which files need attention.


Step 3: Submodule Health Check

Verify all marketplace repos are properly configured:

cd ~/.claude

# Check submodule status
git submodule status

# Verify no_push on all marketplace repos
for repo in plugins/marketplaces/*/; do
    push_url=$(cd "$repo" && git remote get-url --push origin 2>/dev/null)
    if [ "$push_url" != "no_push" ]; then
        echo "FIX NEEDED: $repo needs no_push configured"
    fi
done

If issues found: Offer to fix automatically:

# Fix no_push for all marketplace repos
for repo in ~/.claude/plugins/marketplaces/*/; do
    (cd "$repo" && git remote set-url --push origin no_push)
done

Step 4: Hook Verification

Check that hooks are properly configured:

Read the full file on GitHub · 233 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. 26d ago Changed · -7 lines · +8 tokens per session scan E → C 446c1b1b8d03
  2. 1mo ago Changed 8bbf1b6ddf34
  3. 1mo ago First seen · 240 lines · 0 tokens per session scan E d2e33815f4f2

Subscribe to this mod's changes

bootstrap is a command published in the GitHub repository travisjneuman/.claude (106 stars, last pushed yesterday), licensed MIT. It adds 8 tokens to every session and 1,342 once invoked, about $0.0000 per session on Opus 5.5. A static security scan graded it C with 2 findings (reads agent configuration directories, enumerates other installed skills). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.