LLM Wiki V2 Knowledge Compiler
Paste the following prompt into your AI chat to install this skill:
Please install @user_dca6a55a/llm-wiki-v2 into my AI assistant according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Many RAG setups retrieve and then discard: each answer is re-derived, while entities, concepts, relationships, and updates are not accumulated. llm-wiki treats source material as a compilation target: documents, articles, code, conversations, and ledger records become maintainable wiki pages and a typed knowledge graph. It is useful when knowledge needs to be queried repeatedly, traced, and revised, not just prompted once.
How It Works
- Compile sources:
/wiki-compiledefaults to Agent compile, strips sensitive data such as API keys, tokens, passwords, and emails, renders PDF/PPT/PPTX pages to images, then uses OCR or vision analysis when available; other documents can useMarkItDown. - Structured pages: generates pages with YAML frontmatter and sections such as Key Facts, Overview, Questions, Details, Relationships, and Source Context, while updating
index.mdandlog.md. - Knowledge graph: writes
entities.jsonandedges.json, using relationship types such asuses,depends_on,contradicts, andfixed_by. - Query and ledger:
/wiki-querycombines metadata, BM25, graph, and ledger streams;/wiki-ledgermanages structured tables in DuckDB and includes table data in search results. - Quality maintenance:
/wiki-lintchecks contradictions, broken links, and orphan pages;Doctordiagnoses uncompiled sources, OCR misses, and search quality;Dreamcan modify content automatically with Git snapshots and quality-gated rollback.
Boundaries
The default path does not require an external model API, but deep PDF or PPT reading needs OCR or vision capability, and unreadable sources require user-provided readable content. Dream is an unattended writer and is safest when Git snapshots and rollback are available. Vector embeddings and rerankers are optional experimental tools, not the default retrieval path.
Use Cases
- A team organizes multiple PDFs and slide decks into queryable knowledge while preserving entity relationships.
- An engineer debugs incidents by linking postmortems, code, and logs into traceable graph queries.
- A product manager reviews requirement revisions to surface contradictions, stale claims, and missing concepts.
- An operations analyst creates a project ledger from natural language and includes it in wiki search results.
Best For
- Engineers maintaining technical docs who want entities, dependencies, and fixes in queryable graphs.
- Operations analysts managing ledgers who want natural-language entries to join search results.
- Product managers curating knowledge bases who want contradictions and stale claims flagged.
- SREs debugging incidents who want postmortems, logs, and code linked for root-cause tracing.
Related Skills
Updates Next.js documentation based on code changes in the active branch to help maintainers review PR documentation completeness.
Use a book title and author to search reviews, contents, and reader feedback, then generate a structured breakdown of historical or decision-logic books with key claims, concepts, quotes, and reading notes in Obsidian.
A multi-system divination advisor covering Bazi, Ziwei, tarot, feng shui, timing, and naming with structured interpretations.
Provides Bazi, Liu Yao, Qimen, Meihua, and date-selection guidance from classical references, with plain-language explanations and actionable suggestions.