ac5cb3049e940245d719715cbb106d3f662dee6d
Wiki template inspired by Andrej Karpathy's llmwiki gist. Includes agent instructions (AGENTS.md), empty wiki scaffold (wiki/index.md, wiki/log.md), editor config, gitignore, and README documenting the ingest/query/lint workflow.
llmwiki
Inspired by Andrej Karpathy's llmwiki gist.
A personal knowledge base built and maintained by an AI agent (Claude Code).
Drop source documents into raw/, then tell the agent to ingest, query, or
lint. The agent owns everything under wiki/; you own everything under raw/.
How it works
The agent follows the operations defined in AGENTS.md:
- ingest
<source>— summarize a raw document, create or update concept and entity pages, cross-link related pages, update the index. - query
<question>— answer a question from the wiki, optionally filing the answer as a new synthesis page. - lint — find contradictions, orphan pages, missing cross-references, and low-confidence unsourced claims.
Directory layout
raw/ Source documents (immutable — drop files here)
raw/assets/ Images, PDFs, attachments
wiki/ Agent-maintained knowledge base
wiki/index.md Catalog of all wiki pages
wiki/log.md Append-only operation log
AGENTS.md Agent instructions and page schema
Getting started
- Clone this repo as your wiki template.
- Add source documents to
raw/. - Open Claude Code and run:
ingest <filename>
Page types
| Type | Description |
|---|---|
concept |
An idea, technique, or term |
entity |
A person, model, paper, project, or organization |
source |
Summary of a raw document (src- prefix) |
synthesis |
Answer to a query, filed for future reference |
comparison |
Side-by-side analysis of two or more entities |
Description
Languages
Markdown
100%