
Llm Wiki
Install this to learn and apply the Karpathy-style three-layer Obsidian wiki pattern so distilled knowledge compiles once instead of being re-derived every chat.
Install
npx skills add https://github.com/ar9av/obsidian-wiki --skill llm-wikiWhat is this skill?
- Explains immutable raw sources versus editable distilled wiki versus schema layer
- Treats images (screenshots, diagrams) as first-class sources with vision-based ingest guidance
- Positions the wiki as a compiled artifact, not a per-query chatbot
- Anchors strategy decisions: where sources live via OBSIDIAN_SOURCES_DIR and .env
- Theory layer that pairs with separate ingest, query, and lint operation skills
Adoption & trust: 2.4k installs on skills.sh; 1.8k GitHub stars; 2/3 security scanners passed (skills.sh audits).
Recommended Skills
Journey fit
Canonical shelf is Build → docs because the skill defines how to structure and maintain the wiki artifact that engineers and agents read while shipping. Docs is where persistent knowledge bases, schemas, and handoff-ready notes live for solo builders using Obsidian as the compiled layer.
Common Questions / FAQ
Is Llm Wiki safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Llm Wiki
# 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. ### Layer 2: The Wiki (LLM-maintained) A collection of interconnected Obsidian-compatible markdown files organized by category. This is the compiled knowledge — synthesized, cross-referenced, and navigable. Each page has: - YAML frontmatter (title, category, tags, sources, timestamps) - Obsidian `[[wikilinks]]` connecting related concepts - Clear provenance — every claim traces back to a source The wiki lives at the path configured via `OBSIDIAN_VAULT_PATH` in `.env`. ### Layer 3: The Schema (this skill + config) The rules governing how the wiki is structured — categories, conventions, page templates, and operational workflows. The schema tells the LLM *how* to maintain the wiki. ## Wiki Organization The vault has two levels of structure: **categories** (what kind of knowledge) and **projects** (where the knowledge came from). ### Categories Organize pages into these default categories (customizable in `.env`): | Category | Purpose | Example | |---|---|---| | `concepts/` | Ideas, theories, mental models | `concepts/transformer-architecture.md` | | `entities/` | People, orgs, tools, projects | `entities/andrej-karpathy.md` | | `skills/` | How-to knowledge, procedures | `skills/fine-tuning-llms.md` | | `references/` | Summaries of specific sources | `references/attention-is-all-you-need.md` | | `synthesis/` | Cross-cutting analysis across sources | `synthesis/scaling-laws-debate.md` | | `journal/` | Timestamped observations, session logs | `journal/2024-03-15.md` | ### Projects Knowledge often belongs to a specific project. The `projects/` directory mirrors this: ``` $OBSIDIAN_VAULT_PATH/ ├── projects/ │ ├── my-project/ │ │ ├── my-project.md ← project overview (named after project) │ │ ├── concepts/ ← project-scoped category pages │ │ ├── skills/ │ │ └── ... │ ├── another-project/ │ │ └── ... │ └── side-project/ │ └── ... ├── concepts/ ← global (cross-project) knowledge ├── entities/ ├── skills/ └── ... ``` **When knowledge is project-specific** (a debugging technique that only applies to one codebase, a project-specific architecture decision), put it under `projects/<project-name>/<category>/`. **When knowledge is general** (a concept like "React Server Components", a person like "Andrej Karpathy", a widely applicable skill), put it in the glob