agentleFS
trac3r00trac3r00/agent-skills/skills/claim-audit/SKILL.md

claim-audit

Skill0 starsChanged 3 months agoMITView on GitHub

A linter for AI answers that separates grounded, hedged, and bare factual claims — surfacing the unverified hard assertions most likely to be hallucinations. Use as a self-check gate before an agent ships a reply, or in CI over saved transcripts.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    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:

    Not for: verifying truth (it finds claims *to* verify), or auditing opinions/plans.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Claim Audit

Make an answer show its work — or flag exactly where it didn't.

Overview

A model is far likelier to be wrong on a hard factual claim it asserted with no evidence and no hedge than on one it cited or qualified. claim_audit.py reads an agent's answer and sorts every sentence into:

  • ✓ grounded — carries a citation, URL, quote, or source marker
  • ~ hedged — explicitly uncertain ("likely", "roughly", "I'm not sure")
  • ⚠ bare — a hard assertion (is/was/founded/numbers/dates) with neither → verify this
  • · opinion/meta — recommendation or instruction, not a world-fact

It's a linter, not a fact-checker: it can't tell you a grounded claim is true, but it reliably surfaces the bare assertions worth checking — the ones that hallucinate. It reports a BARE risk ratio and can fail CI when that ratio is too high.

Proven on a mixed answer: it flagged "The capital of Australia is Sydney" (false) and "founded in 1788" as ⚠ bare, passed a [1]-cited census figure as ✓ grounded, and let a hedged population estimate through as ~ — exactly the triage you want.

When to use

  • A pre-ship self-check: an agent audits its own draft, then goes and grounds or hedges the ⚠ claims before sending.
  • CI over a transcript corpus: fail when >X% of checkable claims are bare.
  • Reviewing an LLM feature's outputs for where it asserts without support.

Not for: verifying truth (it finds claims to verify), or auditing opinions/plans.

The method

  1. Capture the answer to a file or pipe it in.
  2. Audit it.
    echo "$ANSWER" | python scripts/claim_audit.py -
    # or:  python scripts/claim_audit.py draft.txt --json
  3. Read the ⚠ bare list. These are hard assertions with no evidence. For each, do one of three things: cite a source, hedge it honestly, or drop it.
  4. Gate it. In an agent's reply pipeline or CI:
    python scripts/claim_audit.py draft.txt --fail-over 0.4   # exit!=0 if >40% bare
    Now an answer that's mostly unsupported assertions gets caught before it ships.
  5. Re-audit after grounding. Watch the bare count drop to zero (or intentional, justified hedges). The ratio is the scoreboard.

Anti-patterns

  • Treating grounded as true. A cited claim can still be wrong; this tool only proves support exists, not support is correct. Verify the citations too.
  • Gaming the linter. Sprinkling "likely" on real assertions to dodge ⚠ is lying, not hedging. The point is honesty, not a green check.
  • Auditing plans/opinions as facts. Recommendations aren't world-claims; the tool already buckets them as · — don't force them to ground.
  • Zero-bare as the goal. Some bare claims are fine (well-known, low-risk). The goal is awareness and triage, not a mechanical count of zero.

Example

$ echo "Python was released in 1991. The GIL was removed in 2020." \
    | python scripts/claim_audit.py - --fail-over 0.4
⚠ [bare    ] Python was released in 1991.
⚠ [bare    ] The GIL was removed in 2020.
BARE risk = 100% of checkable claims

Verify these before shipping:
  ⚠ Python was released in 1991.
  ⚠ The GIL was removed in 2020.      # (false — worth catching)
$ echo $?
1

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.