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.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install rag-hallucination-governor - After installation, invoke the skill by name or use
/rag-hallucination-governor - Provide required inputs per the skill's parameter spec and get structured output
What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 49 downloads so far.
How do I install Rag Hallucination Governor?
Run "/install rag-hallucination-governor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Rag Hallucination Governor free?
Yes, Rag Hallucination Governor is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Rag Hallucination Governor support?
Rag Hallucination Governor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Rag Hallucination Governor?
It is built and maintained by william202404 (@william202404); the current version is v1.0.0.