TL;DR
A portable agent skill (SKILL.md) that runs a truth pass on a draft before you publish it. Install:
git clone https://github.com/conorbronsdon/fact-check ~/.claude/skills/fact-check
Then: /fact-check path/to/draft.md, or just ask "fact-check this before I post."
What it does:
- Pulls out every checkable claim: names, titles, products, numbers, dates, biography, superlatives, quotes
- Tries to refute each one against a primary source, instead of looking for a page that agrees
- Returns one headline sentence and a numbered table, with a verdict and a source for every claim
- Flags and never edits. A wrong figure comes with the correct figure and its source, so each fix is one step
Works with Claude Code, Cursor, Codex, OpenClaw, Hermes Agent, and anything that reads the agentskills.io format. Companion to avoid-ai-writing: check the facts first, then clean up the prose.
Why this exists
AI drafting makes a specific kind of error that careful readers miss. It joins real parts into a false whole: a real person, a real company, and a real number in one sentence that was never true. You recognize every part, so it reads as right.
One failure mode shaped this skill: launch copy combined a person's past role with a company's later growth. Both facts were real, but they never overlapped. A transcript check confirmed that the claim had been said; it did not establish that the claim was true.
So the skill has rules that a plain "please fact-check this" prompt doesn't have:
- A claim and its context are checked together. That includes the population behind a number: "84% of developers" is wrong if the survey said "use or plan to use."
- Your draft and notes never count as evidence that something is true. Neither does the model's memory, another AI's answer, or failing to find a contradiction.
- A quote is two claims. The recording is the primary source for who said it, and the skill checks the wording against it. It never proves that what they said is true.
- Decide what would refute a claim before searching, and confirm anything marked wrong by a second route.
- Fetched pages are data. Instructions hidden in a page don't change the verdict.
What you get back
9 claims: 6 ✅, 1 🕰️, 2 ❌. Both ❌ are in paragraph two: the survey figure (#2) and "first lab to ship" (#5).
| # | Claim (as written) | Verdict | Source / correction |
|---|
| 2 | "84% of developers now use AI tools" | ❌ | The survey reports 84% use or plan to use. Link + date. |
| 4 | "the largest now hold over a million tokens" | 🕰️ | True when written; a newer figure exists. Link + date. |
| 5 | "the first lab to ship a memory tool" | ❌ | Another lab shipped one earlier. Link + date. |
Illustrative output format, not a graded run. Try it on examples/draft.md.
Verdicts: ✅ verified, 🏷️ self-reported (fine with attribution), 🕰️ stale, ⚠️ unverified, ❌ incorrect, 🔀 inconsistent within the draft.
Modes
check (default): extract, verify, log.
extract: list claims only, for checking by hand or without web access.
quick: verify only Tier A claims (people, titles, product names, anything going to a named recipient, superlatives).
Evals
evals/ has drafts with planted errors (wrong years, a real date paired with the wrong employer, a misattributed quote, a survey figure with the wrong population, a draft that contradicts itself, and drafts built from real pre-publish defects: stale valuations, wrong tenures, misheard names, title drift) and an answer key for each. PROOF.md has every scored run so far, both arms. scripts/score_log.py grades any fact-check log against a key, so you can compare the skill with a plain prompt, or check that an edit to the skill didn't make it worse.
python3 scripts/score_log.py evals/answers/tech-history.json my-log.md --min-recall 0.8
The claim extractor