NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

citation-guard

PLUGIN

Catches fabricated, mismatched and retracted references.

by ChienNguyen23 · v0.1.3

What it does

Catches fabricated, mismatched and retracted references. Checks each DOI / PMID / arXiv id and each full reference entry against doi.org, Crossref, PubMed and arXiv: ids that do not exist, ids that point to a different paper, wrong year or first author, works found in no registry, and retractions (Crossref notices incl.

Retraction Watch). A transform_llm_output reply guard appends a warning footer when the agent's own answer cites something that does not check out (the reply text is never rewritten); a verify_citations tool and a /citecheck command (.md.txt.bib.docx) give full reports.

Deterministic, Python standard library only, no LLM calls, no API keys. Disclosure — network calls to api.crossref.org, doi.org, eutils.ncbi.nlm.nih.gov and export.arxiv.org carrying only the reference itself (id, title, first author, year), never the rest of the conversation; when references appear in a reply, the reply guard checks them on every such reply (up to 15 s by default); the optional contact_email setting is sent to Crossref and NCBI and the optional ncbi_api_key only to NCBI; a 7-day cache of registry answers in the plugin data directory; /citecheck reads the file the user names.

Tools it adds

The tools an agent gets once this plugin is installed.

  • verify_citations

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Tools

All listings →