citation-management

Search academic databases, extract metadata, and generate validated BibTeX citations.

Updated Jun 18, 2026
One-click install
npx skills add https://github.com/svpfahad/RES200 --skill citation-management-svpfahad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: citation-management
Source: https://github.com/svpfahad/RES200/tree/main/claude-scientific-writer-main/.claude/skills/citation-management
Command: npx skills add https://github.com/svpfahad/RES200 --skill citation-management-svpfahad

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve? Building accurate bibliographies for scientific manuscripts is tedious and error-prone: metadata from different sources is inconsistent, DOIs break, duplicates creep in, and BibTeX formatting rules are easy to get wrong. This Skill automates the entire citation lifecycle from paper discovery to validated BibTeX output. ## Core Features & Use Cases - Academic Search: Query Google Scholar and PubMed with advanced filters (MeSH terms, date ranges, publication types) and export results to JSON or BibTeX. - Metadata Extraction: Convert DOIs, PMIDs, arXiv IDs, or URLs into complete BibTeX entries using CrossRef, PubMed E-utilities, and arXiv APIs, with mandatory web-search enrichment for missing fields like volume and pages. - Validation & Formatting: Verify DOIs resolve, detect duplicates, check required fields, auto-fix common errors, and standardize formatting with sorting and deduplication. - Use Case: While writing a paper on CRISPR therapeutics, search PubMed for relevant clinical trials, extract metadata for 50 papers, deduplicate and format the bibliography, then validate every DOI before submission. ## Quick Start Use the citation-management skill to convert the DOI 10.1038/s41586-021-03819-2 into a validated BibTeX entry.

Frequently Asked Questions about citation-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a DOI to BibTeX format?

Run the doi_to_bibtex.py script with the DOI as an argument, and it queries the CrossRef API to return a formatted BibTeX entry. You can also pass a file of DOIs with --input for batch conversion or use --format json for structured output.

How to search PubMed for papers programmatically?

Use the search_pubmed.py script, which wraps the NCBI E-utilities API and supports MeSH terms, field tags, date ranges, and publication type filters. Results can be exported directly to JSON or BibTeX for bibliography building.

What metadata sources does the extraction tool support?

The extract_metadata.py script pulls from CrossRef for DOIs, PubMed E-utilities for PMIDs, and the arXiv API for preprint IDs. It automatically detects the identifier type, including parsing DOIs and PMIDs out of article URLs.

Can it detect duplicate citations in a BibTeX file?

Yes, the validate_citations.py script detects duplicates by matching DOIs and flagging similar titles, while format_bibtex.py --deduplicate removes them automatically. It also catches preprint entries that should be updated to published versions.

Why is my BibTeX entry missing volume or page numbers?

API responses from CrossRef or PubMed sometimes return incomplete records, especially for online-first publications. The skill mandates a web-search enrichment phase using parallel_web.py to fill missing volume, pages, issue, or DOI fields before finalizing entries.

Does citation validation check that DOIs actually resolve?

Yes, validate_citations.py verifies each DOI resolves via doi.org and cross-checks the returned CrossRef metadata against your BibTeX entry. Broken DOIs, metadata mismatches, and missing required fields are reported with severity levels in a JSON report.