Skip to content

Knowledge Base Search

Search and cite documents in your configured Yuxi knowledge bases to answer questions from them.

Repository
xerrors/Yuxi
Stars
7,576
Licence
MIT
Files
1 file

What it does

Once installed, the agent can look up answers in the document collections configured in the Yuxi platform instead of relying only on its general knowledge. It lists the knowledge bases the user can access, searches them, opens full document passages when a snippet is not enough, and finds specific terms or sections inside a document. It is instructed to say where an answer came from and to avoid making up document or knowledge base IDs.

Great for

  • Teams that already upload internal documents into a Yuxi knowledge base and want answers grounded in them
  • People who need to verify facts or quote passages from their own reference materials
  • Developers testing or running a Yuxi deployment with retrieval over stored files

Skip it if

  • Users without a Yuxi instance and configured knowledge bases, since the tools have nothing to query
  • Questions that need up-to-date public information, because the skill only searches the user's own stored documents
  • Situations where the answer must be fully reliable without checking sources, because retrieval can return partial snippets and the skill itself notes that a single chunk may not reflect the whole document

Try asking

  • “Search our product knowledge base and tell me what the refund policy says, with the source file.”
  • “Which knowledge bases do I have access to right now?”
  • “Find every section in the onboarding handbook that mentions the security review process.”
  • “Open the full context around the Q3 metrics paragraph in the finance report.”
Step-by-step guide: how to use Knowledge Base SearchInstall, first run, examples, tips and FAQs

Install in 3 steps

  1. 1

    Download the skill

    The ZIP contains the 1 original files, the MIT licence and an attribution note.

    knowledge-base.zip
  2. 2

    Add it to your agent

    Claude Code (all projects)

    mkdir -p ~/.claude/skills && unzip knowledge-base.zip -d ~/.claude/skills/

    Claude Code / Agent SDK (this project only)

    mkdir -p .claude/skills && unzip knowledge-base.zip -d .claude/skills/

    Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.

  3. 3

    Ask for the task

    No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.

Get better results

  • Ask the agent to list available knowledge bases first if you are unsure which one holds your material.
  • Ask for sources in your request so the agent reports the knowledge base, file and passage it relied on.
  • For external read-only sources such as Dify, expect search only; full-document opening and in-document search may not be supported.

What's inside

  • SKILL.md

Redistributed unmodified from xerrors/Yuxi under the MIT licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.