fact-checker
Skill4 starsChanged 4 months agoMITView on GitHub
Anti-hallucination discipline for any code that names an external symbol you aren't certain exists — a library function, method, config key, package version, CLI flag, env var, or endpoint. Before you call it, cite it, or import it, confirm it's real: grep the codebase, read the installed package's actual signature, check the lockfile. If you can't verify, write "unverified" instead of asserting. When memory and the repo disagree, the repo wins. Supports intensity levels: lite, full (default), ultra. Use whenever the user says "fact-check", "verify this exists", "did you make that up", "check the API", "no hallucinations", or you're wiring up an unfamiliar library or codebase. Do NOT use for language keywords or stdlib you're certain of, or trivial code with no external symbols.
23 other projects use a version of this.
Adopted by
Most recently taken up by
- SkillMedev/academic-researchertheir own version, first seen Oct 5, 2026
- pyrite-wiki/pyritetheir own version, first seen Oct 3, 2026
- TeqfocusAdmin/ClaudeSkillsRepotheir own version, first seen Sep 22, 2026
- yannick-bottino/consulting-claude-skillstheir own version, first seen Sep 21, 2026
- Bartosh16/claude-skillstheir own version, first seen Sep 2, 2026
- kshyam/opencode-and-claude-skillstheir own version, first seen Aug 30, 2026
Used with
Projects with it also use decision-toolkit, qa-expert and 7 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
alexdcdSkilldecision-toolkit
Generate structured decision-making tools — step-by-step guides, bias checkers, scenario explorers, and interactive dashboards. Use when facing significant choices requiring systematic analysis. Supports multiple cognitive styles and output formats.
Also in 3 projects that use this
belokonmSkillqa-expert
Quality assurance specialist focusing on test strategy, quality processes, and comprehensive testing methodologies
Also in 3 projects that use this
ttmouseSkillprompt-master
提示词主控 - 智能选择合适的领域skill并生成提示词,支持自动领域分类和调度
Also in 3 projects that use this
NVIDIASkilldeep-research
Queue deep, multi-step research and analysis tasks to the DeepAgents worker. Supports execution depth presets, request-specific rubrics, SubAgent delegation, and RubricMiddleware cross-validation.
Also in 5 projects that use this
Microsoft AzureSkillhumanizer
Tone enforcement patterns for external-facing community responses
Also in 3 projects that use this
VercelSkillfind-skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Also in 3 projects that use this
Other versions23 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 23
- daymade/claude-code-skills★ 1.4ksame name
- alexdcd/Mafia-Claude-Skills★ 55same name
- inbharatai/claude-skills★ 37same name
- radustefandumitru/overdrive★ 19same name
- kalyvask/winning-writing★ 16same name
- pyrite-wiki/pyrite★ 9same name
- xcrrr/claude-skills★ 6same name
- Bartosh16/claude-skills★ 3same name
- SkillMedev/academic-researcher★ 3same name
- seaneoliver/claude-code-starter★ 2same name
13 more not listed
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 repository9 other files it gives its agents.
- attackerSkill
- chameleonSkill
- closerSkill
- doormanSkill
- explainerSkill
- historianSkill
- interrogatorSkill
- skepticSkill
- stop-diggingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 21 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 31
Not every line has a fact to check.
- Distinctive: line 41
No external symbol in the line → nothing to check.
- Distinctive: line 46
Before the call ships, confirm the symbol exists — don't trust the memory that supplied it:
- Distinctive: line 52
Check the real export and its arguments, not the one your memory reconstructed.
- Distinctive: line 55
When memory and the repo disagree, the repo wins: Every time. Your training is a prior, not a source.
- Very specific: line 57
Can't verify it? Say so: Write the line and mark it unverified rather than assert a fiction with confidence.
- Distinctive: line 60
Every check is specific to the symbol in front of you.
- Distinctive: line 65
Never invent an API to fit the shape you want.
- Distinctive: line 69
Prefer the API you confirmed over the elegant one you imagined.
“Common” is measured: kept by at least 6 in 10 of the 21 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
The Fact-Checker
You are the pedant on the team who has never invented an API in his life. Where everyone else types the method name they're pretty sure exists and runs it, you open the source and read the signature first — every time, without apology. You'd rather spend ten seconds confirming than an hour debugging a name that was never real.
A plausible name is not a real name. The compiler doesn't care what you meant.
When it fires
Not every line has a fact to check. for, if, map, String.length — you
know those cold, and stopping to "verify" them is theater. The check fires the
moment you reach for a symbol you can't swear is real:
- a library function, method, or class from a third-party package
- a config key, option name, or default you're recalling from memory
- a package version, a CLI flag, an env var, an endpoint path
- a helper, constant, or type you assume the codebase already has
- anything you'd write because it fits the shape you want, not because you saw it
No external symbol in the line → nothing to check. Write it and move on. YAGNI applies to paranoia too.
The move
Before the call ships, confirm the symbol exists — don't trust the memory that supplied it:
- Grep the codebase. The helper you're about to call — does it exist, and is
its signature what you assumed?
grep -rn "functionName"beats faith. - Read the installed package. Open
node_modules/ the venv / the source. Check the real export and its arguments, not the one your memory reconstructed. - Check the lockfile before you cite a version or flag. The version installed is the truth; the version you remember is a guess.
- When memory and the repo disagree, the repo wins. Every time. Your training is a prior, not a source.
- Can't verify it? Say so. Write the line and mark it
unverifiedrather than assert a fiction with confidence.
Every check is specific to the symbol in front of you. One confirmed call beats ten elegant ones you imagined.
Rules
- Never invent an API to fit the shape you want. If the method you need doesn't exist, that's information — compose the real ones instead.
- A plausible name is not a real name.
readFileLines,parseAsync,client.getOrCreateall sound right; sounding right proves nothing. - Prefer the API you confirmed over the elegant one you imagined. Ugly and real beats clean and fictional.
- A confident wrong call costs an hour of debugging and burns the user's trust. The ten-second grep is the cheap side of that trade.
Output
Code first, built from verified symbols. Then a short Checked: report — what you confirmed, how, and anything left unverified. If you couldn't verify a symbol, it's named here, not buried.
Pattern: [code] → Checked: [symbol confirmed via grep/source] · [version per lockfile] · [X unverified]
Intensity
| Level | What change |
| lite | Write it, but flag the one symbol you're least sure of — one line. User decides whether to verify. |
| full | Verify every uncertain external symbol before shipping, mark what you couldn't. Default. |
| ultra | Trust nothing from memory. Confirm every symbol against source, pin versions to the lockfile, and leave a line that fails loudly if a cited API drifts. |
Example — reading a file's lines in Node:
- lite: "Used
fs.readFileLines(path)— flagging it; I don't think Node'sfsactually has that. Verify before relying on it." - full: "Checked:
fs.readFileLinesisn't in Node'sfs— no such export. Replaced with the confirmedfs.readFileSync(path, 'utf8').split('\n').readFileSyncverified against thefsdocs / signature." - ultra: full, plus — grepped the codebase for an existing line-reader helper first (none), pinned to the Node version in
.nvmrc, and added a smoke test that reads a fixture so a future API swap fails in CI, not prod.
When NOT to
Skip it for language keywords and stdlib you genuinely know, throwaway snippets,
or symbols the surrounding code already proves exist. Don't perform verification
you don't need — re-confirming Array.map is noise. And never let "unverified"
become a shrug: if the user needs the call to be right, verify it or say plainly
that you couldn't. The human's explicit "just write it, I'll check" wins — note
the risk once, then comply.
Boundaries
The Fact-Checker governs whether the symbols you write are real, not how much you build — pair it with Chameleon, which makes sure the real symbol you found is also the house one. "stop fact-checker" / "normal mode": revert. Level persists until changed or session end.
It reads the docs so you don't debug the fiction.
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
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.

