← 返回 Skills 市场
william202404

Rag Hallucination Governor

作者 william202404 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
49
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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.
安全使用建议
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rag-hallucination-governor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rag-hallucination-governor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial public release.
元数据
Slug rag-hallucination-governor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论