LLMs can hallucinate citations.1 Or, at least maybe they did at some point in the past. The shelf life of LLM findings is usually only a few months. LLMs can indeed now count the number of “r”s in “strawberry,” and they don’t fabricate references nearly as much as they used to.
Even if I’m allowing AI to help me with writing,2 my workflow makes it impossible for me to fabricate a citation. I literally never take a citation in plain text and run with it, whether it’s from an AI or a fellow human. I manage references with Zotero, and I add every entry manually, then cite entries manually either with the Word plugin or via BiBTeX with Quarto.
However, I’m human, and I make mistakes (probably more than modern LLMs do). It’s still too easy to cite something where my claim is stronger than the evidence supports, or in fact cite the wrong thing (as I did in the example shown below, where I cited Vicens & Bourne 2009 instead of Vicens & Bourne 2007).
To help with this, I wrote a citation checker skill that checks all the citations in a manuscript (Word, PDF, LaTeX, Quarto, RMarkdown). I copied the skill to the UVA School of Data Science agent skills repo, UVADS/skills-agents.3 It runs in Claude, ChatGPT, Claude Code, and Codex.
It does a few things:
First it checks the internal consistency: do all the in-text citations have a reference, every reference is cited, and checks numbering / author-year matching and duplication.
Next it checks that the reference actually exists with the right title, author, journal, publication date, and DOI, by looking up references in Crossref, OpenAlex, Semantic Scholar, Europe PMC, PubMed, arXiv, DataCite, and others.
Finally, it tries to find and read the full text and checks that each cited paper says what the sentence that cites it claims.4 The full text can come from Europe PMC, arXiv, open access copies, or a local folder of PDFs. The skill directs your agent to find and read the relevant passages to judge each claim, looking for overstatement, different study populations or species, discrepancies in cited numbers, causal claims made from correlational data, misquotations, and checks that you’re not accidentally citing a different paper from the same authors.
Its output is a CSV, markdown file, and HTML report giving you a ranked list of issues and suggested fixes for each problem.
Demo
I’ve written here about moving from academia to industry and back again.
I started writing a Ten Simple Rules article on the topic, combining advice from both essays. The late Phil Bourne, the legend himself, who started the series at PLOS Computational Biology, agreed to co-author the piece with me. Tragically, we lost him before the two of us got words on the page together.
I’m working on the manuscript again now, with a new co-author who’s done the academia-to-industry-and-back journey too. I ran a very early draft through this skill. The full HTML output is much longer than the screenshot below, and I’m omitting most of it because it contains many spoilers. I promise the paper will be out soon!
The one major comment was super helpful! I have two papers in my Zotero library, both TSR articles, both by Quentin Vicens and Phil Bourne. In a section writing about agreeing on contribution and publication expectations with a potential collaborator, I mistakenly cited the Vicens & Bourne 2009 TSR on combining teaching and research instead of the Vicens & Bourne 2007 TSR on successful collaboration.
✅ Vicens, Q., & Bourne, P. E. (2007). Ten Simple Rules for a Successful Collaboration. PLoS Computational Biology, 3(3), e44. https://doi.org/10.1371/journal.pcbi.0030044
❌ Vicens, Q., & Bourne, P. E. (2009). Ten Simple Rules To Combine Teaching and Research. PLoS Computational Biology, 5(4), e1000358. https://doi.org/10.1371/journal.pcbi.1000358
The skill surfaced 5 other minor issues (mostly some reference / metadata formatting issues, and a few instances of only having partial support, where the claim I’m making is stronger than the source suggests). Also not shown: the skill also goes through reference-by-reference giving you a snapshot of consistency and correctness for each.
Or “hallucitations” as I like to call them.
Which I’m trying to do far less of these days.
I have my own collection of agent skills, but they’re in a private GitHub repo. I’d like to make the whole thing public but it would give away a few things I’m working on that I don’t want to announce yet.
Depending on the length of the paper and the number of citations and references you have, this could chew through quite a few tokens. You’ve been warned.




