LLM_Wiki_Advanced: Offline Vector Retrieval and EBR Evidence Reasoning Knowledge Base Skill

Foreword

When building a “project knowledge base” within an Agent, common approaches involve stuffing entire documents into the context window or relying on online vector services. The former often leads to exceeding the window limit and makes tracing sources difficult; the latter introduces issues with API keys, networking, and cross-border data transfer. If you wish for knowledge to be沉淀ed as structured cards, for retrieval to complement semantic search with keywords, for answer paths to be weighted by evidence type, and for writes to require user confirmation, the community Skill LLM_Wiki_Advanced (coordinate @user_ceacef9a/llm-wiki-plus-ebr) packages these capabilities into a self-contained solution: local embedding models, hybrid retrieval, and Evidence-Based Reasoning (EBR) are all completed within the same Skill.

What is this

LLM_Wiki_Advanced is a community Skill under the SkillHub category knowledge-management (source: community, publisher: user_ceacef9a, current version: 1.0.0). The official introduction positions it as: a self-contained LLM knowledge base with a built-in EBR reasoning engine and fully offline local vector semantic retrieval (embedding model: Xenova/all-MiniLM-L6-v2).

The core problems it aims to solve can be summarized in four points: ingesting documents into structured knowledge cards; recalling relevant content via hybrid retrieval; organizing conclusions along multiple reasoning paths based on evidence weights; and writing back to the knowledge base only after user confirmation. The official emphasis is that all knowledge is source-anchored, structurally limiting unfounded hallucinated outputs. The tag requires_api_key=false indicates that its primary offline capabilities can be completed without relying on external API keys.

Core Functions

The following capabilities are derived from the SkillHub page and the crawled summary; specific commands or configuration fields not present in the materials will not be expanded upon.

Document Ingestion and Knowledge Cards

Organizes raw documents into structured knowledge cards to facilitate subsequent retrieval and reasoning, rather than merely piling them up as long text in the context.

Hybrid Retrieval (Local Vector + BM25)

Retrieval adopts hybrid search: prioritizing local vector semantic retrieval; using BM25 keywords as a fallback when necessary. Embeddings run locally, consistent with the “fully offline” description.

EBR Evidence-Weighted Reasoning

The reasoning engine works via evidence-weighted paths. The path types listed officially include:

  • Definitive
  • Causal
  • Predictive
  • Evaluative

Different paths correspond to different evidence weights and reasoning methods, used to organize answers on top of recalled fragments, rather than free-styling脱离 sources.

User-Confirmed Write-back

Knowledge base updates follow a user-confirmed write-back process: the Agent will not silently rewrite content within the library; it requires your confirmation before persisting changes, reducing the risk of erroneous writes.

Source Anchoring and Hallucination Suppression

The official statement is: all knowledge is source-anchored, and hallucination is structurally blocked—meaning the process design requires conclusions to be traceable to ingested materials, rather than allowing the model to fabricate “facts within the library” out of thin air.

Installation and Activation

The Skill is hosted on SkillHub. The installation prompt provided on the page is: install the coordinate @user_ceacef9a/llm-wiki-plus-ebr according to the SkillHub Installation Documentation.

1. Install SkillHub CLI (if not already installed)

First, check if the CLI is already present:

command -v skillhub && skillhub --version

If not installed, you can execute the full installation (CLI + default Skills) via the official documentation:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

If only the CLI is needed:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

2. Install this Skill to the current Agent’s skills directory

The official requirement is that during installation, you must use --dir to point to the actual skills directory used by the current Agent; otherwise, the default installation to ./skills/ might not be recognized. Common paths are as follows (excerpted from SkillHub installation documentation):

Environment skills Directory
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or .agents/skills/ under the project

Example of installing this Skill in Cursor:

skillhub install user_ceacef9a/llm-wiki-plus-ebr --dir ~/.cursor/skills/

You can also hand the prompt to an AI to let it complete the installation based on the coordinates and installation documentation above. After installing or updating skills, restart or refresh the Agent according to your client’s requirements to enable the new Skill.

Public materials do not separately list differentiated configuration items for Cursor / Codex CLI / Claude Code regarding this Skill; the differences among the three are mainly reflected in the skills directory path, while the installation command form is identical.

Typical Usage

The public SkillHub page does not provide copyable end-to-end example commands or the full text of SKILL.md. Based on the official summary, the expected usage flow is as follows (logical steps, not fabricated specific APIs):

  1. Ingestion: Hand local or workspace documents to the Agent; the Skill guides the transformation into structured knowledge cards and entering them into the library.
  2. Querying: The user asks a question on a specific topic; the Skill triggers hybrid retrieval (vector + BM25 if necessary) to recall cards and source fragments relevant to the question.
  3. Reasoning: The EBR engine organizes the answer on the recalled evidence, weighting it along paths such as Definitive / Causal / Predictive / Evaluative, while maintaining correspondence with sources.
  4. Write-back: If knowledge needs to be added or revised, the Agent proposes the change, the user confirms it, and then the write-back is executed.

The actual triggering method depends on the SKILL.md within the Skill after installation and the Agent’s invocation conventions for the Skill; this article does not fabricate subcommands or environment variable names that do not appear on the official page.

Use Cases and Notes

Who is it for

  • Those who need to maintain retrievable, source-traceable private or project knowledge within an Agent, and wish for vector retrieval to run offline.
  • Those who want room for maneuver between semantic similarity and exact keywords in retrieval (hybrid retrieval + BM25 fallback).
  • Those with a need to distinguish “conclusion types” (definitive, causal, predictive, evaluative) and wish to reflect evidence weights through EBR paths.
  • Those who require knowledge base changes to be manually confirmed before writing.

Limitations and Notes

  • The embedding model is Xenova/all-MiniLM-L6-v2; initial use usually involves local preparation of the model and runtime dependencies. Specific dependencies are subject to the instructions within the Skill package; the public summary does not provide size or hardware minimums.
  • No integration instructions regarding Cursor Rules, MCP, or other vector libraries appear in the materials; do not default to compatibility with undeclared external stacks.
  • SkillHub statistics (based on crawled materials): Rating 100000, Downloads 946, Installations 0; numbers will change over time, please refer to the SkillHub page.
  • Community source (community) means the maintenance rhythm and Issue channels are subject to SkillHub and publisher information; the page displays the author as Hugo_Chan, with coordinates belonging to user_ceacef9a.

Conclusion

LLM_Wiki_Advanced combines offline vector retrieval, BM25 fallback, structured knowledge cards, EBR multi-path reasoning, and user-confirmed write-back into a single Skill, targeting Agent knowledge base scenarios that require “anchored sources and minimal hallucinations.” If you wish to install from SkillHub or view details, you can use:

  • SkillHub Page: https://www.skillhub.cn/skills/user_ceacef9a/llm-wiki-plus-ebr
  • API Entry (official address in materials): https://api.skillhub.cn/user_ceacef9a/llm-wiki-plus-ebr
  • Installation Coordinate: @user_ceacef9a/llm-wiki-plus-ebr, Version 1.0.0
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye