Invoke when the user asks to audit, check, or verify the references, bibliography, or citations of a paper (.bib with optional .tex, a PDF, or a Word .docx), to screen for hallucinated or fabricated references, or to check that citations say what the cited work says. Also invoke after you add or edit bibliography entries yourself, before reporting the paper as done.
98%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Audit a paper's references with the reference-audit
CLI. It decides which real-world document each reference points to and flags references that match
nothing real. Report what the tool found. Never fill a gap with your own guess.
The CLI. Run reference-audit --help. If the command is missing, tell the user and offer
uv tool install reference-audit (it needs uv). Install only
with the user's approval. In a clone of the reference-audit repository, uv run reference-audit
works without installing.
The input. Pick one form. The forms cannot be mixed:
reference-audit audit <main.tex> <refs.bib>: the manuscript adds cited/uncited bookkeeping
and the citing sentences that --check-citations needs. The main .tex is the one with
\documentclass. The tool follows its \input/\include itself.reference-audit audit <refs.bib>: every entry is still checked, but citedness is unknown.reference-audit audit <paper.pdf>: by default a language model on the OpenAI API reads the
reference list, so the PDF is sent to OpenAI. Say so before running it on an unpublished
paper. --pdf-extractor grobid uses a local GROBID service instead.reference-audit audit <paper.docx>: only Word's native structured bibliography is checked.
Typed-in references are not checked. Pass this warning on to the user.If several .tex or .bib files could be the input, ask the user which one to use.
Keys. Settings and API keys live in ~/.config/reference-audit/config.toml. Never ask the
user to paste a key into the chat. Never write a key into the project and never print one. A run
without keys still works. Without an LLM key, the entries that need LLM adjudication end up
unresolved, and the reason says so. Report that as it is.
reference-audit audit paper.tex refs.bib --format json > audit.json.reference_audit/cache.db beside the input. A re-run after edits only
re-checks entries that changed or failed before. Use --fresh only when the user asks for it.--check-citations checks each citing sentence against the cited work's abstract (needs the
LLM and citing sentences).--no-llm gives a deterministic run.--no-network parses only, with no verdicts.--fail-on hallucinated|multiple|contradiction|unresolved exits non-zero for gating.reference-audit audit --help lists the rest.Top level: entries, cited_but_missing (\cite keys with no entry), uncited, unparsed
(entries the tool could not read, with the reason), notes (input caveats), and summary.
Per entry (entries[i]), the key is entry.key, and verdict holds the outcome:
verdict | Meaning | What to tell the user |
|---|---|---|
kind: "none" | Matches no real document: a likely hallucination. | List it first, as a likely fabricated reference. |
kind: "contradiction" | A DOI/arXiv id resolves, but the cited fields disagree with that work (contradiction_findings). | Show the conflicting fields and the resolved work. |
kind: "multiple" | Several distinct works fit. | Ask the user which one is meant. |
kind: "exactly_one" | Resolved to one work (artifacts[0].best_record). | Report its field_findings with status error or uncertain. |
null | The tool could not check it. unresolved_reasons says why. | List it as unable to verify, with the reasons. It is neither a pass nor a hallucination. |
issues holds per-entry problems such as backfilled or normalized identifiers. With
--check-citations, alignment_findings[].status is one of the following:
supportedcontradicted: the citation may misrepresent the source. Quote evidence_quote.not_in_abstract: an advisory only. An abstract is a summary.unverifiablesummary. Point to the full report file.none on your own. Show it to the user. If you wrote
that reference yourself, say so plainly..bib only with values the report supplies: a backfilled DOI, a corrected field's
canonical_value, or canonical_bibtex. Ask before you edit, unless the user already asked for
fixes. Never invent a DOI, author, venue or year to make an entry pass.constructorfabric/reference-audit
7de4ce1
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.