/paper-preflight:paper-preflightfrom paper-preflight
Verifies every reference in a LaTeX paper against Crossref, dblp, arXiv, DataCite, and OpenAlex. Fixes identifier errors, retractions, and field mismatches without guessing.
Ships in paper-preflight. 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.
None: SKILL.md is the whole skill.
paper-preflight checks citation keys and verifies each cited reference against real records. It never uses an LLM to judge, and it abstains ("cannot determine") rather than guess. Your job is to run it, fix what it proves wrong, and hand the user what only they can decide.
preflight_check MCP tool is available, call it with the project directory (or the
.bib file) as path. Page with offset=next_offset until next_offset is null.paper-preflight check . --format json
(or uvx paper-preflight check . --format json; without uv, pip install paper-preflight).preflight_explain (or the rule table in the output) explains any rule ID.Fix errors first, then warnings. Re-run the check after editing.
| Rule | What to do |
|---|---|
| CIT001 undefined key | Find the intended entry in the .bib files; if it does not exist, ask the user for the source. |
| CIT002 duplicate key, CIT004 near-duplicate | Merge into one entry and update the citations. |
| REF001 identifier points to another work | Remove the wrong DOI/arXiv ID. Add the right one only if you can verify it. |
| REF002 identifier does not exist | Remove it or correct an obvious typo; never guess a replacement. |
| REF003 not found anywhere | Do not invent or "repair" the entry. Tell the user it was not found in any source and ask for the actual paper (a link, a PDF or a DOI). |
| REF004 retracted | Tell the user. Keep the citation only if the text discusses the retraction. |
| REF010–REF014 authors, title, year or venue differ | Correct the field from the record named in the message. |
| REF015 preprint was published | Suggest citing the published version, keeping the eprint field. |
| REF017 identifier written incorrectly | Apply the suggested form; it is a safe fix. |
| REF090 cannot determine | Do not guess. List these references for the user to confirm by hand, with the reason given. |
Safe fixes (identifier formatting, missing DOIs) can be applied with
paper-preflight bib fix <path> --apply. For authors, title, year or venue, show the user the
diff from paper-preflight bib fix <path> --level unsafe before applying it.
When the user asks whether citations are supported, call preflight_cited_passages with a
cited key. For each sentence citing it, the tool returns the claim and the cited work's passages
ranked for that claim. Judge each claim yourself, and report it as one of two things:
name_in_title is true.Never call a citation wrong or invented on this evidence. The text may say it in other words,
or be only an abstract. Without the MCP server, paper-preflight support does the same with a
local model (the support extra).
preflight_bib_lookup
MCP tool, or paper-preflight bib fetch <DOI or arXiv ID> (or --title "..." --author "..."),
which build the entry from the registry record; if nothing is found, ask the user for the source.complete: false, exit code 2); say which sources were unavailable and re-run later.What SKILL.md sets; muted values are Claude Code's defaults
Use before saying a LaTeX paper, thesis or report is done, ready to submit or ready to share; after adding or editing references in a .bib file; or when the user asks whether citations are real, correct or retracted.
Three short reads, in order
npx claudepluginhub amos689/paper-preflight --plugin paper-preflightOther plugins' skills for the same job