This is the foundational skill for Andrej Karpathy's LLM Wiki pattern: a three-layer system where raw sources (docs, PDFs, images) get distilled into an Obsidian vault of interconnected markdown pages, governed by a schema that tells the LLM how to maintain it. The wiki isn't a chatbot, it's a compiled artifact. Knowledge gets synthesized once, cross-referenced with wikilinks, and kept current. You get six default categories (concepts, entities, skills, references, synthesis, journal) plus project-specific namespaces. Every page tracks provenance back to sources, and a manifest enables delta ingestion so you only process what's new. Use this when you want to understand the architecture or set up a new knowledge base. Other skills handle the actual operations like ingesting and querying.

skills.sh installs
4.2K
GitHub stars
3.7K
last updated
Aug 21, 2026

Install

$ npx -y skills add ar9av/obsidian-wiki --skill llm-wiki --agent claude-code

Installs into .claude/skills of the current project.

Files

LLM Wiki — Knowledge Distillation Pattern

You are maintaining a persistent, compounding knowledge base. The wiki is not a chatbot — it is a compiled artifact where knowledge is distilled once and kept current, not re-derived on every query.

Three-Layer Architecture

Layer 1: Raw Sources (immutable)

The user's original documents — articles, papers, notes, PDFs, conversation logs, bookmarks, and images (screenshots, whiteboard photos, diagrams, slide captures). These are never modified by the system. They live wherever the user keeps them (configured via OBSIDIAN_SOURCES_DIR in .env). Images are first-class sources: the ingest skills read them via the Read tool's vision support and treat their interpreted content as inferred unless it's verbatim transcribed text. Image ingestion requires a vision-capable model — models without vision support should skip image sources and report which files were skipped.

Think of raw sources as the "source code" — authoritative but hard to query directly.

Sponsors

Details

Repository
github.com/ar9av/obsidian-wiki
Categories
Documentation, Code Review & Quality, AI & Agent Building, Office & Documents
First seen
May 16, 2026

More from ar9av/obsidian-wiki

All 37
1zc277584121 avatarjupyter-notebook-writingzc277584121/marketing-skillsWrite Milvus application-level Jupyter notebook examples using a Markdown-first workflow with jupyter-switch for format conversion.3.9Kskills.sh installs
2giuseppe-trisciuoglio avatarlearngiuseppe-trisciuoglio/developer-kitProvides autonomous project pattern learning by analyzing the codebase to discover development conventions, architectural patterns, and coding standards, then g3.5Kskills.sh installs
3ar9av avatarwiki-updatear9av/obsidian-wikiSync the current project's knowledge into the Obsidian wiki. Use this skill from any project when the user says "update wiki", "sync to wiki", "save this to my 3.4Kskills.sh installs
4ar9av avatarwiki-exportar9av/obsidian-wikiExport the Obsidian wiki's knowledge graph to structured formats for use in external tools. Use this skill when the user says "export wiki", "export graph", "ex3.3Kskills.sh installs
5content-designer avatarux-writingcontent-designer/ux-writing-skillux writing3Kskills.sh installs
6sanyuan0704 avatarwiki-ingestsanyuan0704/sanyuan-skillsCompile articles, documents, or notes into a structured wiki knowledge base. Use when user says 'ingest to wiki', 'compile to knowledge base', 'update wiki', 'w2.8Kskills.sh installs