llm-wiki

Build and maintain an interlinked markdown knowledge base from ingested sources.

Updated Dec 7, 2025
One-click install
npx skills add https://github.com/harlanljones/dotfiles --skill llm-wiki-harlanljones
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: llm-wiki
Source: https://github.com/harlanljones/dotfiles/tree/main/dot_hermes/skills/research/llm-wiki
Command: npx skills add https://github.com/harlanljones/dotfiles --skill llm-wiki-harlanljones

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Traditional RAG rediscovers knowledge from scratch on every query, losing cross-references and synthesis. This Skill maintains a persistent, compounding markdown wiki where sources are ingested once, cross-linked, and kept current, so contradictions and connections are already resolved before you ask. ## Core Features & Use Cases - Source Ingestion: Capture URLs, PDFs, and pasted text into an immutable raw/ layer with sha256 drift detection, then synthesize entity, concept, and comparison pages with wikilinks and provenance markers. - Query & Synthesis: Answer domain questions from compiled wiki pages, citing sources, and file valuable answers back as query or comparison pages. - Wiki Linting: Audit for orphan pages, broken wikilinks, stale content, tag taxonomy violations, contradictions, and source drift with severity-grouped reports. - Use Case: A researcher tracking AI/ML developments ingests arxiv papers and articles weekly; the agent updates entity pages for models and labs, flags contradictions between benchmarks, and keeps an Obsidian-compatible index current. ## Quick Start Ask the agent to create a new wiki for your research domain and ingest your first source URL into it.

Frequently Asked Questions about llm-wiki

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

FAQPage Schema
How do I build a markdown knowledge base with an AI agent?▼

Initialize a wiki directory with SCHEMA.md, index.md, and log.md, then ingest sources one at a time. The agent creates entity and concept pages with wikilinks, updates the index, and logs every action for a compounding knowledge base.

What is the difference between an LLM wiki and RAG?▼

RAG retrieves and re-derives knowledge from raw documents on every query. An LLM wiki compiles sources once into cross-referenced markdown pages, so synthesis, contradiction handling, and connections persist across sessions.

Does the llm-wiki skill work with Obsidian?▼

Yes, the wiki directory works as an Obsidian vault out of the box. Wikilinks render as clickable links, YAML frontmatter powers Dataview queries, and obsidian-headless enables sync on servers without a display.

How do I detect when a re-ingested source has changed?▼

Each raw source stores a sha256 hash of its body in frontmatter. On re-ingest of the same URL, the agent recomputes the hash and compares it, skipping unchanged content and flagging drift when the source has changed.

When should the agent not create a new wiki page?▼

Pages are created only when an entity or concept appears in two or more sources or is central to one source. Passing mentions and minor details are skipped to prevent page sprawl, per the thresholds defined in SCHEMA.md.