init-bootstrap

init-bootstrap is a skill for Claude Code, Codex from heyitsnoah/claudesidian. It costs 52 tokens per session (7,429 once invoked), scanned C, original, MIT.

An interactive setup wizard for creating a personalized CLAUDE.md file for an Obsidian vault. Obsidian is a note-taking app that stores linked notes in a folder.

In plain words
What is it for?
Use it when setting up claudesidian, onboarding an existing vault, or gathering workflow preferences before creating the configuration.
Why use it?
It turns a user's vault structure and note-taking preferences into instructions an AI coding assistant can follow.

Skill for Claude CodeCodex

About the project

Claudesidian is a preconfigured Obsidian vault structure that lets Claude Code help manage a personal knowledge base as a thinking partner. It is for people who organize notes and other knowledge in Obsidian, with Git-based version control and optional integrations for image analysis and web research. The catalogue add-ons provide Claude Code skills, agents, hooks, and settings for working with this vault.

heyitsnoah/claudesidian · 2,579 stars · on GitHub

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 skills/heyitsnoah/claudesidian/init-bootstrap
Any agent
npx skills add heyitsnoah/claudesidian --skill init-bootstrap
Clone the repo
git clone --depth 1 https://github.com/heyitsnoah/claudesidian

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/heyitsnoah/claudesidian/init-bootstrap.svg)](https://agentmods.dev/skills/heyitsnoah/claudesidian/init-bootstrap)
Your own site
<a href="https://agentmods.dev/skills/heyitsnoah/claudesidian/init-bootstrap"><img src="https://agentmods.dev/badge/skills/heyitsnoah/claudesidian/init-bootstrap.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 7,429 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00052 $0.07429
Opus 5 $0.00026 $0.03714
Sonnet 5 $0.00010 $0.01486
Haiku 4.5 $0.00005 $0.00743

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

Security

Grade C, and why

init-bootstrap 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 5d 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.

Recursive force deletehighDestructive command

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

rm -rf .github # Remove GitHub workflows
.agents/skills/init-bootstrap/SKILL.md · 862 lines

How it starts

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

Initialize Bootstrap Configuration

This command helps you create a personalized CLAUDE.md configuration file by asking questions about your Obsidian workflow and preferences.

Task

Read the CLAUDE-BOOTSTRAP.md template and interactively gather information about the user's:

  • Existing vault structure (if any)
  • Workflow preferences
  • Note-taking style
  • Organization methods
  • Specific requirements

Then generate a customized CLAUDE.md file tailored to their needs.

Process

  1. Initial Environment Setup

    • Get current date with date command for timestamps
    • Check current folder name and ask if they want to rename it
    • If yes, guide them through renaming (handle parent directory move)
    • Check for package.json and install dependencies:
      • Try pnpm install first (faster, better)
      • Fall back to npm install if pnpm not available
    • Verify core dependencies are installed
    • Check git status:
      • If no .git folder: Initialize git repository
      • If has remote origin: Ask about development work
        • Personal vault: Remove origin and .github folder
        • Contributing: Keep origin and workflows intact
      • If clean local repo: Ready to go
    • Don't create folders yet - wait until after asking about organization method
  2. Check Existing Configuration

    • Look for existing CLAUDE.md
    • If exists, ask if they want to update or start fresh
    • Check for CLAUDE-BOOTSTRAP.md template
  3. Gather Vault Information

    • Search common locations for existing Obsidian vaults (.obsidian folder)
    • Check these paths with appropriate depth limits:
      • ~/Documents (maxdepth 3) - all platforms
      • ~/Desktop (maxdepth 3) - all platforms
      • ~/Library/Mobile Documents/iCloud~md~obsidian/Documents (maxdepth 5 - macOS only, iCloud vaults)
      • Home directory ~/ (maxdepth 2) - all platforms
      • Current directory parent (maxdepth 2) - all platforms
    • If found, ask: "Found Obsidian vault at [path]. Is this the vault you want to import?"
    • Count files correctly: find [path] -type f -name "*.md" | wc -l (no depth limit)
    • Show vault size: du -sh [path]
    • If confirmed, analyze vault structure:
      • Run tree -L 3 -d [path] to see folder hierarchy
      • Sample 10-15 random notes to understand content types
      • List 30-50 recent file names to detect naming patterns
      • Check for daily notes folder and format
      • Identify most active folders by file count
      • Detect if using PARA, Zettelkasten, Johnny Decimal, or custom
    • If not the right one or none found:
      • On macOS only: Ask: "Is your vault stored in iCloud Drive? (yes/no)"
      • If yes (macOS): "Please enter the full path to your vault (e.g., /Library/Mobile Documents/iCloudmd~obsidian/Documents/YourVault)"
      • If no, or on Linux/Windows: "Please enter the path to your existing vault, or type 'skip' to start fresh"
      • Validate user-provided paths (see "User Path Validation" section below)
    • If no existing vault or user skips, they're starting fresh

Read the full file on GitHub · 862 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. 5d ago First seen · 862 lines · 52 tokens per session scan C 6711cc4afdab

Subscribe to this mod's changes

init-bootstrap is a skill published in the GitHub repository heyitsnoah/claudesidian (2,579 stars, last pushed 4mo ago), licensed MIT. It adds 52 tokens to every session and 7,429 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens