Llm Wiki Compiler banner
ussumant ussumant

Llm Wiki Compiler

AI community

Description

Claude Code plugin that compiles markdown knowledge files into a topic-based wiki. Implements Karpathy's LLM Knowledge Base pattern.

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

LLM Wiki Compiler

A Claude Code plugin that compiles knowledge into a topic-based wiki — from scattered markdown files **or entire codebases**. Reduce context costs by ~90% and give your agent a synthesized understanding of any project.

**[Documentation](https://saydo-5cd0e3d7.mintlify.app/)**

What's New in v2.0

  • Codebase mode — generate wikis from code repositories, not just markdown files
  • Auto-detection/wiki-init detects whether you're in a codebase or knowledge project
  • Knowledge graph visualization — interactive canvas-based graph of your wiki

![Knowledge Graph — Dayflow codebase wiki](assets/knowledge-graph.png)

![Article panel with coverage badges](assets/knowledge-graph-panel.png)

Inspiration

This plugin implements the **LLM Knowledge Base** pattern described by [Andrej Karpathy](https://x.com/karpathy/status/2039805659525644595):

*"Raw data from a given number of sources is collected, then compiled by an LLM into a .md wiki, then operated on by various CLIs by the LLM to do Q&A and to incrementally enhance the wiki, and all of it viewable in Obsidian. You rarely ever write or edit the wiki manually, it's the domain of the LLM."*

The key insight: instead of re-reading hundreds of raw files every session, have the LLM compile them into topic-based articles once, then query the synthesized wiki. Knowledge compounds instead of fragmenting.

What It Does

You have 100+ files across meetings, strategy docs, codebases, and research. Every Claude session re-reads them. This plugin compiles them into topic-based articles that synthesize everything known about each subject — with backlinks to sources.

**Before:** Read 13+ raw files (~3,200 lines) per session **After:** Read INDEX + 2 topic articles (~330 lines) per session

![Before and After — LLM Wiki Compiler](assets/before-after.png)

How It Works

flowchart LR
    subgraph Sources["📁 Raw Sources (you own)"]
        M1["meetings/"]
        M2["strategy/