verify-refs

verify-refs is a skill for Claude Code from Aperivue/medsci-skills. It costs 60 tokens per session (3,125 once invoked), scanned A, original, MIT.

A checking tool for references already present in a medical manuscript or bibliography. It compares citations with PubMed, a medical research database, and CrossRef, a scholarly publication registry.

In plain words
What is it for?
Use it to audit references in Markdown, Word documents, BibTeX files, text files, or TSV files. It records its findings in qc/referenceaudit.json without changing your reference files.
Why use it?
It helps catch made-up citations, incorrect publication details, and references that do not match the cited work before submission.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the medsci-literature plugin — 6 skills shipped together

Good fit Use it to audit references in Markdown, Word documents, BibTeX files, text files, or TSV files. It records its findings in qc/referenceaudit.json without changing your reference files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aperivue/medsci-skills/verify-refs
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Aperivue/medsci-skills --skill verify-refs
Clone the repo
git clone --depth 1 https://github.com/Aperivue/medsci-skills

Made for: Claude Code.

Or install medsci-literature, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for verify-refs

README.md
[![agentmods](https://agentmods.dev/badge/skills/aperivue/medsci-skills/verify-refs/github.svg)](https://agentmods.dev/skills/aperivue/medsci-skills/verify-refs)
Your own site
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/verify-refs"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/verify-refs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for verify-refs

Your own site · 80×15
<a href="https://agentmods.dev/skills/aperivue/medsci-skills/verify-refs"><img src="https://agentmods.dev/badge/skills/aperivue/medsci-skills/verify-refs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.03125
Opus 5.5 $0.00024 $0.01250
Sonnet 5.5 $0.00012 $0.00625
Haiku 4.5 $0.00006 $0.00313

Measured 24d ago against content hash 282664d1cfed, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

verify-refs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 24d ago.

The scan reads SKILL.md. This mod also ships 20 executable files (scripts/_claim_evidence.py, scripts/_quote_match.py, scripts/check_claim_fidelity.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/verify-refs/SKILL.md · 207 lines

How it starts

The opening of the file, as written. The whole thing — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Verify References (Audit-Only)

Audit an existing manuscript or bibliography for fabricated or mismatched references. This skill never writes to references/ or manuscript/_src/refs.bib: corrections flow through /lit-sync (Zotero → Better BibTeX → refs.bib), and /manage-project's scripts/validate_project_contract.py flags any references/* file written here as drift. It does not discover literature (/search-lit), and it never replaces a missing or bad citation with a plausible alternative — replacements go through /search-lit or the user.

Inputs

  1. Manuscript or bibliography: .md, .docx, .bib, .txt, or .tsv.
  2. Optional project root. Default: current working directory.
  3. Optional flags: --offline (extract and classify without API calls), --timeout N (HTTP timeout seconds), --strict, --no-openalex.

For markdown manuscripts with pandoc [@bibkey] citations, run a citation-key check first (/manage-refs's check_citation_keys.py, or your reference manager's). It catches mis-keyed cites; verify_refs.py catches fabricated metadata.

Deterministic Script

Run the bundled script rather than verifying citations by memory:

python "${CLAUDE_SKILL_DIR}/scripts/verify_refs.py" manuscript/manuscript.md --project-root .

For hooks or quick manual runs, use the wrapper:

"${CLAUDE_SKILL_DIR}/scripts/verify_cli.sh" manuscript/manuscript.md --offline

Manual pre-submission strict run:

"${CLAUDE_SKILL_DIR}/scripts/verify_cli.sh" manuscript/index.qmd --strict

--strict forbids --offline and exits non-zero on any UNVERIFIED row. Read references/manual_checkpoint_guide.md for when to run it and what to do per status.

Lookups run PubMed (PMID) → CrossRef (DOI; doi.org's handle registry when CrossRef answers 404) → OpenAlex, with a PubMed title search last. Every OK row rests on DOI, PMID, CrossRef, or PubMed title evidence; a failed lookup is recorded as UNVERIFIED, never silently passed. A title search, in either index, counts only when a returned title matches the cited one (the same token-similarity guard), so a made-up title cannot earn OK from a search that merely returned something.

Read the full file on GitHub · 207 lines

Files

What ships with it

32 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 24d ago Changed · +8 lines 282664d1cfed
  2. 26d ago Changed · -57 lines · +18 tokens per session 9e1ace3bc468
  3. 27d ago Changed 1978537acdde
  4. 1mo ago Changed · +23 lines 09d8f8899feb
  5. 1mo ago First seen · 233 lines · 42 tokens per session scan A 95d6608cf159

Subscribe to this mod's changes

verify-refs is a skill published in the GitHub repository Aperivue/medsci-skills (352 stars, last pushed today), licensed MIT. It adds 60 tokens to every session and 3,125 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

clinical-trials-search

Search ClinicalTrials.gov with natural language queries. Find clinical trials, enrollment, and outcomes using Valyu semantic search.

beita6969/ScienceClaw · 28 tokens

shidi

A Chinese-language research assistant role that turns a user’s ideas into literature reviews, experiment plans, figures and organised data.

IcyCreamDAS/shidi-skill · 126 tokens

clinical-research

Use when designing a prospective clinical study before submission — selecting and classifying endpoints (primary / key-secondary / exploratory, with surrogate-endpoint flagging), estimating sample size and power for two-arm designs (means / proportions / survival), or scoring a study plan for feasibility and a GO /…

bestagentkits/agency-skills · 152 tokens

sr-search-record

An automated literature-review search and screening workflow using OpenAlex, an open database and API for scholarly research, and Zotero, a reference manager.

qiaomiaojoe/ai-academic-workflow · 354 tokens

critical-paper-reading

A paper-reading workflow for critically examining one research paper from a PDF or Zotero item. Zotero is a tool for organising research papers and references.

qiaomiaojoe/ai-academic-workflow · 0 tokens

journal-requirements-check

A tool that extracts a journal's actual submission requirements and turns them into a traceable requirements matrix. A requirements matrix records each rule, its scope, whether it is mandatory or suggested, and any gap.

qiaomiaojoe/ai-academic-workflow · 49 tokens