praneybehl/llm-wiki-plugin

123 stars · Last commit 2026-10-29

Andrej Karpathy's LLM Wiki pattern as a skill & Claude Code plugin — turn accumulated sources into a self-maintaining, scalable markdown knowledge base.

README preview

# LLM Wiki: a second brain for AI agents

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.

Works with Claude Code, Codex, Cursor, Gemini CLI, OpenCode, OpenClaw, Pi, OMP, and Hermes. [Read the documentation](https://praneybehl.github.io/llm-wiki-plugin/).

## What is LLM Wiki?

AI agents are good at the task in front of them, but a new session starts with limited context. LLM Wiki gives them a shared memory that can live in one personal wiki across all projects or inside a specific project.

When you add a source, the agent turns it into linked Markdown pages. Later, it can find the right section and answer with citations. Useful answers can be saved back into the wiki, so the knowledge grows instead of being rebuilt from scratch.

Everything canonical stays in readable Markdown. Default semantic search is local, with no hosted vector database or embedding service. An optional [hosted wiki](#hosted-wiki) on your own Cloudflare account lets agents on many machines share one wiki.

## What's new in v4

- **Optional hosted wiki.** Deploy one Cloudflare Worker to your own account with one click. Agents on any machine read and write the wiki over MCP or a JSON API. See [Hosted wiki](#hosted-wiki).
- **Safe shared writes.** Every change is an atomic commit with an author and a revision. Surgical `edit` and `append` operations rarely conflict. A conflict tells the agent to read the page again and retry.
- **Migration and mirror.** `/wiki:migrate` moves a local wiki, verifies every uploaded file by SHA-256, and reports the files that the import skipped. `wiki_remote.py pull --git` keeps a read-only local mirror for Git history and Obsidian.
- **Optional decision models.** Small models can gate search relevance, check graph evidence and flag untrusted text. Off by default. See [Decision layer](#decision-layer-optional).

View full repository on GitHub →