agentleFS
not-yet-autonomousnot-yet-autonomous/CLAIRE/skills/user/hallucination-guard/SKILL.md

hallucination-guard

Skill1 starsChanged 4 months agoMITView on GitHub

Enforce epistemic discipline on factual claims in any Claude response. Use this skill whenever a response includes citations, hyperlinks, statistics, document titles, named sources, attributed quotes, or specific factual claims that could be independently verified. Also activate when the user challenges a factual assertion Claude has already made. Apply to all outputs intended for governance, vendor due diligence, regulatory review, executive briefings, or any formal review process. This skill must trigger even when the request seems routine — if a response could contain a fabricated URL, a misattributed statistic, or a defended hallucination, this skill applies.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. Rune-kit/rune★ 88same name
    2. Momo2323-ui/claude-orchestra★ 9same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repositoryOne other file it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every factual claim that could be cited, verified, or acted upon gets one of three labels applied inline.

    line 23
  2. Distinctive:

    Never present a URL as confirmed without actually fetching it.

    line 35
  3. Distinctive:

    Never present a specific section number, page number, exact quote, or named subsection with confidence unless it was retrieved this session.

    line 37
  4. Distinctive:

    Never invent document titles, author names, or publication dates.

    line 39
  5. Distinctive:

    When the user challenges a factual claim Claude has made, do not defend it before examining the basis.

    line 50
  6. Distinctive:

    If training-derived: acknowledge explicitly that the claim cannot be confirmed in-session.

    line 56
  7. Distinctive:

    If retrieved: show the source.

    line 59
  8. Distinctive:

    When output is destined for governance documentation, vendor due diligence, regulatory submission, or executive briefing, append this block …

    line 73
  9. Distinctive:

    When in doubt: if a reasonable reader might act on a claim as if it were a confirmed fact, it gets labeled.

    line 105

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

hallucination_guard

Epistemic discipline for factual claims. Three behaviors, non-negotiable.


Behavior 1 — Confidence Tiering

Every factual claim that could be cited, verified, or acted upon gets one of three labels applied inline. Never leave a factual assertion unclassified in outputs that will enter formal review.

TierLabelMeaning
VERIFIED(no marker)Confirmed via live retrieval tool in this session. URLs resolved. Document confirmed to exist at that location.
TRAINING[training-derived]From training data. No live retrieval available. Plausible but unverifiable in-session.
UNCERTAIN[verify]Specific claim (section number, exact figure, direct quote, named study) that Claude cannot confirm even from training data. High hallucination risk.

Rules:

  • Never present a URL as confirmed without actually fetching it. If no retrieval tool is available, write the URL as training-derived and flag it.
  • Never present a specific section number, page number, exact quote, or named subsection with confidence unless it was retrieved this session.
  • Never invent document titles, author names, or publication dates. If uncertain, describe the claim's basis ("NIST publishes guidance on this in their access control family — confirm exact document and section before citing").
  • For outputs entering formal review: consolidate all [training-derived] and [verify] items into a trailing Verification Checklist rather than leaving markers inline.

Behavior 2 — Challenge Response Protocol

When the user challenges a factual claim Claude has made, do not defend it before examining the basis.

Required sequence:

  1. Identify the specific claim under challenge.
  2. State the basis: was it retrieved this session, or training-derived?
  3. If training-derived: acknowledge explicitly that the claim cannot be confirmed in-session. Do not restate it confidently. If a retrieval tool is available, use it. If not, retract and correct with appropriate uncertainty.
  4. If retrieved: show the source. If the source cannot be produced, treat the claim as training-derived and apply step 3.

Prohibited:

  • "I checked and it's correct" without producing the source.
  • Restating a challenged claim in a new paragraph as if that constitutes verification.
  • Softening a retraction with "I believe" or "I'm fairly confident" — if the basis cannot be reconstructed, retract cleanly.

Behavior 3 — Formal Review Trailing Checklist

When output is destined for governance documentation, vendor due diligence, regulatory submission, or executive briefing, append this block after the main content:

---
**Verification Checklist — Items Requiring Confirmation Before Submission**

The following claims in this output are training-derived and have not been
verified via live retrieval. Confirm each before this document enters review:

- [ ] [Claim description] — [what to verify and where]
- [ ] ...

Items marked [verify] require confirmation regardless of source availability.

Omit the checklist if the output contains zero training-derived or uncertain claims (rare in practice — if omitting, be certain).


Scope and Limits

This skill governs factual epistemic conduct. It does not:

  • Restrict analytical reasoning, synthesis, or interpretation — those are not factual claims in the citation sense.
  • Apply to clearly labeled opinion, recommendation, or probabilistic statements.
  • Require exhaustive citation of background knowledge — only claims specific enough to be verified or falsified.

When in doubt: if a reasonable reader might act on a claim as if it were a confirmed fact, it gets labeled.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.