From kb
Sets up the knowledge base for a project. Creates the KB config, directory structure, and appends minimal instructions to the project's CLAUDE.md. Run this once when first using KB skills in a new project.
How this skill is triggered — by the user, by Claude, or both
Slash command
/kb:bootstrapThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Sets up KB configuration and appends minimal instructions to the project's CLAUDE.md.
Sets up KB configuration and appends minimal instructions to the project's CLAUDE.md.
Run which uv. If not found:
uvis required but not installed. Install it via your package manager:brew install uv # macOS pip install uv # pipSee uv installation docs for other methods. Then restart your terminal and re-run
/kb-bootstrap.
Stop if uv is not available.
Check if .claude/knowledge-base/config.json already exists.
kb_roots entries. Ask if they want to add another KB or re-run the CLAUDE.md update. If neither, stop.If $ARGS provides a path, use it. Otherwise, ask the user using AskUserQuestion:
Create .claude/knowledge-base/config.json:
{
"kb_roots": [
{ "name": "core", "path": "./<chosen-path>" }
]
}
Create the KB directory and CHANGELOG.md:
<kb-path>/
└── CHANGELOG.md
Initialize CHANGELOG.md:
# Changelog
Read the project's CLAUDE.md (if it exists). Append the content from assets/claude-md-snippet.md — do NOT replace existing content. If the file doesn't exist, create it with only the snippet content.
Tell the user: "KB is set up. You can start learning with /kb-learn."
npx claudepluginhub farzadshbfn/knowledge-plugin --plugin kbInitializes Knowledge Base section in CLAUDE.md and creates docs/kb/ directory with README and structure guidelines. Idempotent—safe to run multiple times for Claude Code projects.
Use when setting up a new knowledge base, bootstrapping an Obsidian vault, or when user says 'init kb', 'new knowledge base', 'create kb', or 'setup vault'. Triggers on any request to initialize or scaffold a knowledge base project.
Bootstraps repo-local wiki knowledge system with YAML pages, raw manifests, Python scripts for validation/ingest/provenance, auto-updates, and configs for Claude Code/Cursor/Windsurf. For durable project context and wiki-first rules.