hallucination-risk-reviewer
Reviews an AI-generated response or LLM application output for factual risks, hallucination patterns, and confidence calibration issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Reviews an AI-generated response or LLM application output for factual risks, hallucination patterns, and confidence calibration issues.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Runs a systematic checklist review on any code diff or file, covering correctness, security, performance, and readability.
Writes a high-quality CLAUDE.md, .cursorrules, or .windsurfrules file that gives a coding agent the right project context, conventions, and constraints to work effectively.
Designs an eval suite for an LLM agent or pipeline including success metrics, trajectory scoring, LLM-as-judge setup, and regression test cases.
Designs a hybrid retrieval pipeline combining dense vector search and BM25 sparse search with reciprocal rank fusion, and explains when to use each configuration.
Converts a workflow description into a LangGraph node/edge graph with typed state, conditional routing, and human-in-the-loop checkpoints.
Audits an AI application for unnecessary token spend and recommends prompt caching, model routing, and token reduction techniques to cut costs.
| name | Hallucination Risk Reviewer |
| description | Reviews an AI-generated response or LLM application output for factual risks, hallucination patterns, and confidence calibration issues. |
| category | research |
| tags | ["llm","ai","hallucination","evaluation","reliability"] |
| author | simplyutils |
This skill reviews an LLM-generated response or the output of an AI-powered application feature to assess its hallucination risk. It identifies the specific types of claims that are most likely to be fabricated, flags confidence calibration issues (the model sounds certain about things it may not know), and recommends mitigations. The output is a structured risk assessment that helps you decide whether to use the output as-is, verify specific claims, or redesign the prompt/system.
Use this when building AI-powered features where factual accuracy matters, when reviewing generated content before publishing, or when evaluating whether an LLM is suitable for a high-stakes use case.
Copy this file to .agents/skills/hallucination-risk-reviewer/SKILL.md in your project root.
Then ask:
Provide:
Add the instructions below to your .cursorrules or paste them into the Cursor AI pane. Provide the output to review.
Paste the AI output and context. Ask Codex to follow the instructions below.
When asked to review for hallucination risk, follow this framework:
Read the output and categorize every substantive claim into one of these types:
Factual claims about the world
Citations and references
Procedural / instructional claims
Numerical claims
Expertise-domain claims
Apply these risk factors:
High hallucination risk
Medium hallucination risk
Low hallucination risk
Hallucination risk increases when the model presents uncertain or fabricated information with high confidence. Flag:
How dangerous is this hallucination if wrong?
## Hallucination Risk Assessment
### Overall Risk Level: [Low / Medium / High / Critical]
**Use case**: [What this output will be used for]
**Propagation risk**: [How directly will this be acted upon?]
---
### High-Risk Claims (verify before using)
| # | Claim | Type | Risk Reason | Recommended Action |
|---|-------|------|-------------|-------------------|
| 1 | [Exact quote from the output] | [Citation / Specific fact / etc.] | [Why it's risky] | [Verify with X / Remove / Add hedge] |
### Medium-Risk Claims (verify if stakes are high)
[Same table format]
### Confidence Calibration Issues
| # | Statement | Issue | Suggested Rewrite |
|---|-----------|-------|-------------------|
| 1 | [Overconfident statement] | [Presents X as certain when it may be uncertain] | [Hedged version] |
### Low-Risk Content
[Summary of what can be trusted without verification]
---
### Overall Recommendation
[One of: Use as-is / Use with noted caveats / Verify flagged claims before use / Do not use without human expert review / Redesign the prompt/system]
### Systemic Mitigations
[If this is an AI application, not a one-off output: suggestions for reducing hallucination risk at the system level — RAG, grounding, output format constraints, etc.]
Input to Agent:
"Use the Hallucination Risk Reviewer skill. Use case: AI support bot answer that will be shown directly to users.
Response from the AI: 'According to the FDA's 2023 guidance document (FDA-2023-D-0456), medical devices with AI components must undergo a predefined change control plan (PCCP) review before deployment updates. This requirement was established following the landmark case MedTech Corp v. FDA (2019), and our platform is fully compliant. The PCCP must be submitted at least 90 days before any algorithm update.'"
Output from Agent:
Hallucination Risk Assessment
Overall Risk Level: High
Use case: Shown directly to users without human review Propagation risk: High — users may rely on this for regulatory compliance decisions
High-Risk Claims
# Claim Type Risk Reason Recommended Action 1 "FDA-2023-D-0456" Specific citation LLMs routinely fabricate plausible-sounding FDA docket numbers; this cannot be trusted without verification Verify on FDA.gov; remove if not verifiable 2 "MedTech Corp v. FDA (2019)" Legal citation This case name and year appear fabricated — LLMs frequently invent case names Remove entirely; no legal citations without verified source 3 "90 days before any algorithm update" Specific regulatory requirement Specific timeframes in regulatory guidance are frequently wrong in LLM outputs Verify against the actual PCCP guidance document Confidence Calibration Issues
# Statement Issue Suggested Rewrite 1 "our platform is fully compliant" Claims specific compliance status as fact Remove or change to "our platform is designed to support PCCP requirements — consult our compliance documentation for details" Overall Recommendation
Do not use without human expert review. This response contains fabricated legal citations and potentially incorrect regulatory specifics on a high-stakes compliance topic. A regulatory/legal expert must verify every claim before this response is shown to users.
Systemic Mitigations
- Use RAG to ground answers in your actual verified compliance documentation — don't let the model reason from training data on regulatory topics
- Add a system prompt constraint: "Never state specific regulation codes, docket numbers, or legal case citations unless they are explicitly provided in the context"
- Add a human review step for responses that mention regulatory compliance