llm-wiki

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

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/CHENHUI-X/toolbox --skill llm-wiki-chenhui-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: llm-wiki
Source: https://github.com/CHENHUI-X/toolbox/tree/main/official-skills/research/llm-wiki
Command: npx skills add https://github.com/CHENHUI-X/toolbox --skill llm-wiki-chenhui-x

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-referenced, and kept current, so accumulated knowledge is immediately queryable. ## 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-linked entity, concept, and comparison pages. - Query & Synthesis: Answer domain questions by reading the index and relevant pages, citing wiki pages, and filing valuable answers back into the wiki. - Lint & Health Checks: Audit the wiki 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 cross-linked markdown pages.

How is an LLM wiki different from RAG?

RAG retrieves and re-derives knowledge from raw documents on every query, while the wiki compiles knowledge once into interlinked pages. Cross-references, contradictions, and synthesis persist between sessions instead of being rediscovered each time.

Does the llm-wiki skill 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. On headless servers, the obsidian-headless CLI syncs the vault via Obsidian Sync without a GUI.

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

Ask the agent to lint the wiki. The lint operation scans all pages for broken wikilinks, orphan pages with no inbound links, index completeness, frontmatter validity, stale content, contradictions, and source drift via sha256 comparison.

When should I not create a new wiki page?

Do not create pages for passing mentions or minor details outside the domain. The schema's page thresholds require an entity or concept to appear in 2+ sources or be central to one source before warranting its own page.