From llm-wiki
Bootstrap a new LLM Wiki knowledge base in the current directory. Use when the user wants to set up a second brain, research vault, book companion, course notes, business/team knowledge base, or any persistent LLM-maintained wiki. Scaffolds raw/ and wiki/ directories, writes a tailored CLAUDE.md schema, seeds index/log/overview pages, and configures Obsidian defaults. One-shot per vault; subsequent operations use wiki-ingest, wiki-query, and wiki-lint.
How this skill is triggered — by the user, by Claude, or both
Slash command
/llm-wiki:wiki-bootstrapThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
One-shot skill that sets up a new LLM Wiki vault in the current working directory. After bootstrap, the generated `CLAUDE.md` plus the `wiki-ingest` / `wiki-query` / `wiki-lint` skills drive all ongoing operations.
One-shot skill that sets up a new LLM Wiki vault in the current working directory. After bootstrap, the generated CLAUDE.md plus the wiki-ingest / wiki-query / wiki-lint skills drive all ongoing operations.
The pattern you are applying is the LLM Wiki. Background is bundled with this plugin (read only if needed):
origin/llm-wiki.md — the original pattern (three layers: raw, wiki, schema; three operations: ingest, query, lint).origin/llm-wiki-v2.md — scaling extensions (confidence, lifecycle, graph, automation).origin/obsidian-conventions.md — frontmatter, wikilinks, mermaid rules.You do not need to explain the pattern to the user during bootstrap. Apply it.
Before writing anything, enumerate current state. Run ls -la in the working directory and classify:
.git/, LICENSE, README.md, .gitignore, .editorconfig.obsidian/CLAUDE.md, wiki/, raw/.md files that are not the files aboveMatch the directory state to one of these cases and confirm with the user:
| Directory state | Action |
|---|---|
Empty, or only .git / LICENSE / README.md | Proceed in-place after confirming the use case. |
Already has wiki/ + CLAUDE.md that looks like a bootstrapped vault | Stop. Tell the user this vault is already bootstrapped. Offer: augment (do not re-bootstrap), re-bootstrap anyway (warn: destructive), or pick a different directory. |
| Has markdown notes but no wiki structure | Offer three paths: (a) bootstrap in-place and move existing notes into raw/, (b) bootstrap in a subdirectory (e.g. ./wiki-vault/), (c) pick a different directory. |
| Has unrelated files (code, configs) | Offer: (a) bootstrap in a subdirectory, (b) pick a different directory. Do not mix a wiki into an unrelated project in-place. |
Never overwrite an existing file silently. If a file you plan to create already exists, ask.
Ask these in one concise message (not one question at a time). Accept free-form answers.
Keep it tight. The schema can refine after the first few ingests.
Before writing any files, list exactly what you will create. Example:
I will create:
raw/ (empty, with .gitkeep)
raw/assets/ (empty, with .gitkeep)
wiki/index.md
wiki/log.md
wiki/overview.md
wiki/entities/ (empty, with .gitkeep)
wiki/concepts/ (empty, with .gitkeep)
wiki/sources/ (empty, with .gitkeep)
wiki/analysis/ (empty, with .gitkeep)
CLAUDE.md (tailored to your use case)
.obsidian/app.json (sets attachment folder to raw/assets/)
Proceed?
Get explicit confirmation before writing.
Use the templates in skills/wiki-bootstrap/templates/ as the baseline. Fill in variables from the interview:
{{USE_CASE}} — short label (e.g. personal, research on distributed systems, book: The Power Broker).{{PURPOSE}} — one-paragraph mission statement you draft from the interview answers.{{ENTITY_TYPES}} — the dominant entity types the user named (comma-separated).{{SOURCE_TYPES}} — the source types the user named (comma-separated).{{DATE}} — today's date in YYYY-MM-DD.Templates to render:
| Template | Destination |
|---|---|
templates/claude-md.template.md | CLAUDE.md |
templates/index.template.md | wiki/index.md |
templates/log.template.md | wiki/log.md |
templates/overview.template.md | wiki/overview.md |
templates/obsidian-app.template.json | .obsidian/app.json |
Also create empty .gitkeep files in raw/, raw/assets/, wiki/entities/, wiki/concepts/, wiki/sources/, wiki/analysis/.
If the user chose to move existing .md notes into raw/ (Step 2), move them now, preserving filenames.
After writing, report concisely:
wiki/log.md: ## [{{DATE}}] bootstrap | Wiki initialized for {{USE_CASE}}.raw/.wiki-ingest skill will take over.wiki-query answers from the vault.wiki-lint keeps it healthy.Stop there. Do not proactively continue into an ingest in the same turn.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Applies a firm's KYC/AML rules grid to parsed onboarding records: assigns risk rating, checks required documents, outputs rule outcomes with citations, and routes for escalation.
Generates daily or weekly digests of activity from connected sources (chat, email, docs, tasks, CRM), highlighting action items, decisions, mentions, and project updates.
npx claudepluginhub bmentges/knowledge-base-template --plugin llm-wiki