AI Agent Hub
Back to skills
LLM Knowledge Base Runtime icon

LLM Knowledge Base Runtime

Knowledge Management Updated 2026.08.30

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/, or wiki/syntheses/ pages should be added or improved.
  • Tool-mediated access: reads and writes go through kb_* tools such as kb_status, kb_read_raw, kb_search, kb_read_notes, kb_upsert_source_note, and kb_rebuild_indexes, rather than direct file edits under raw/, 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, or vision_notes before 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_lint to surface placeholder titles, stale links, manifest drift, and missing representations, then apply narrow repairs through kb_repair_source_ids and kb_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.