Foundational knowledge-distillation pattern for building an Obsidian LLM wiki, based on Karpathy's architecture.

CCM score
66 of 100
skills.sh installs
4.2K
GitHub stars
3.8K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers the three-layer model: immutable raw sources, the LLM-maintained wiki, and the schema that governs both
  • Includes category conventions (concepts/, entities/, skills/, references/, synthesis/, journal/) plus a per-project projects/ layout
  • Defines special files index.md, log.md, and .manifest.json, and a portable source-key contract for syncing across machines
  • Designed for setting up a new knowledge base or deciding wiki structure, while operational ingest, query, and lint work is handled by separate skills

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/ar9av/obsidian-wiki
Categories
Memory & Context, Productivity & Notes
First seen
May 16, 2026

More from ar9av/obsidian-wiki

All 34

Similar to Llm Wiki

More Memory & Context