/bib-audit:bib-auditfrom bib-audit
Validates bibliography entries against Crossref and arXiv to detect hallucinated or fabricated references, authors, and DOIs. Recovers canonical BibTeX and enforces citation-style rules. Use before submitting a paper or when reviewing someone else's draft.
Ships in bib-audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Two jobs, in priority order. First, flag hallucinated references, authors and bib items, meaning works that don't exist, identifiers that name a different paper, and authors who aren't on the paper. Second, correct badly formatted references, by resolving every field from the registrar of record instead of hand-authoring it.
The core rule is to never author bib fields, only resolve them. Every reference should trace to a DOI or arXiv ID.
Why this matters more than tidiness. The whole idea is that authors run this before submitting, so that reviewers never have to spend their time spot-checking a bibliography to decide whether an LLM wrote the paper. Right now checking someone's references is unpaid cleanup for a mistake you didn't make, and reviewer attention is the scarcest thing in the process, so that's a lousy way to spend it. If everyone gates their own submission on this, the doubt goes away as a category. So the tool is built author-first: it's read-only, it exits non-zero for CI, and it tells you how to fix each finding rather than only naming it. Using it to audit someone else's submission works and is documented below, but that's the fallback, not the goal.
That priority sets the design bias too, which is that a false accusation is worse than a miss. A missed bad reference is one entry a reviewer might still catch, while a false "fabricated" verdict on a correct entry destroys trust in the whole report, and in a review it puts an integrity allegation next to someone's name. When in doubt the tool downgrades to advisory rather than escalating.
Both situations differ only in what you do with a finding:
Pick the entry point by what you have.
A .bib file is already structured, so there's no parsing step:
python3 scripts/validate_refs.py path/to/refs.bib
python3 scripts/validate_refs.py refs.bib --key somekey2024 --show-bibtex
python3 scripts/validate_refs.py library.bib --aux paper.aux # only what the paper cites
--aux is how you scope a large shared library (a 2,196-entry .bib behind a 191-citation dissertation, say) to the entries actually cited: it reads the \citation{} lines from the LaTeX .aux and also reports keys cited but absent from the bib. If you build a cited-only subset some other way, compare keys case-insensitively, since classic BibTeX does (iverson:1962:apl and Iverson:1962:APL are the same key, and a naive filter silently dropped three cited entries on a real run). --key is case-insensitive for the same reason.
Grey literature is recognised from the entry type. @book, @misc, @manual, @techreport, @mastersthesis, @phdthesis, @unpublished and @booklet entries that carry no identifier and don't turn up in a title search are reported [UNVERIFIABLE] at P3, the same routing the PDF path gets from kind. Before that, two editions of Introduction to Algorithms and The Fellowship of the Ring were sitting in P1 as works that "may not exist", and P1 is the tier you're told to read first and raise with an editor, so filling it with correctly cited books trains the reader to skim it. An @misc that's really an arXiv preprint still resolves through its eprint ID first, so this only ever applies to entries nothing could find.
A PDF takes three steps, and step 2 is yours rather than a regex's:
# 1. get the reference-list text (plain pdftotext, NOT -layout — see below)
pdftotext paper.pdf - | tr -d '\f' | sed -n '/^[[:space:]]*References[[:space:]]*$/,$p' > refs.txt
# 2. READ refs.txt and write refs.json yourself: one object per reference
# (schema in scripts/audit_refs.py — title required; doi/arxiv ONLY if printed)
# 3. resolve and rank
python3 scripts/audit_refs.py refs.json
Extract in chunks of ~20 references, writing each chunk to its own file before starting the next, then combine them into one refs.json and verify the object count before auditing. A 117-reference bibliography is far too much to emit in a single response (attempting it killed two test runs mid-generation), and chunking also means an interruption costs you one chunk instead of the whole paper.
Fill in kind and authors_truncated as you extract, since those two fields decide whether the report is usable at all. Mark datasets, agency reports, software, standards and web pages as non-article, because DOI registries don't index them, so an unmarked one lands in the top tier as "may not exist", and on a paper citing national mapping agencies and NOAA atlases that was most of the top tier. Mark authors_truncated whenever the reference printed "et al.", otherwise its deliberately partial author list gets reported as missing authors, which was over half of all housekeeping findings on real bibliographies.
Do the extraction step yourself, and don't add heuristics to do it. Turning a rendered reference list back into fields is a language task, since authors, title, venue and year are separated by conventions that differ per style, and it's the single most bug-prone thing in this skill's history. Every false "fabricated" verdict found during testing traced back to a title- or reference-splitting heuristic, not to a bad API answer. Read the text, emit JSON, hand it to the script. And only fill in doi/arxiv when the reference actually prints one, because supplying an identifier you inferred defeats the entire audit.
This also matches what the APIs want. Semantic Scholar's title matcher resolves a clean title exactly and rejects a raw reference string outright, while Crossref's query.bibliographic accepts a raw string but will confidently bind an invented reference to an unrelated work (it matched a fabricated title to "Thomas Aquinas on the Ultimate Why Question"). Give both a parsed title and they behave. audit_refs.py then re-fetches authoritative metadata from the registrar, because S2 returns v1 preprint titles.
The legacy path (scripts/resolve_refs.py + scripts/refparse.py) does the parsing with heuristics instead. Keep it only for CI gates and other non-interactive runs where no extraction step is available. Every finding it emits is capped at P3 (advisory) and labelled PROVISIONAL, and it cannot print [FABRICATED] at all, it says [SUSPECT] instead. That cap is structural rather than stylistic: this path's parsing is what produced every false fabrication verdict found in testing, and it silently drops text on author-year bibliographies (a capitalised continuation line reads as a new reference, and one real paper lost 26% of its list). An unreliable parser must not put an integrity-shaped accusation next to somebody's name. It still exits non-zero, so the CI gate works. Prefer audit_refs.py whenever you need a verdict you can defend.
Both are stdlib-only (no deps) and read-only, so they never edit your files. Both exit 1 on fabricated identifiers or authoritative mismatches, so either works as a CI/pre-submission gate. For layout, scripts/refparse.py turns messy extracted text into clean reference strings, scripts/bibmeta.py does all API resolution, and scripts/lookup_id.py finds the identifier for a single paper. If you script against bibmeta directly, every lookup takes mailto as an optional argument (crossref_by_doi(doi) works and falls back to BIB_AUDIT_MAILTO) and returns a Record dataclass with title, families, years, doi, venue, pages and a dict-style .get(); the fields are listed in references/metadata-apis.md.
Two optional environment variables, both read from the environment only (never CLI flags, so a key can't land in shell history or a pasted bug report):
[email protected] joins Crossref's polite pool, since anonymous clients get throttled harder on a few hundred entries.S2_API_KEY=… authenticates Semantic Scholar. Optional, but worth having, because unauthenticated S2 returned 500 Internal Server Error for an entire day during development, and S2 is the only source that resolves a paper carrying no DOI and no arXiv ID (AdamW's S2 record has only MAG/DBLP/CorpusId). Request one at https://www.semanticscholar.org/product/api. The key is sent to semanticscholar.org and nowhere else.On speed, flag rather than perfect. Not every reference will resolve, and that's fine, because the job is to flag what couldn't be checked so a human follows up rather than to guarantee an answer for every one. Retries are deliberately impatient (2 attempts, ~1s backoff, Retry-After capped at 3s) because a long exponential backoff times three sources times a few hundred references turns a two-minute audit into an afternoon. [LOOKUP FAILED] is a first-class outcome meaning "re-run this one", never a finding. A "not found" verdict needs only a quorum of two sources answering rather than unanimity, otherwise one third party's rate limit silently downgrades every entry to unverifiable. Measured at 7 references in ~10s with one source actively returning 429.
If you need more speed, note that both scripts resolve serially with a polite sleep. Semantic Scholar accepts 500 papers per POST, OpenAlex ~50 per OR-filtered request (but see its budget limit below), and arXiv takes a comma-separated id_list, so every entry with a printed DOI or arXiv ID can be checked in a handful of calls, leaving only identifier-less entries for the serial tail. Recipes and the ordering caveats are in references/metadata-apis.md. If you do build that path, use S2 for existence (a null in the batch response is the fabricated-identifier signal) but never for metadata comparison, since it returns v1 preprint titles.
pdftotext (poppler) is the reliable path. Without it, have Claude read the PDF and write the reference list to a text file, since resolve_refs.py only needs one reference per line, or blank-line-separated blocks, and strips [12]/12./(3) markers itself.
Use plain pdftotext, not -layout. This is counterintuitive, since -layout looks like the careful choice, but on a two-column paper (most CVPR/ICCV/NeurIPS submissions) it preserves the visual columns, so every output line splices together text from the left and right columns and no reference survives intact. Plain mode follows the content stream, which usually gets reading order right, though not always: on one two-column ICCV paper it emitted the 117 references in the order 19-38, 1-18, 56-75, 39-54, 98-117, 76-96. That's recoverable, since the markers are still there, but check them. Measured across six real submissions, plain mode extracted every reference list, and -layout extracted zero from the two-column ones.
If arXiv LaTeX source is available, parse the .bbl instead of the PDF. It has none of these problems, with one \bibitem per reference, in order, one field per \newblock, no de-hyphenation damage (Perpixel, graphbased, largescale all came out of real PDF text) and no form feeds hiding markers. A ~30-line .bbl parser reproduced a careful 117-reference hand extraction field-for-field, and hand extraction took ~35 minutes against ~13 minutes of actual API time. Reserve the manual extraction step for PDF-only inputs, where the ambiguity genuinely lives.
Papers under review usually carry margin line numbers, which pdftotext interleaves into the text (279 References 279, or numbers on their own lines). resolve_refs.py detects and strips both shapes (strip_line_numbers), where paired numbers must match across both margins and leading-only numbers must run consecutively, so a real 12. reference marker is never mistaken for one. Unstripped, the leading number reads as a list marker and the trailing one corrupts the reference string.
PDF text extraction hard-wraps mid-token, which is the one thing that will burn you. A DOI can arrive as doi:10.1109/MGRS.2 + newline + 017.2762307, and naively rejoining with a space truncates the DOI, so the reference gets reported as fabricated, which is a false accusation and the most damaging mistake this skill can make. resolve_refs.py heals these (see dewrap), but spot-check the parse before trusting a fabrication verdict on a PDF:
python3 -c "import sys; sys.path.insert(0,'scripts')
from refparse import split_references, printed_doi, printed_arxiv
for i, r in enumerate(split_references(open('refs.txt').read()), 1):
print(i, printed_doi(r), printed_arxiv(r), r[:90])"
A DOI that ends mid-string, or a reference count that disagrees with the paper's, means the extraction went wrong, not that the authors invented anything.
Strip the form feed. pdftotext emits \f before a page break, so a References heading that starts a page arrives as \fReferences and ^ *References *$ matches nothing, and the step silently yields an empty file. Verified on a real paper, where the un-stripped recipe returned 0 lines and tr -d '\f' returned 258.
Count the references before trusting any verdict. With LaTeX source available the exact oracle is grep -c '\\bibitem' or the \begin{thebibliography}{N} argument. From a PDF alone, compare the extracted count against the highest marker number, but note this only works for [1]…[N] lists. Author–year bibliographies (ICLR, COLM, NeurIPS, ACL) have no markers at all, so the check prints ? and tells you nothing, and on one such paper it silently hid a 26% loss (74 references merged into 55). For a [1]…[N] bibliography those two numbers must be equal, and a gap means references got merged and any verdict on them is untrustworthy:
python3 -c "import re, sys; sys.path.insert(0,'scripts')
from refparse import split_references, detect_marker, strip_line_numbers
t = open('refs.txt').read(); lines = strip_line_numbers(t).splitlines()
m = detect_marker(lines); n = [int(re.search(r'\d+', m.match(l).group(0)).group(0)) for l in lines if m and m.match(l)]
print('extracted', len(split_references(t)), 'highest marker', max(n) if n else '?')"
Here are the extraction failures found by running that against real submissions. All of them produced false findings before they were fixed, which is the pattern to expect, since bad parsing manufactures fabrication rather than hiding it.
[N]-numbered list, "a line starting Surname, " splits references mid-author-list, because Huy V. / Vo, Marc Sbai, … is one name across a line wrap, and splitting there strands the real first author in the previous fragment, so the orphan resolves to a paper whose first author is "missing" and gets reported as a fabricated identifier. detect_marker makes marker style sticky for exactly this reason.(2021) pp. 1016--1022) pass as (N) markers. Requiring the numbers to start near 1 and mostly ascend rejects years, and without it, two of six test papers collapsed from 50 and 25 references to 9 and 5.[A-Za-z]. 13. Şimşek, F.F.: … failed the marker's ASCII letter lookahead, so that reference silently merged into number 12. Any surname starting outside ASCII hits this.pdftotext emits margin line numbers on their own lines, and the running header (<Venue> 2026 Submission #NNNN) repeats every page. Dropping furniture only after grouping is too late, and this was the subtlest bug of the set, because a header landing mid-reference gets joined into it and becomes indistinguishable from the citation's own text. Observed spliced into the middle of a title (Sentinel-2: ESA's optical high-resolution mission for <header> GMES operational services), which dropped the title match to 0.18 and escalated a real, correctly-cited paper to [FABRICATED]. The same splice duplicated and corrupted a DOI, leaving one mangled copy and one intact copy in the same reference.10.1038/s41597- + 026-07099-1 became s41597026-07099-1, a dead DOI on a live paper. The identifier check has to run before the de-hyphenation rule.10.5281/*), figshare and Dryad DOIs 404 on Crossref while being entirely real, dataset citations are common in remote-sensing papers, and treating a Crossref 404 as proof of fabrication flags them all.One thing the PDF path can't do, by design, is detect author truncation. Reference lists legitimately abbreviate to "et al.", so a 3-of-7 author list in a PDF is normal formatting rather than an error. Truncation is only checkable against a real .bib (validate_refs.py), where the full list was supposed to be present.
| Verdict | Meaning | Action |
|---|---|---|
[OK] | Matches authoritative metadata | Nothing |
[FABRICATED] | The entry's own DOI/arXiv ID names no paper, or names a work whose title is clearly not the one cited | Fix the identifier, never the title — see below |
[MISMATCH] | DOI/arXiv pins the work and the bib disagrees → genuine error | Replace fields with --show-bibtex output |
[NOT FOUND] (PDF path) | No Crossref/arXiv/OpenAlex match for the reference string | Check the extraction parsed cleanly, then suspect an invented paper |
[SUSPECT] (legacy path only) | Same evidence as [FABRICATED], but reached through heuristic parsing | Provisional. Re-run through audit_refs.py before treating it as a finding |
[CHECK] (search-only) | Fuzzy title-search bound some paper and it differs — may be a wrong bind, not a bib error | Verify by hand; best fix is adding a doi/eprint to the entry |
[CHECK] (preprint vs published) | arXiv-resolved entry differs on year/authors — preprints legitimately differ from camera-ready | Usually the bib is right; confirm against the published venue |
[UNRESOLVED] | No DOI/arXiv ID and no close title match | Add an identifier (see workflow); web specs/@misc URLs stay unresolved by design |
[LOOKUP FAILED] | Rate limit or API outage | Not a finding at all — re-run those entries |
[UNVERIFIABLE] | Grey literature (kind ≠ article on the PDF path; @book/@misc/@manual/thesis/report entry types on the .bib path) or anonymized for blind review | Expected. Check the URL resolves; never a fabrication signal |
Both scripts print the per-reference log first, then a ranked findings section grouping everything into four tiers (scripts/triage.py). Fix top-down. The tiers exist because these are not the same kind of news, and mixing them in one list invites the reader (a co-author, or an author you're reviewing) to dismiss the whole thing as pedantry.
| Tier | What it means | Why it ranks here |
|---|---|---|
| P1 | The cited work isn't found anywhere | The sentence citing it has no support. Re-read the claim; don't just swap in a similar paper. |
| P2 | Fabricated identifier, or an invented author | Points at the wrong paper, or credits someone for work they didn't do. Integrity-shaped. |
| P3 | Wrong metadata on a real, correctly-identified work | Truncated author lists, preprint-vs-published year drift. Housekeeping. |
| P4 | Formatting and style | Mechanical, batch-fixable last, changes nothing about which paper is cited. |
The P2/P3 boundary is the one worth internalizing, since an identifier naming no paper and an author who isn't on the paper are different in kind from a truncated author list. In a review they belong in different paragraphs, and in your own paper, different work sessions.
P4 findings are checked mechanically by scripts/bibstyle.py on the .bib path: single-hyphen page ranges, page ranges starting at 1, DOI stored as a URL, url duplicating doi, spelled-out months, double-braced titles, ALL-CAPS titles, and J.D. initials. These are the rules a human reviewer never has patience to check across sixty entries. The page-1 check is a prompt, not a verdict, and it's withdrawn when the registrar deposits the same range or an article number, because article-numbered journals (PACMPL/OOPSLA, TOG, PNAS) genuinely paginate every paper from 1. On one real bibliography all 11 such warnings were correct entries that Crossref agreed with, and the reader nearly deleted the page ranges on the strength of the old "often placeholder pages" wording.
author = {Smith, J. and others} is valid BibTeX, and the .bst renders it as "et al.", so it never looks broken in the built PDF. Which is exactly why it's worth flagging, because a reference manager exporting a real record writes every author, so the phrase appearing in .bib source means the entry was authored without the full list ever being known. It's reported at P3 per entry, and when it recurs across 2+ entries, once more as a corpus-level signal, since a repeated short-prefix-plus-and others pattern is a generation artifact rather than a typing habit, and it's grounds to treat every identifier in the file as unverified rather than just those entries.
Two traps when implementing this. The literal token others must be excluded from author comparison, since keying it as a surname makes every abbreviated entry report an author "in the bib but not on the registry record", i.e. the invented-author signal, a false integrity accusation. And the same and others in a rendered reference list means something different, since a working .bst would have emitted "et al." there.
Severity is deliberately asymmetric. Only a dead identifier or a badly wrong title reaches [FABRICATED], while author- and year-level disagreements stay advisory [CHECK]. On a PDF-extracted string those signals are unreliable, since et al. hides author order and extraction mangles diacritics (Gökçe arriving as Gök"e fails a surname check against gokce on a perfectly correct entry). Escalating them produced six false fabrication findings in a single real paper during testing.
An LLM-drafted bibliography doesn't just get fields wrong, it invents DOIs, arXiv IDs, co-authors, and occasionally whole papers. Fabrication is nastier than ordinary error because a well-formed identifier makes an entry look verified. Four shapes, worst first:
[MISMATCH] with a title diff on a DOI-resolved entry. Treat any such title diff as a fabricated DOI until proven otherwise, and fix the identifier rather than the title, because editing the bib title to match a wrong DOI is how a fake citation becomes permanent. Re-resolve from the title with lookup_id.py, confirm first author + year by eye, replace the identifier.[FABRICATED] and name the identifier, keeping it distinct from [UNRESOLVED], which means the entry never claimed an identifier in the first place. That distinction is the whole point, because "you forgot a DOI" is housekeeping while "your DOI is fake" is a retraction-grade problem. Note the two arXiv shapes, where a well-formed-but-nonexistent ID returns zero results while a malformed ID returns a record titled Error, and both are treated as naming no paper rather than as a title mismatch against the literal string "Error". One dead-DOI shape has an innocent cause worth knowing: 10.5555/* is Crossref's internal prefix, which the ACM Digital Library displays for works it hosts without a registered DOI, and citation managers copy it into bibs. It's never valid and never will resolve, but the paper usually exists; the scripts print that explanation next to the verdict so it isn't read as an invented paper.authors in bib but not api, an extra surname the registrar doesn't have. This is worse than the truncation case (authors in api but not bib), because truncation shortchanges people while fabrication credits them for work they didn't do, and reviewers notice when it's their own name.An entry with no doi/eprint at all is unfalsifiable rather than evidence of good faith, so resolve it before trusting it.
The audit finds wrong metadata. It cannot tell you why the metadata is wrong, and the innocent explanations are common: Google Scholar and publisher exports ship systematically broken BibTeX (see the gotchas below), citation managers silently mangle DOIs, and a wrong-but-real DOI is usually a copy-paste slip from the adjacent entry. Before writing anything in a review:
is_anonymized) and report [CHECK], never [FABRICATED], but if you audit by hand, an unresolvable "Anonymous" entry is the authors following the rules, and flagging it reads as though you didn't understand the review process.10.xxxx/yyy resolves to a different paper (actual title); the cited title appears to be other title, DOI 10.zzz" is checkable and useful. "The authors fabricated citations" is an integrity allegation, which is the editor's call to make and not a reviewer's line item.Run the audit. Triage by verdict per the table above, [FABRICATED] first.
For each [MISMATCH]: rerun with --key <key> --show-bibtex — it prints the publisher's own BibTeX (Crossref content negotiation) with the existing citation key preserved, ready to paste.
For [UNRESOLVED]/[CHECK] real papers: find the identifier with scripts/lookup_id.py, add it to the entry, re-run. This flips the entry from fuzzy matching to authoritative.
python3 scripts/lookup_id.py "Decoupled Weight Decay Regularization" --author Loshchilov
python3 scripts/lookup_id.py --arxiv-id 1711.05101 # verify a candidate ID
Confirm title + first author by eye before adding, and never add an identifier from memory. Conference/ML papers nearly all have arXiv IDs (eprint = {...}, archivePrefix = {arXiv}); journal papers get doi = {...}.
Re-run until 0 mismatches. Rebuild the paper (pdflatex + bibtex) to confirm no undefined citations and, if only identifiers were added, an unchanged PDF.
You can't edit the bib, so the goal is a short list of defensible findings rather than a clean exit code.
pdftotext recipe above), then verify the parse before the audit, checking that the reference count matches the paper and no DOI got truncated at a line wrap. Extraction noise masquerades as fabrication.resolve_refs.py. Read [FABRICATED] and [NOT FOUND] first, and treat [CHECK] as "the search bound something loosely", which on a messy reference string is expected and usually not a finding at all.[FABRICATED] and [NOT FOUND] in a browser before it goes in the review. Two lookups per finding, and it's the step that keeps you out of trouble.--emit-bibtex recovers a real .bib from the PDF's references, handy when you want to cite something the paper cited without retyping it.For API endpoints, curl one-liners, source ranking, and per-source caveats, read references/metadata-apis.md.
[0] lies. title and subtitle are separate elements for many ACM/IEEE papers (ExTensor / An Accelerator for Sparse Tensor Algebra), so comparing title[0] alone reports a 0.28 mismatch on a correct entry, and container-title[0] is the series (Lecture Notes in Computer Science) for Springer volumes, with the conference at [1]. bibmeta joins title+subtitle and picks the longest container title; 28 of 41 P3 findings on one real run were this. Details in references/metadata-apis.md.10.48550/arXiv.* = DataCite-registered; route to the arXiv API (script does this).H{\"a}nsch must decode to Crossref's Unicode Hänsch (script handles \"a, \c{c}, {\v s}, \ss, etc.). Decode before stripping braces, or nested-brace Gon{\c{c}}alves degrades to Gon\ccalves, keys as ccalves — permanent false MISMATCH.published-online 2008 vs published-print 2009, Akbari et al., Climatic Change); journals' "cite this" pages typically use print year. Script accepts a bib year matching any deposited date — never hard-fail.year (AdamW), no DOIs, mangles venues. Canonical-source ranking: Crossref content negotiation (DOI) > DBLP for CS/ML conferences (curl https://dblp.org/rec/<key>.bib) > arXiv export. Script doesn't consult DBLP — for ICLR-style no-DOI venues, pull the DBLP record manually.pages = {1--19} on an ICLR entry = authored, not resolved — delete. DBLP record (publisher OpenReview.net, no pages) is canon.citationStyles.bibtex abbreviates given names (Jane Doe → J. Doe), lowercases titles, nulls some arXiv papers — the exact truncation failure this skill catches. S2 = citation graphs only.eprint/archivePrefix. Classic .bst styles ignore them (PDF unchanged); arXiv export uses them — but not conventional in journal/conference bibs for published papers. Strictly conventional file wanted → arXiv IDs in a sidecar list, not the bib.search_query times out / 503s under load; id_list reliable. Prefer id_list, retry with backoff, ~3 s between requests.Style-side companion to the metadata audit; prose/typesetting nitpicks live in the research-paper-nitpick skill. Rules below distilled from John Owens's (UC Davis) writing and bibliography-error notes and Henning Schulzrinne's (Columbia) writing-style guide, plus Chicago 7.56 on abbreviation italics.
text~\cite{key}, with a non-breaking ~ before every citation. Multiple works go in ONE \cite{a,b}, ordered so rendered numbers ascend ([6, 8, 10], not [8, 6, 10]); the cite package auto-sorts and ranges ([1–4, 6]).\shortcite when the author is already named in the sentence: "AuthorOne [2002] discusses…", not "AuthorOne discusses this in [AuthorOne 2002]". If the style lacks it, add \providecommand{\shortcite}[1]{\cite{#1}} to the preamble, using \providecommand rather than \newcommand so the definition is skipped rather than erroring out on styles that already supply it.{L}oop, {GPU}, proper names), and never double-brace the whole title, so the .bst can decide title vs sentence case.month={june}. Fix them before submission. Same spirit as the Google Scholar gotcha above, where an export is a starting point you still have to clean up.--show-bibtex handles).Field-authoring rules for when you must hand-touch an entry anyway. Sourced from John Owens's (UC Davis) "Common Errors in Bibliographies", https://www.ece.ucdavis.edu/~jowens/biberrors.html, which is worth reading in full once; everything actionable from it is reproduced here and in the style section above.
J. D. Owens, never J.D. (BibTeX reads that as one first name, so abbreviated styles emit only "J."). Hyphenated names with lowercase second half: Wu-{chun} Feng, Wen{-mei} Hwu.{L}oop, since it's a surname, plus acronyms and proper names). Rewrite all-caps titles from publishers in title case. Never double-brace the whole title.month = mar, month = jun # "\slash " # jul, month = "18~" # dec, which lets the style pick "Jan."/"January"/"1/". Include the month when it disambiguates same-year papers.35--49. Electronic proceedings get 12:1--12:10 (paper 12, 10 pages). Every entry starting at page 1 means the pages were authored, so omit them, but an individual 1--29 on an article-numbered journal (PACMPL, TOG, PNAS) is what the publisher deposits, so confirm against the registrar before deleting it.doi field costs nothing in the PDF and is what makes the entry re-verifiable later, the difference between an entry this audit can pin authoritatively and one it can only fuzzy-match. Same argument for keeping eprint on preprint-only works.10.1109/IVS.2011.5940539), never the dx.doi.org URL. Don't duplicate the DOI in url.\url{} (\usepackage{url}) so they wrap.references/metadata-apis.md (opens in a new tab)scripts/audit_refs.py (opens in a new tab)scripts/bibmeta.py (opens in a new tab)scripts/bibstyle.py (opens in a new tab)scripts/lookup_id.py (opens in a new tab)scripts/refparse.py (opens in a new tab)scripts/resolve_refs.py (opens in a new tab)scripts/triage.py (opens in a new tab)scripts/validate_refs.py (opens in a new tab)tests/test_regressions.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub isaaccorley/skills --plugin bib-auditOther plugins' skills for the same job