- Home
- Skills
- Research & Analysis
- Academic Citation, Retraction & Quote Auditor
Works with the AI Agents you already use
Academic Citation, Retraction & Quote Auditor
by Wasabi hu
Zero-API-key Python verification suite to audit DOIs, PMIDs, arXiv IDs, retractions, quotes, BibTeX/LaTeX markers, and SHA-256 corpus spans.
$7.99
Academic Citation, Retraction & Quote Auditor
Example session with this skill installed
Audit the citations in synthetic_review_draft.md before I submit: check the reference structure, verify every DOI/PMID/arXiv ID against my offline registry fixture, and verify the corpus:// span against its manifest.
- Read your context and instructions
- Compiled the academic citation retraction
Completed all three stages on synthetic_review_draft.md (a fictional review draft) in offline mode with a local test registry fixture (--offline --fixture; format in references/examples.md), so no network calls were made. All identifiers below are fictional test data (10.5555 is a test DOI prefix).
Stage 1 — Structure (audit_citation_structure.py)
9 items parsed, 3 errors:
| Line | Code | Finding |
|---|---|---|
| 9 | dangling_marker | Dangling marker [5] has no reference entry. |
| 15 | uncited_entry | Reference entry [3] is never cited in body text. |
| 16 | uncited_entry | Reference entry [4] is never cited in body text. |
Stage 2 — Registries (verify_scholarly_registries.py)
7 identifiers checked, 3 errors, 2 warnings:
| Line | Identifier | Code | Finding |
|---|---|---|---|
| 9 | doi:10.5555/fabricated-99999 | identifier_not_found | Identifier does not exist |
| 15 | pmid:99001122 | retracted_paper | Paper has been retracted |
| 16 | doi:10.5555/meridian-swapped-2019 | title_mismatch | Registry title: "High-altitude metallurgy fatigue curves under cyclic cold stress" |
| 16 | doi:10.5555/meridian-swapped-2019 | year_mismatch (warning) | Document 2023, registry 2019 |
| 16 | doi:10.5555/meridian-swapped-2019 | author_mismatch (warning) | Author surname mismatch |
The remaining citations, including a Chinese-language sentence citing the English DOI doi:10.5555/meridian-clean-2024, produced no findings.
Stage 3 — Corpus span (verify_corpus_bundle.py check-corpus)
1 span checked,
0 errors: corpus://demo_pack/notes.txt#c=0-64 verified against MANIFEST.tsv (SHA-256 b32972b4…), excerpt "Meridian Health trial participants showed a 22 percent reduction".
Commands executed
python3 scripts/audit_citation_structure.py synthetic_review_draft.md --format json > stage1.json
python3 scripts/verify_scholarly_registries.py synthetic_review_draft.md --input-json stage1.json --fixture registry_fixture.json --offline --format json
python3 scripts/verify_corpus_bundle.py check-corpus synthetic_review_draft.md --corpus-root synthetic_corpus
Next steps
- Remove the fabricated DOI and replace the retracted PMID 99001122 with a current source.
- Add a reference entry for
[5]or delete the marker; cite or drop entries[3]and[4]. - Correct the title, year, and authors of entry
[4], then runverify_corpus_bundle.py seal-bundleto seal the audited draft.
Without --offline, Stage 2 queries five read-only scholarly APIs (doi.org, Crossref, PubMed, OpenAlex, arXiv) instead of a fixture.
Connects securely to your tools. The creator never sees your data.
About this skill
Research drafts and clinical summaries generated by AI often contain hallucinated DOIs, mismatched titles, or retracted citations. This skill provides a three-stage Python verification suite to audit identifiers, quotes, and LaTeX markers without requiring external packages or API keys.
What it does
- Identifier validation checks DOIs, PMIDs, and arXiv IDs against hardcoded scholarly registries for existence and retractions.
- Structural auditing detects dangling markers, duplicate labels, and uncited entries in Markdown, LaTeX, and BibTeX files.
- Quote grounding performs character-by-character verification of verbatim snippets in English or Chinese against scholarly abstracts.
- Corpus integrity validates local
corpus://spans against SHA-256 hashes in aMANIFEST.tsvfile. - Audit bundling generates tamper-evident SHA-256 JSON bundles to prove citation validity and document state.
How it works
- Audit structure using
scripts/audit_citation_structure.pyto identify structural mismatches and map reference locations. - Verify registries via
scripts/verify_scholarly_registries.pyto check identifiers against allowed HTTPS endpoints or local fixtures. - Check corpus spans with
scripts/verify_corpus_bundle.pyto ensure local references match immutable data source checksums. - Seal the bundle to create a canonical SHA-256 report that detects any post-audit document tampering.
Frameworks & tools
This skill uses pure Python 3.11+ standard library modules. It integrates with LaTeX, BibTeX, and scholarly registries including Crossref, PubMed, OpenAlex, and arXiv. It emits data in SARIF 2.1.0 and JSON formats.
Why this beats prompting it yourself
LLMs frequently hallucinate credible-looking citations or fail to detect when a real paper has been retracted. This skill uses deterministic logic and official registry APIs to prove citation accuracy, which an LLM cannot do reliably through text generation alone.
Use cases
- Verify AI-written medical or scientific literature reviews for factual grounding before submission.
- Clean up complex LaTeX manuscripts by finding unused or missing bibliography entries.
- Ensure compliance in technical memos by locking quotes to specific byte spans in a local research corpus.
- Automate citation gatekeeping in CI/CD pipelines using SARIF-formatted audit reports.
Known limitations
Does not support OCR for image-based PDFs. Verbatim quote matching only; semantic paraphrases without quotation marks are not checked. Remote lookups are limited to five specific scholarly APIs.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 days ago
- Accounts
Doi
Crossref
Openalex
Nih
Arxiv
- Software
Python
Permissions
Allowed Hosts
Read-only citation auditor. Stage 1 and Stage 3 run 100% offline. Stage 2 queries only 5 hardcoded read-only HTTPS academic APIs (doi.org, api.crossref.org, eutils.ncbi.nlm.nih.gov, api.openalex.org, export.arxiv.org) with redirect host validation, zero API keys, and --offline/--fixture support.
What's inside
Frequently Asked Questions
New in Research & Analysis
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.