Zenwiki banner
ChenXplorer ChenXplorer

Zenwiki

AI community

Description

An implementation of Karpathy's LLM wiki idea — raw sources → agent-compiled wiki → Ask AI

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

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