/draft-detective:reference-validationfrom draft-detective
Validates bibliographic references (journal articles, preprints, books, webpages, etc.) by searching online and comparing citations to authoritative sources. Confirms author, title, publisher, year, and identifiers like DOI, arXiv ID, ISBN, or ISSN.
Ships in draft-detective. 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.
This check sends parts of the user's document to an external web search provider. Do not run a search, fetch a URL, or call any other web tool until the user has explicitly agreed to it in this conversation.
If you do not already have the user's consent for this document in this conversation, relay this to them verbatim and stop for their answer:
To run this assessment, parts of your document — and possibly the whole document — will be sent to a web search provider as search queries. Don't proceed if the document contains confidential information you aren't comfortable sharing with an external search engine. Do you consent to running web search on this document?
Continue only on an explicit yes. One consent covers this document for the rest of the conversation — don't re-ask per reference or per section.
If the user declines, stop and do not search. Do not fall back on memory or on what you can infer without searching, and do not report partial findings as if the check ran. Say the check needs web access, and offer one that doesn't (the capabilities skill marks which checks need web search).
Validate a single bibliographic reference by finding the cited work online and comparing it to the reference. Follow the six-step procedure below for each reference. Web search (or URL fetching) is required — never validate from memory.
If the user provides multiple references, repeat the procedure for each one and report results per reference.
Read the reference and note:
Special case — bare URL: if the reference is only a URL with no bibliographic metadata, skip ahead to Step 6 with final result missing_fields. Reconstruct the full citation from the URL's content and populate updated_reference. Mark author, title, publisher, and year as MISSING; mark identifier as CORRECT (identifier is always optional).
Fetch the URL exactly as given. One of three outcomes:
Do NOT treat a URL as valid just because its domain/path looks plausible — you must confirm the page actually exists and has real content.
Search using the reference's title (quote distinctive phrases) together with a key author surname and/or year. For references with a DOI or arXiv ID, resolve the identifier first and use the canonical page — BUT if the resolved work's title clearly does not match the reference's title, treat the identifier as incorrect or fabricated and search by title instead. Do NOT accept an unrelated work as your candidate just because an identifier happened to resolve to it; when this happens, flag the identifier as INCORRECT in Step 5 and use the title-based candidate for the other fields.
Pick the single best candidate that plausibly IS the cited work. If no candidate matches the cited title or authors, stop and go to Step 6 with incorrect_fields (a reference that cannot be located online is treated as a substantive issue).
A cited URL that returns 404 (or an error page) together with a title that no search finds means the cited work does not exist, even when a similar work on the same topic does. Report it as not found — a likely fabricated reference — rather than as a real work with errors: do not substitute the similar work, and do not suggest an updated reference pointing to it.
ArXiv-specific rules:
arXiv:2311.16169 rather than arXiv:2311.16169v1), treat the MOST RECENT version on arXiv as authoritative — its title, author list, and most-recent submission year. When the reference explicitly pins a version (e.g., arxiv.org/abs/2406.01637v1), treat that version as authoritative instead.arxiv.org/html/... sometimes contain rendering artifacts that produce incorrect-looking titles. Do not take the title from the HTML view. Prefer, in order: (a) the title from the official conference/journal publication if one exists, (b) the arXiv abstract page arxiv.org/abs/..., (c) the PDF.Before comparing fields, confirm the candidate source IS the cited work. Compare the candidate's title to the reference's title, ignoring case and punctuation:
incorrect_fields. Do not try to "rescue" a bad reference by treating a different work as a match: mark every field you could not verify against the cited work INCORRECT or OTHER (never CORRECT because it happens to match the different work), and set updated_reference = null.For each of author, title, publisher, year, identifier, set problem_type to one of correct, missing, incorrect, or other:
Field-specific notes:
<h1> heading, the article headline, or the title page of a PDF. Do NOT use the browser tab <title> tag, the og:title social-sharing title, or a search-engine snippet — these are often shortened or sanitized. For PDF-linked articles, prefer the title inside the PDF.
A title that leaves out a subtitle, a newspaper deck or a standfirst is CORRECT, provided the remaining title still identifies the work — many styles cite a news article by its headline alone, and some pages print the deck inside the <h1> after a colon. It is INCORRECT when the omitted part is what tells the work apart from others by the same author or publisher (for example, one of several same-year reports that share a main title and differ only in their subtitle). Spelling variants that leave the work identifiable ("Data center" for "Datacenter") are CORRECT.suggested_value with a known DOI, arXiv ID, ISBN, or ISSN when one exists, but NEVER suggest a URL as an identifier. Accept equivalent forms: a URL that resolves to a persistent identifier (e.g., https://doi.org/10.xxxx/..., https://dl.acm.org/doi/pdf/10.xxxx/..., https://arxiv.org/abs/...) is equivalent to the bare identifier. A missing DOI when an arXiv ID is already present is NOT an error.final_result is mechanical given the per-field problem_types from Step 5. Apply in order:
final_result = "incorrect_fields". A reference that cannot be located online is treated as a substantive (red) issue. Set updated_reference = null.problem_type = INCORRECT → final_result = "incorrect_fields". Populate updated_reference with the corrections applied, preserving the reference's original citation style (see the updated_reference note under Output).problem_type = MISSING → final_result = "missing_fields". Populate updated_reference if there is a useful correction to suggest; otherwise set it to null.problem_type = CORRECT → final_result = "correct". Set updated_reference = null.All leniency belongs at the field level in Step 5 (case/punctuation, name forms, truncated author lists, organizational abbreviations, an organization named once as author and publisher, an omitted subtitle or deck, year ±1, publisher substring/abbreviation, identifier URL forms, missing-identifier-with-clear-venue). Apply that leniency when assigning each field's problem_type, then derive final_result mechanically from the rules above. Do NOT add any extra "default to correct on the boundary" softening at the result level.
For each validated reference, report the following structure (JSON or a clearly-formatted markdown block — match whatever the user asked for; default to markdown):
original_reference — the reference as given.final_result — one of correct, missing_fields, incorrect_fields.
correct — every field verified against an authoritative source (green).missing_fields — at least one field MISSING but none INCORRECT (yellow).incorrect_fields — at least one field INCORRECT, OR the reference could not be found online (red).bibliography_field_validations — one entry per field (author, title, publisher, year, identifier) with:
category — the field name.current_value — the value as it appears in the reference.suggested_value — the authoritative value.problem_type — correct / missing / incorrect / other. (Use correct when the only differences are capitalization or minor punctuation.)summary — one or two plain sentences telling the author what is wrong: each incorrect or missing field, with the cited value and what the source says ("The third author's surname is spelled Eliahou, not Elliahou."). Leave out the fields that are correct, how you searched, and the reference as a whole. For a reference you could not find, say that in one sentence. Empty when correct.url — the URL identifying the cited work (from the reference, identifier resolution, or your search). Empty string when no candidate was found.reasoning — a brief step-by-step summary of how you validated.suggested_action — one sentence describing what to fix; "No changes needed" when correct.updated_reference — corrected citation in the reference's original format when there are corrections to suggest (typically missing_fields or incorrect_fields for a found work); otherwise null.
Change only the fields you marked incorrect or missing, and copy every other character of the reference exactly as written, including the capitalization, punctuation and URL of fields you marked correct. Someone may apply the difference between the two as a tracked change, so any other edit turns into a change the author did not need.What SKILL.md sets; muted values are Claude Code's defaults
32 skills in this plugin
/abbreviation-extractionUse this skill to find and catalogue every abbreviation and acronym occurrence in a document — recording, for each occurrence, any accompanying inline definition, how many times the abbreviation has appeared so far, where it appears, and the definition listed in any Abbreviations section, leaving out occurrences that are exempt from compliance checks. Invoke when asked to extract, list, or inventory the abbreviations/acronyms in a document (e.g. as input to an abbreviation compliance check)./abbreviation-scanUse this skill to check that a document's abbreviations and acronyms follow publication style — each is defined inline at its first use, listed in a dedicated Abbreviations section, used consistently, and not given conflicting meanings. Invoke when asked to review or validate a document's abbreviations/acronyms for compliance (e.g. per a manual of style)./about-this-authorsUse this skill to validate the author biography section of a research publication — that each author bio has the right sentence count, states position and affiliation, describes research focus, and names the highest degree. Invoke when asked to check a document's "About the Authors" / author biography section./about-this-prefaceUse this skill to validate a research publication's preface / introductory section against publication requirements — that it establishes context, explains objectives, identifies the audience, situates the work in the literature, states the contribution, and defines scope. Invoke when asked to check a document's preface, introduction, or "About This" section./active-voiceUse this skill to check a document for passive-voice sentences, for sentences whose inanimate subject hides who is responsible for an action ("the evaluation will assess" when several organizations share the work), and for summary sentences that present the authors' own recommendations or conclusions as if they arose by themselves ("several recommendations emerged from the analysis"). Reports each occurrence with a proposed active rewrite, or asks the author to name the actor when the text does not say who it is. Invoke when asked to check active voice, passive voice, or unclear actors in a document./advocacy-toneUse this skill to check that a document uses neutral, objective language. Flags trigger words (certainty language without evidence), advocacy language (unsupported recommendations or opinion framing), and subjective tone (value judgments or emotional language). Invoke when asked to review a document's tone, neutrality, or objectivity.npx claudepluginhub agencyenterprise/draft-detective --plugin draft-detectiveOther plugins' skills for the same job