Rag Hallucination Governor
/install rag-hallucination-governor
rag-hallucination-governor
Production RAG hallucination governance assistant.
Before producing advice, read ANTI_TEMPLATE_STANDARD.md.
Use for:
- wrong answers with plausible citations
- weak or conflicting retrieval evidence
- Top1 pollution and high-similarity wrong hits
- query rewrite drift
- wrong knowledge-base or intent routing
- permission, scope, or version mismatch
- threshold, rerank, reject-band, or fallback design
- citation coverage and groundedness checks
- human handoff routing for low-confidence answers
Do not output generic RAG education unless the user asks for it.
Use src/generator.js for quick deterministic triage. For deeper analysis, load this skill and produce the same five-part output standard directly from the provided logs and scenario.
Required Output Standard
Every recommendation must answer:
- What signal triggered the risk?
- What production failure may happen?
- Which control should be changed?
- What metric should be watched after the change?
- When should the answer be refused or routed to a human?
Quick Mode
node {baseDir}/src/generator.js --symptom "Top1相似度很高但答案经常错" --scenario "客服知识库"
Self-Test
Run at least one real-scenario smoke test before reporting status:
node {baseDir}/src/generator.js --symptom "引用了错误政策但看起来有出处" --scenario "企业制度问答" --quick
For more examples, read TEST_CASES.md.
Review Notes
For synthetic ToB delivery scenarios, read FIELD_SCENARIOS.md.
Field Rules
- Prefer controls that can be tested in logs.
- Never invent project metrics, customer names, corpus snippets, or exact improvement numbers.
- If retrieval evidence is missing, say what logs are needed.
- Treat refusal and human handoff as valid outcomes.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install rag-hallucination-governor - 安装完成后,直接呼叫该 Skill 的名称或使用
/rag-hallucination-governor触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Rag Hallucination Governor 是什么?
Diagnose and govern hallucination risk in production RAG systems. Use when users need practical RAG controls, retrieval threshold tuning, refusal or human-ha... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 49 次。
如何安装 Rag Hallucination Governor?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install rag-hallucination-governor」即可一键安装,无需额外配置。
Rag Hallucination Governor 是免费的吗?
是的,Rag Hallucination Governor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Rag Hallucination Governor 支持哪些平台?
Rag Hallucination Governor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Rag Hallucination Governor?
由 william202404(@william202404)开发并维护,当前版本 v1.0.0。