By ekadetov
Build and maintain persistent LLM-powered knowledge bases called wikis directly in your Obsidian vault: initialize with CLAUDE.md, ingest files or URLs to compound knowledge, query naturally for answers, lint for quality, compile indexes, and remove when done—all via commands and hooks.
npx claudepluginhub ekadetov/llm-wiki --plugin llm-wikiA Claude Code plugin that builds persistent, compounding knowledge bases inside Obsidian using the Karpathy LLM Wiki pattern. Ingest sources, query synthesized knowledge, lint for gaps — all from your Claude Code session.
claude plugin install /path/to/llm-wiki
~/ObsidianVault/ with a 03-Resources/ directoryDependencies (qmd, marp-cli) are installed automatically on first session start.
/llm-wiki:wiki init my-topic
Creates ~/ObsidianVault/03-Resources/my-topic/ with the full wiki structure: raw/, wiki/, CLAUDE.md schema, indexes, and git tracking.
/llm-wiki:wiki ingest ~/ObsidianVault/03-Resources/my-topic/raw/article.md
/llm-wiki:wiki ingest https://example.com/interesting-article
Saves the source to raw/articles/. Does not create wiki pages — use compile for that.
/llm-wiki:wiki compile
/llm-wiki:wiki compile ~/ObsidianVault/03-Resources/my-topic/raw/articles/2026-04-05-article.md
Reads uncompiled raw sources, creates/updates wiki pages (source summary, concept pages, person pages), updates the index, and commits.
/llm-wiki:wiki query "What is the relationship between X and Y?"
Searches the wiki (via qmd if available, otherwise index.md), reads relevant pages, and synthesizes an answer with [[wikilink]] citations. Offers to file the answer back into the wiki.
/llm-wiki:wiki lint
Checks for dead links, orphan pages, missing sections, contradictions, stale pages, and index drift. Auto-fixes what it can.
/llm-wiki:wiki remove my-topic
Deletes the wiki directory, removes the qmd collection, and commits the deletion.
~/ObsidianVault/03-Resources/<wiki-name>/
├── raw/ ← immutable source drops (never edited by LLM)
│ ├── articles/ ← text source documents
│ └── attachments/ ← images
├── wiki/ ← LLM-owned pages
│ ├── index.md ← catalog (read first)
│ ├── queries/ ← filed query answers
│ └── <concept>.md ← entity/concept pages
├── outputs/
│ └── reports/ ← dated lint reports
├── CLAUDE.md ← wiki schema and conventions
├── log.md ← append-only operation log
├── .gitignore
└── qmd.yml ← qmd collection config
[[wikilinks]] — Obsidian graph shows link topology for freeraw/, then run ingestqmd provides hybrid search (BM25 + vector) over the wiki. It's optional — the plugin falls back to reading index.md for small wikis. qmd is installed automatically via the SessionStart hook.
claude plugin uninstall llm-wiki
This removes the plugin and its dependency cache. Your wiki data in ~/ObsidianVault/ is preserved.
MIT
Persistent, compounding knowledge base maintained by LLMs in Obsidian — agent-first edition. Four task-oriented agents (Researcher / Advisor / Curator / Scribe) with citations, confidence, supersession, and rolling session cache. Inspired by Karpathy's LLM Wiki pattern.
Claude + Obsidian knowledge companion. Sets up a persistent, compounding wiki vault. Covers memory management, session notetaking, knowledge organization, and agent context across projects. Based on Andrej Karpathy's LLM Wiki pattern. Optional DragonScale Memory extension adds hierarchical log folds, deterministic page addresses, embedding-based semantic tiling lint, and boundary-first autoresearch topic selection.
Build and maintain LLM-powered knowledge bases as Obsidian wikis with compile, query, lint, and evolve workflows
LLM-maintained knowledge base skill — structured wiki with Obsidian, milestone-based source clustering, proactive write-back, and autonomous lint
Share bugs, ideas, or general feedback.
Build and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
A collection of Claude Code skills for knowledge management, wiki building, and more.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge.
Sign in to claim