verify-refs
Skill by Aperivue
Audits a manuscript's references against PubMed, CrossRef and OpenAlex. It flags fabricated or mismatched citations and writes qc/reference_audit.json. Built for authors checking bibliographies before submission.
Install verify-refs
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Aperivue/medsci-skills /tmp/medsci-skills && mkdir -p ~/.claude/skills && cp -r /tmp/medsci-skills/skills/verify-refs ~/.claude/skills/verify-refsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Aperivue/medsci-skills /tmp/medsci-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/medsci-skills/skills/verify-refs ~/.gemini/antigravity-cli/skills/verify-refsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
verify-refs is an agent skill that checks whether a manuscript's references are real. It runs the bundled verify_refs.py script on a .md, .docx, .bib, .txt or .tsv file. Each citation is looked up in PubMed (by PMID), CrossRef (by DOI, with a doi.org fallback) and OpenAlex, with a PubMed title search last. Author lists are compared where the data allows, and the results are written to qc/reference_audit.json.
The skill is audit-only. It never edits references/ or manuscript/_src/refs.bib, and it does not replace a bad citation with a different one. A separate claim fidelity script can check quotes and attributions against full texts already downloaded. The skill is aimed at researchers preparing manuscripts, especially medical and AI papers, who want to catch fabricated or mismatched references before submission.
Written from the project's SKILL.md and checked against it.
What it can do
- Citation verificationChecks each reference against PubMed, CrossRef and OpenAlex lookups, with a title search as the last step.
- Fabrication and mismatch flagsMarks rows as FABRICATED, MISMATCH, OK or UNVERIFIED, with notes on author differences.
- Duplicate detectionLists references that share a verbatim PMID or normalized DOI, so cite renumbering can be checked.
- Audit JSON outputWrites qc/reference_audit.json with per-record status, evidence and author lists.
- Strict pre-submission modeThe --strict flag exits non-zero on any UNVERIFIED row and cannot be combined with --offline.
- Offline extractionThe --offline flag extracts and classifies references without making API calls.
- Claim fidelity checkcheck_claim_fidelity.py tests quotes and attributions against downloaded full texts; it fetches nothing.
- Sentence-level evidence tableWrites evidence rows per citation in qc/claim_fidelity.json, with a comparison field left for the assessor.
What you need
- Python
- Bash, for the verify_cli.sh wrapper
- Network access to PubMed, CrossRef and OpenAlex unless --offline is used
Try asking
- Verify the references in manuscript/manuscript.md against PubMed and CrossRef
- Run an offline reference check on my manuscript without API calls
- List all FABRICATED and MISMATCH references from qc/reference_audit.json
Good to know
- Audit-only: it never edits references/ or refs.bib and does not suggest replacement citations.
- --offline leaves references UNVERIFIED because no lookups run.
- OpenAlex lookups support only an existence check and a tolerant first-author check, not strict author matching.
- Claim fidelity checks only cover full texts already downloaded to disk.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/verify-refs/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to verify-refs
All alternatives →Searches arXiv for scientific papers and preprints, extracts their metadata and abstracts, and downloads PDF or HTML full text. Suited to users who need research papers, literature or specific arXiv IDs.
Downloads AlphaFold predicted structures and PAE matrices for a UniProt ID, then reports pLDDT confidence, domain boundaries and disorder. Built for users who already have a UniProt accession.
Queries the QuickGO and Evidence & Conclusion Ontology REST API to map genes to Gene Ontology terms. Built for researchers doing functional annotation and GO hierarchy exploration.
Connects an AI assistant to Peloton to browse fitness classes, check live and archived schedules, and manage workouts. Built for Peloton users who want to plan rides from their assistant.
Queries NCBI Gene through the E-utilities and Datasets API. It helps researchers search genes by symbol or ID, retrieve gene details, and run batch lookups for annotation and functional analysis.
Prepares and launches nf-core/pacsomatic runs for matched tumor-normal PacBio HiFi data starting from unaligned BAM files. It generates samplesheets and pinned launch artifacts, then runs locally or submits to a scheduler.
Compare with literature-search-arxiv, alphafold-database-fetch-and-analyze or quickgo-database
verify-refs: common questions
Does verify-refs fix broken references?
No. The skill is audit-only and never writes to the references folder or refs.bib. Corrections go through /lit-sync or the user.
Where are the results saved?
Results are written to qc/reference_audit.json, which is the only output of the audit script.
Why does a reference show UNVERIFIED?
UNVERIFIED means no lookup confirmed or refuted it, such as a failed lookup, a missing identifier, or an offline run. Such rows need manual checking before submission.
How do I install verify-refs?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is verify-refs free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is verify-refs safe to use?
It scores 70 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to verify-refs?
Similar skills: literature-search-arxiv, alphafold-database-fetch-and-analyze, quickgo-database, peloton.
