llm-wiki

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

Updated Sep 9, 2026
One-click install
npx skills add https://github.com/luckybbjason1/trading --skill llm-wiki-luckybbjason1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-wiki
Source: https://github.com/luckybbjason1/trading/tree/main/.hermes/skills/research/llm-wiki
Command: npx skills add https://github.com/luckybbjason1/trading --skill llm-wiki-luckybbjason1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Traditional RAG rediscovers knowledge from scratch on every query, losing cross-references and synthesis between sessions. This Skill maintains a persistent, compounding wiki of interlinked markdown files where knowledge is compiled once, kept current, and contradictions are explicitly flagged. ## Core Features & Use Cases - Source Ingestion: Capture URLs, PDFs, and pasted text into an immutable raw/ layer with sha256 drift detection, then synthesize them into cross-referenced entity, concept, and comparison pages. - Query & Synthesis: Answer questions from the compiled wiki, citing pages, and file valuable answers back as new pages. - Wiki Linting: Audit for orphan pages, broken wikilinks, stale content, contradictions, tag taxonomy violations, and source drift. - Use Case: A researcher tracking AI/ML developments ingests arxiv papers and articles weekly; the agent updates entity pages, flags contradictions between sources, and keeps an Obsidian-compatible vault that syncs across devices. ## 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?

Set the WIKI_PATH environment variable or use the default ~/wiki directory, then ask the agent to initialize a wiki for your domain. The agent creates SCHEMA.md, index.md, and log.md, then ingests sources into raw/ and synthesizes interlinked wiki pages.

How is an LLM wiki different from RAG?

RAG retrieves and re-derives knowledge from scratch on every query, while the wiki compiles knowledge once into persistent markdown pages. Cross-references, contradictions, and synthesis are maintained across sessions instead of being rediscovered each time.

Does the wiki work with Obsidian?

Yes, the wiki directory works as an Obsidian vault out of the box with wikilinks, graph view, and YAML frontmatter for Dataview queries. On headless servers, the obsidian-headless CLI can sync the vault to other devices via Obsidian Sync.

How do I check a markdown wiki for broken links and orphan pages?

Ask the agent to lint the wiki. The lint operation scans for orphan pages with no inbound wikilinks, broken links, missing index entries, invalid frontmatter, stale content, contradictions, and tags outside the SCHEMA.md taxonomy.

What happens when new sources contradict existing wiki pages?

The agent follows an update policy: it checks source dates, records both conflicting claims with dates and sources, and marks the contradiction in page frontmatter. Lint surfaces contested pages for user review rather than silently overwriting.