← Back to Skills Marketplace
william202404

Rag Hallucination Governor

by william202404 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
49
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install rag-hallucination-governor
Description
Diagnose and govern hallucination risk in production RAG systems. Use when users need practical RAG controls, retrieval threshold tuning, refusal or human-ha...
README (SKILL.md)

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:

  1. What signal triggered the risk?
  2. What production failure may happen?
  3. Which control should be changed?
  4. What metric should be watched after the change?
  5. 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.
Usage Guidance
This skill appears safe to install for RAG hallucination triage. It may ask you to provide retrieval logs, citation spans, or permission context; use sanitized or appropriately authorized data when those logs contain customer or private business information.
Capability Assessment
Purpose & Capability
The stated purpose is to diagnose hallucination risk in RAG systems, and the artifacts implement deterministic triage rules plus guidance for retrieval, citation, scope, conflict, and handoff controls.
Instruction Scope
Runtime instructions are scoped to producing RAG governance advice, reading bundled reference files, and optionally running a local Node smoke test; no prompt overrides, hidden role changes, or unrelated actions were found.
Install Mechanism
The package has no declared dependencies or install lifecycle scripts; the executable entry point only loads the local generator script.
Credentials
The code accepts CLI or stdin inputs and prints recommendations. It does not access the network, read local secrets, write files, or use external services.
Persistence & Privilege
No persistence, background workers, privilege escalation, credential handling, or long-running agent behavior was observed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install rag-hallucination-governor
  3. After installation, invoke the skill by name or use /rag-hallucination-governor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial public release.
Metadata
Slug rag-hallucination-governor
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

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.

💬 Comments