Hallucinated Citation Checker — AI skill for Claude Code
Check every entry in a BibTeX file against Crossref, OpenAlex, arXiv, Open Library and doi.org to catch fabricated or garbled references from AI drafting.
How to install Hallucinated Citation Checker
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hyderhusainarastu/hallucinated-citation-checker and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Hallucinated Citation Checker does
Check every entry in a BibTeX file against Crossref, OpenAlex, arXiv, Open Library and doi.org to catch fabricated or garbled references from AI drafting. CSV verdict per key (verified, metadata mismatch, not found, error); 'not found' is flagged for review, never called fake. Resumable, rate-limited, stdlib Python, SKILL.md included.
Alternatives in AI
- Xerj — Local-first search engine and MCP server for AI agents 12.5k ★
- Claude Skill Web Clone — Methodology for faithfully cloning any website (static / React / WebGL) — without copying AI-hallucinated code 969 ★
- CLI Anything Zotero — CLI server for Zotero 7/8/9 — let AI manage your library 129 ★
README
hallucinated-citation-checker
Check every entry in a BibTeX file against Crossref, OpenAlex, arXiv, Open Library and doi.org, so fabricated or garbled references from AI drafting get caught before submission. For researchers, students, editors and anyone who pastes reference lists from a chat assistant.
[](LICENSE)
The output is one CSV row per BibTeX key with a verdict: `VERIFIED`, `METADATA_MISMATCH`, `NOT_FOUND`, `ERROR` or `SKIPPED`. `NOT_FOUND` means "review by hand", never "fake". Python 3.10+, standard library only, resumable and rate-limited.
Works with
| Surface | How (prompt / native skill / CLI / hook / MCP) | Status |
|---|---|---|
Terminal (citecheck, python -m) |
CLI | tested 2026-11-23, Python 3.14.10, live network run (see Example and Benchmark) |
| Unit tests | python3 -m unittest, offline, mocked network |
tested 2026-11-23, Python 3.14.10 |
| Claude Code | native skill (SKILL.md, installed by install.sh) |
install script tested offline 2026-11-23; skill loading in the agent not tested |
| Codex | native skill via .agents/skills |
install script tested offline 2026-11-23; skill loading in the agent not tested |
| Gemini CLI | native skill via .agents/skills / pointer in GEMINI.md |
not tested |
| Cursor | AGENTS.md / .agents/skills |
not tested |
| Copilot | pointer to AGENTS.md |
not tested |
| ChatGPT / Claude.ai / Gemini (chat) | prompt (PROMPT.md); a chat model without browsing cannot verify anything |
not tested |
Quick start
git clone https://github.com/hyderhusainarastu/hallucinated-citation-checker
cd hallucinated-citation-checker
python3 -m hallucinated_citation_checker examples/refs.bib -o results.csv --mailto you@example.invalid
# or: pip install . then citecheck refs.bib -o results.csv
Use your own address for `--mailto` (it goes into the User-Agent and the polite-pool parameter of Crossref and OpenAlex) or leave it
Related Skills
Claude Skill Citation Checker
AI citation hallucination detector — verify .bib files against CrossRef, Semantic Scholar, OpenAlex. Claude Co
Zotero Reference Import
AI agent skill for Claude & Codex that imports references into Zotero from Word bibliographies, single PDFs or
LLMs Txt Checker
Validates llms.txt files for AI agent discoverability. Checks structure, format, required fields, and best pra
AI Slop Detector
A Claude Code and Codex skill that audits websites, UI, decks, and writing for AI-slop patterns (generic layou
Markdown Renderer Fix
一站式修复大模型 SSE 流式输出中文乱码、Markdown 渲染异常 Fix Chinese garbled text, Markdown rendering & SSE streaming issues in LLM
Claude Fix Render Text
A Claude Code skill that fixes the garbled text AI image generators put on packaging renders. Checks against y
Related Agents
Literature Crawler
Runs a reproducible literature search across OpenAlex, Crossref, Semantic Scholar, arXiv, DBLP, and Europe PMC
Domain Literature Researcher
Conducts focused literature searches for specific domains in research. Searches SEP, IEP, PhilPapers, Semantic
Documentaliste
Documentaliste du projet de mémoire. Cherche la littérature académique, prouve l'existence des sources (Crossr