By ekadetov
Build and query persistent knowledge bases inside Obsidian vaults using the LLM Wiki pattern — ingest files and URLs, compile indexes, lint wikis, and ask questions via Claude Code commands.
A 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
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Claude Code Plugins — curated skills for Claude Code. Currently includes Excalidraw diagram generation.
npx claudepluginhub ekadetov/llm-wiki --plugin llm-wikiPersistent, 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.
Build and maintain LLM-powered knowledge bases as Obsidian wikis with compile, query, lint, and evolve workflows
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.
Personal LLM-managed wiki: ingest sources, cross-reference pages, query with citations, and lint your markdown knowledge base
Karpathy-style local-first LLM Wiki / Knowledge Compiler for Claude Code. Ingest sources, build a structured markdown knowledge base, and maintain it with AI-powered workflows.
LLM-maintained knowledge base skill — structured wiki with Obsidian, milestone-based source clustering, proactive write-back, and autonomous lint