llm-wiki

Defines the three-layer architecture for maintaining an Obsidian-based LLM knowledge wiki.

Updated Nov 9, 2023
One-click install
npx skills add https://github.com/oresttokovenko/dot-files --skill llm-wiki-oresttokovenko
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-wiki
Source: https://github.com/oresttokovenko/dot-files/tree/main/chezmoi/dot_agents/skills/llm-wiki
Command: npx skills add https://github.com/oresttokovenko/dot-files --skill llm-wiki-oresttokovenko

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Raw notes, papers, and conversation logs are hard to query directly, and RAG re-derives answers on every query. This Skill establishes a compiled, LLM-maintained Obsidian wiki where knowledge is distilled once into cross-referenced markdown pages and kept current over time. ## Core Features & Use Cases - Three-Layer Architecture: Separates immutable raw sources, the LLM-maintained wiki of categorized markdown pages, and the schema that governs structure and workflows. - Structured Page Schema: Provides page and paper deep-dive templates with frontmatter for provenance markers, typed relationships, confidence scores, lifecycle states, and importance tiers. - Manifest and Index Conventions: Defines .manifest.json source-key contracts, index.md, and log.md so ingest, query, and lint operations stay auditable and incremental. - Use Case: A researcher collecting arXiv papers and articles uses this pattern to organize an Obsidian vault where each source updates concept, entity, and reference pages with traceable provenance instead of re-summarizing sources per question. ## Quick Start Ask the assistant to explain the LLM wiki pattern and help set up a new Obsidian knowledge base using the three-layer architecture.

Frequently Asked Questions about llm-wiki

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

FAQPage Schema
How do I set up an LLM-maintained Obsidian wiki?

Configure OBSIDIAN_VAULT_PATH and OBSIDIAN_SOURCES_DIR in a .env file, then organize the vault into category directories like concepts, entities, skills, references, synthesis, and journal. Add index.md, log.md, and .manifest.json at the vault root to enable tracking and navigation.

What is the difference between an LLM wiki and RAG?

RAG re-searches raw sources and synthesizes an answer from scratch on every query. An LLM wiki compiles knowledge once into maintained, cross-referenced markdown pages, so queries hit pre-synthesized content with clear provenance.

How does the wiki track which sources produced which pages?

A .manifest.json file records every ingested source with portable source keys, timestamps, and the pages_created and pages_updated lists. This enables delta ingestion, staleness detection, and auditing of which source contributed to which page.

Can the wiki handle academic papers with equations and figures?

Yes, a dedicated Paper Deep-Dive Template supports LaTeX display math, Mermaid diagrams, embedded figures, and results tables for arXiv or conference papers. Other source types use the generic page template with key ideas and sources sections.

What are the limitations of the markdown-based wiki approach?

Full-vault scans stop scaling beyond a few hundred pages, so skills must use cheap retrieval primitives like index reads and grep before full page reads. Confidence scoring and lifecycle transitions also depend on human review rather than full automation.