hyderhusainarastu

Hallucinated Citation Checker — AI skill for Claude Code

AI community

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: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](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