LLM Knowledge Base Runtime
Paste the following prompt into your AI chat to install this skill:
Please install @user_15292d5a/yjkj-llm-knowledge-bases into my AI assistant according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When source material arrives as raw files, PDFs, images, and structured data, direct chat-style answering can lose provenance, repeat summaries, and let wiki structure decay. This skill targets a Vault managed by the LLM Knowledge Bases runtime. The goal is not only to answer once, but to turn each meaningful interaction into retrievable, traceable, and maintainable wiki notes.
How It Works
- Clear runtime boundary: the runtime owns Vault I/O; the agent handles understanding, synthesis, linking, and deciding which
wiki/sources/,wiki/concepts/,wiki/entities/, orwiki/syntheses/pages should be added or improved. - Tool-mediated access: reads and writes go through
kb_*tools such askb_status,kb_read_raw,kb_search,kb_read_notes,kb_upsert_source_note, andkb_rebuild_indexes, rather than direct file edits underraw/,wiki/, or.llm-kb/representations/. - Asset compilation: text and structured data use the source compile path; PDFs and images use a representation-first path, filling in
native_text,ocr_text, orvision_notesbefore compiling a source note. - Grounded answering: search first with
kb_search, cite only notes that were read, file query-specific answers as output archives, and promote reusable knowledge into concept, entity, or synthesis pages. - Maintenance loop: use
kb_lintto surface placeholder titles, stale links, manifest drift, and missing representations, then apply narrow repairs throughkb_repair_source_idsandkb_rebuild_indexes.
Boundaries
It fits ongoing curation of source notes, book reviews, and topic pages. It is not a general one-off Q&A layer. Prefer small, high-confidence batches, verify evidence before creating derived pages, and avoid expanding vague continuation requests into large rewrites.
Use Cases
- Compile missing text raw files under `raw/书评 1/` into source notes with titles, summaries, evidence, and related links.
- Inspect the wiki for placeholder titles, broken links, and source-id drift, then apply small targeted repairs.
- Answer a topic question from retrieved wiki notes and promote reusable conclusions into concept or synthesis pages.
- Prepare PDF or image assets with OCR or vision notes before compiling citable source notes.
Best For
- Knowledge engineers maintaining a personal wiki who want to turn external articles into searchable notes.
- Content editors curating book reviews who need to batch-fill missing source notes.
- Domain researchers tracking AI topics who want to distill scattered material into concept or synthesis pages.
- Platform engineers maintaining a knowledge base who need to triage lint warnings and repair source-id drift.
Related Skills
Reads conversation-trace files to generate an animal- or mythology-based soul mirror card and Johari Window insights.
A Deling knowledge-base research workflow that clarifies intent, runs broad and vertical searches, supplements with web sources, validates diversity, and traces key claims.
A SiYuan knowledge-base management skill for double-link parent indexes, MOCs, numbered documents, tags, repo sync, and WeChat import workflows.
A structured workflow for academic literature reviews, covering multi-database search, screening, thematic synthesis, citation validation, and PDF output.