Zenwiki — AI skill for Claude Code
An implementation of Karpathy's LLM wiki idea — raw sources → agent-compiled wiki → Ask AI.
How to install Zenwiki
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ChenXplorer/zenwiki and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Zenwiki does
An implementation of Karpathy's LLM wiki idea — raw sources → agent-compiled wiki → Ask AI.
Alternatives in AI
- WeKnora — Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, an 26.9k ★
- Llmwiki — Open Source Implementation of Karpathy's LLM Wiki 1.5k ★
- LLM Wiki Skill — 基于 Karpathy llm-wiki 方法论的个人知识库构建 Skill,支持多平台 1.1k ★
README
ZenWiki
[](https://github.com/ChenXplorer/zenwiki/actions/workflows/ci.yml) [](./LICENSE) [](https://www.python.org/downloads/) 
An implementation of Karpathy's LLM wiki idea — raw sources → agent-compiled wiki → Ask AI. Drop files into `raw/`, let an AI agent compile them into a structured, interlinked wiki.
ZenWiki does not call any LLM API. It provides deterministic tools (search, dedup, lint, index) that an external Agent (Claude Code or Codex CLI) uses to build and maintain the wiki.
Screenshots
| Browse — sidebar tree, rendered markdown, frontmatter tags | ![]() |
| Ask AI — hybrid retrieval + Agent synthesizes with citations | ![]() |
Crystallize — one-click save Q&A back into wiki/outputs/ |
![]() |
How It Works
raw/ (your source files)
│
▼
zenwiki serve ──→ Agent CLI (claude / codex)
│
├─ reads CLAUDE.md (schema + workflows)
├─ reads source files from raw/
├─ calls zenwiki tools (find-similar, rebuild-index, ...)
└─ writes structured pages to wiki/
│
▼
wiki/ (browsable in Web UI, Obsidian, or Git)
Repository Layout
ZenWiki ships with two top-level directories:
core/— the program (Python package, web frontend). You only touch this if you're modifying ZenWiki itself.my-wiki/— your content. Drop sources intomy-wiki/raw/, the Agent compiles them intomy-wiki/wiki/. Openmy-wiki/in Obsidian to rea
Related Skills
Karpathy LLM Wiki
Agent Skills-compatible LLM wiki for Claude Code, Cursor, and Codex. Build a Karpathy-style knowledge base fro
Wiki Synthesize
Synthesize wiki/sources/ .md pages from raw session transcripts using the configured LLM backend.
Kc LLM Wiki Starter
Production-ready starter template for LLM-maintained wikis. Karpathy's 2026-04 three-tier pattern (raw/wiki/sc
Labs Wiki
🧠 LLM-powered personal wiki — Karpathy pattern implementation with Claude Code skills, incremental compilatio
Wikievolve
Karpathy-inspired LLM wiki and Google WikiSkill implementation for grounded agent memory, persistent knowledge
Offline RAG Teamwiki
离线 RAG + 编译式 LLM-wiki 知识库模板:raw 原文一次性编译成互链 Markdown 图谱,bge-m3 本机多语言嵌入、中文优先开箱即用;git 多人/多 agent 共建用确定性对账(R1 再生 +
Related Agents
Second Brain Curator
Maintains the user's Obsidian "second brain" vault (Karpathy LLM-Wiki pattern) and its ingest pipeline — runs/
Wiki Scribe
Use this agent when the user gives you something to file (URL, PDF, GitHub link, clipboard text, conversation
Wiki Ingestor
Specialized agent for ingesting raw sources into the knowledge base. Reads source material, extracts structure


