Skip to content
Documentation
Command

/init

Initialize a personal global LLM Wiki or one in this project.

From plugin
llm-wiki
1039 skills9 commands
Install
> /plugin marketplace add praneybehl/llm-wiki-plugin
> /plugin install llm-wiki@llm-wiki

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/init

Context preview

What this command does when you run it.

Initialize a personal global LLM Wiki or one in this project.

Command definition

init.md
description: Initialize a personal global LLM Wiki or one in this project.
argument-hint: "[--global] [--wiki-dir <name>] [--raw-dir <name>]"

Initialize a new LLM Wiki. Use the `llm-wiki` skill to:

1. Open `skills/llm-wiki/references/retrieval-setup.md` and ask its setup questions in one grouped interaction: global or project scope, wiki/raw paths, model-cache location, graph usage, and agent-memory integration. Treat `--global` as selecting `~/wiki/` and `~/wiki/raw/` unless I supplied other paths. 2. Explain that initialization installs and verifies the complete local runtime through `uv`: pinned FastEmbed, sqlite-vec, PyYAML, the `BAAI/bge-small-en-v1.5` model, the parse cache, and vectors for every existing section. No API key, provider consent, per-query fee, or outbound wiki/query text is involved. 3. After I answer, run the initializer against the selected location. For a project wiki, use `python "${CLAUDE_PLUGIN_ROOT}/skills/llm-wiki/scripts/init_wiki.py" "<absolute-project-root>"`. For the standard global layout, use `python "${CLAUDE_PLUGIN_ROOT}/skills/llm-wiki/scripts/init_wiki.py" "<absolute-home-directory>" --wiki-dir wiki --raw-dir wiki/raw`. Never run it against the plugin directory. Do not report setup complete unless its runtime JSON says `"status": "ready"`. 4. Walk me through the bootstrapped `SCHEMA.md`, set its location block to the selected paths, and ask whether I want to customize page types, tags, or workflow conventions. 5. Propose the matching agent-memory integration using `references/agent-memory-integration.md`: global instructions with a stable user-level path for a global wiki, or project instructions with relative paths for a project wiki. Show the exact addition and ask whether to append, create, or skip. Never write without approval. 6. Do not ingest a source yet. This command only completes an informed setup.

Arguments (if any): $ARGUMENTS

Read more
Ships withllm-wiki

Turn PDFs, articles, transcripts, and notes into a shared wiki that your AI agents can search, cite, and keep up to date. Add a source once. Ask questions later. Keep the useful answers.

Get the whole plugin
Stats
103
Stars
16
Forks
Active
Maintenance
TypeScript
Language
MIT
License
2d ago
Last commit
5mo ago
Created

Repo: praneybehl/llm-wiki-plugin

Other commands on llm-wiki.