Yuxi is a self-hosted, multi-tenant knowledge-agent platform that combines document retrieval, knowledge graphs, multi-agent workflows, tools, sandboxes, and access controls in one workspace. Teams use it to build source-backed question answering and multi-step agents while managing their data, models, and permissions. The catalogue entries provide agents, skills, and instructions for Yuxi workflows.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add xerrors/Yuxi --skill knowledge-basegit clone --depth 1 https://github.com/xerrors/YuxiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xerrors/yuxi/knowledge-base)<a href="https://agentmods.dev/skills/xerrors/yuxi/knowledge-base"><img src="https://agentmods.dev/badge/skills/xerrors/yuxi/knowledge-base/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xerrors/yuxi/knowledge-base"><img src="https://agentmods.dev/badge/skills/xerrors/yuxi/knowledge-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00048 | $0.00598 |
| Opus 5.5 | $0.00019 | $0.00239 |
| Sonnet 5.5 | $0.00010 | $0.00120 |
| Haiku 4.5 | $0.00005 | $0.00060 |
Grade A, and why
knowledge-base scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
知识库技能
当用户要求基于项目知识库、内部资料、上传入库文档或知识图谱相关内容回答问题时,使用此技能。
可用工具
list_kbs:列出当前会话可访问且已启用的知识库。query_kb:按kb_id在指定知识库中检索内容,返回file_id和相关片段。open_kb_document:按kb_id和file_id打开文档原文窗口,适合查看更完整上下文。find_kb_document:在已知文档内用关键词或正则定位段落。search_file:按文件名关键词搜索知识库中的文件,支持指定知识库或跨知识库,返回文件列表与分页信息。
操作流程
- 需要先确认当前会话有哪些知识库可用;不确定时调用
list_kbs。 - 针对用户问题选择相关知识库,使用
query_kb检索;涉及多个库时,将 ID 数组传给kb_id,一次检索多个库。后续打开或定位文档时使用每条结果自己的kb_id和file_id。 - 检索结果的
metadata.chunk_count == 1表示文件只有一个分片;除非需要原文行号或额外上下文,否则无需打开。大于 1 且当前片段不足以回答时,使用返回的file_id调用open_kb_document查看上下文。字段缺失或为 0 表示未知,不据此判断文档完整。 - 如果用户要求定位术语、指标、章节或原文证据,使用
find_kb_document在候选文档内查找。
关键约束
- 只能访问当前会话配置和用户权限允许的知识库。
- 不要编造
kb_id或file_id;优先从list_kbs和query_kb的返回结果中获取。 - 回答需要可追溯时,应说明依据来自哪个知识库、文件或检索片段。
- Dify 等外部只读知识库可能只支持检索,不一定支持打开全文或文档内查找;遇到工具返回限制说明时,应如实告知用户。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago Changed · -1 lines ae542e0b047c
- 16d ago Changed ef94a4f40f0e
- 1mo ago Changed · -3 lines · -6 tokens per session b91c79d871c5
- 2mo ago Changed 987d96bc180e
- 2mo ago Changed · +2 lines f731c45e8418
- 3mo ago First seen · 35 lines · 54 tokens per session scan A 0823987574e2
knowledge-base is a skill published in the GitHub repository xerrors/Yuxi (7,755 stars, last pushed yesterday), licensed MIT. It adds 48 tokens to every session and 598 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
knowledge-base compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| knowledge-basexerrors/Yuxi | Skill | 7.8k | yesterday | MIT | A | 48 | Claude Code, Codex |
| scope-creep-detectorShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 98 | Claude Code, Codex |
| reviewing-blogsappwrite/appwrite | Skill | 59k | today | BSD-3-Clause | A | 55 | Cursor |
| first-readerShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 174 | Claude Code, Codex |
| project-graveyardShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 127 | Claude Code, Codex |
| statusmem0ai/mem0 | Skill | 70k | 2d ago | Apache-2.0 | A | 54 | Claude Code |
| thinking-out-loudShubhamsaboo/awesome-llm-apps | Skill | 146k | today | Apache-2.0 | A | 206 | Claude Code, Codex |