ChenXplorer

Zenwiki — AI skill for Claude Code

AI community

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

[![CI](https://github.com/ChenXplorer/zenwiki/actions/workflows/ci.yml/badge.svg)](https://github.com/ChenXplorer/zenwiki/actions/workflows/ci.yml) [![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](./LICENSE) [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/) ![Status: alpha](https://img.shields.io/badge/status-alpha-orange)

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 doc view
Ask AI — hybrid retrieval + Agent synthesizes with citations ask ai
Crystallize — one-click save Q&A back into wiki/outputs/ crystallize

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 into my-wiki/raw/, the Agent compiles them into my-wiki/wiki/. Open my-wiki/ in Obsidian to rea