PubMed Citation Batch Verifier
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_481397b5/pubmed-verifier.
About this skill
The problem it addresses
Medical documents often contain citations that fail in two different ways: the PMID does not exist, or the PMID exists but points to a different paper. The second failure mode is more subtle, especially in AI-generated reviews, textbooks, or knowledge-base entries, because the citation can still look valid while failing to support the claim it is attached to. This skill is designed for batch citation checking: it extracts PMID values from documents, then compares them against nearby citation metadata such as title, authors, journal, and year.
Core capabilities and workflow
The verifier assigns each citation one of five states:
- Correct: the
PMIDexists and matches the claimed paper metadata. - Mismatched: the
PMIDexists but points to a different paper. - Partially matched: some metadata align, but title or author details still differ.
- Invalid: the
PMIDcannot be found in PubMed. - Needs confirmation: the source document does not provide enough citation metadata to compare.
During processing, it scans files such as .html, .md, .txt, and .json for PMID: patterns or PubMed URLs, then parses surrounding text to extract authors, title, journal, and year when available. It fetches real metadata from the PubMed esummary API and compares that against the claimed citation. The matching logic combines token-level overlap with sequence similarity, which helps with abbreviations, word-order changes, and minor spelling differences. Cached PMID lookups can speed up repeated validation runs.
Optional features include Crossref DOI verification and candidate PMID suggestions for mismatched citations. Results can be exported as an HTML report, JSON, or plain terminal text, making them easier to review or feed into downstream pipelines.
Boundaries and caveats
This skill fits systematic reviews, AI-generated medical content, pre-submission citation checks, medical knowledge bases, and pharmacovigilance documentation. However, it depends on whether the document contains enough citation metadata. If only a bare PMID is present, the result may remain uncertain. Fuzzy matching can also produce borderline cases that still require human judgment. It is not a full fact-checking tool and does not replace reading the paper itself, checking conclusions, or reviewing how the citation is used in context.
Use Cases
- Audit a systematic review draft by batch-checking hundreds of PubMed PMIDs against cited papers.
- Before submission, verify AI-generated references by matching PMID, title, authors, and journal.
- When building a medical knowledge base, extract PubMed citations from textbook text and flag invalid or mismatched PMIDs.
- In pharmacovigilance reports, confirm that cited PMIDs exist and correspond to the intended literature.
Best For
- Medical review authors: need to confirm that PubMed citations in systematic reviews are not fabricated or mismatched.
- Research assistants: need to batch-check PMID, title, author, and journal consistency before submission.
- Medical knowledge-base editors: need to screen textbooks or clinical guidelines for invalid PMIDs and mismatched citations.
- Pharmacovigilance analysts: need to verify that cited PMIDs exist and point to the correct articles.
Related Skills
A local A-share quant workspace for quotes, k-lines, conditional screening, MA/RSI backtesting, simulated trading, and risk control via REST APIs.
Systematically identify and evaluate the economic moats of listed companies using the Tang Shu Fang investment methodology for long-term investment analysis.
A skill that converts natural language questions into A-stock data queries and returns verifiable structured analysis conclusions, covering multi-dimensional analysis of market trends, fundamentals, and news.
An AI financial copilot by Wind, integrating financial databases and multimodal analysis to provide end-to-end support across investment research, asset allocation, risk control, quant, and report generation.