llm-wiki-builder

Builds and maintains a persistent LLM-managed markdown knowledge wiki with ingest, query, and lint operations.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/Simon-YHKim/eject-button --skill llm-wiki-builder-simon-yhkim
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-wiki-builder
Source: https://github.com/Simon-YHKim/eject-button/tree/main/.claude/skills/llm-wiki-builder
Command: npx skills add https://github.com/Simon-YHKim/eject-button --skill llm-wiki-builder-simon-yhkim

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Chat-based research disappears when the session ends, forcing you to re-synthesize the same sources repeatedly. This Skill implements Karpathy's llm-wiki pattern: a persistent, compounding knowledge base where raw sources stay immutable and the LLM owns a cross-linked markdown wiki that accumulates across sessions. ## Core Features & Use Cases - Three-Layer Architecture: Separates immutable raw sources, LLM-owned wiki pages (entities, concepts, sources, queries), and a CLAUDE.md schema file defining conventions. - Ingest / Query / Lint Operations: Stage sources into raw/ and generate summary pages, answer questions with citations and file valuable answers back into the wiki, and run health checks for orphan pages, broken cross-links, and stale content. - Index and Log Conventions: Maintains a content-oriented index.md catalog and an append-only, grep-parseable log.md journal of every wiki activity. - Use Case: A researcher ingests articles and papers over weeks; each ingest updates related entity and concept pages, so a later question like "RAG vs llm-wiki differences" is answered from already-synthesized, cross-referenced pages instead of re-reading raw sources. ## Quick Start Ask the assistant to initialize your personal knowledge wiki and ingest your first article or document into it.

Frequently Asked Questions about llm-wiki-builder

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a personal knowledge wiki with an LLM?

Run the wiki-init.sh script to clone or initialize a wiki repository with a three-layer structure: raw/ for immutable sources, wiki/ for LLM-maintained markdown pages, and a CLAUDE.md schema file. Then ingest sources with ingest.sh and query with query.sh.

What is the difference between RAG and an LLM wiki?

RAG re-synthesizes answers from raw documents on every question with no accumulation. An LLM wiki compiles sources once into cross-linked markdown pages, so answers cite existing pages, contradictions get flagged, and knowledge persists across sessions.

How do I add a new article or paper to the wiki?

Run ingest.sh with a URL or local file path. The script stages the source into raw/articles/, then the LLM reads it, discusses key points with you, creates a summary page in wiki/sources/, updates related entity and concept pages, and appends a log entry.

Can I use a different git repository for the wiki?

Yes. Set the SIMON_WIKI_REPO environment variable to your own git URL, and optionally SIMON_WIKI_DIR to change the local clone location. The default repository is Simon-YHKim/Simon-LLM-Wiki cloned under ~/.claude/wiki/.

How do I check my wiki for broken links and stale pages?

Run lint.sh to generate a dated lint report. It detects orphan pages with no inbound links, broken Obsidian-style cross-references, and pages not updated in over 90 days, using frontmatter last_updated, git history, or file mtime.

Does the wiki work with Obsidian?

Yes. The wiki/ directory uses Obsidian-style [[wiki-link]] cross-references and plain markdown, so you can open the folder directly in Obsidian for graph view, backlinks, and search. The wiki is also a git repository for free version control.