citation-management

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

Updated Sep 2, 2026
One-click install
npx skills add https://github.com/ricfulop/cba-agentic-engineering-bootstrap --skill citation-management-ricfulop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: citation-management
Source: https://github.com/ricfulop/cba-agentic-engineering-bootstrap/tree/main/skills/citation-management
Command: npx skills add https://github.com/ricfulop/cba-agentic-engineering-bootstrap --skill citation-management-ricfulop

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 manually is slow and error-prone: DOIs break, metadata gets mistyped, duplicates accumulate, and BibTeX syntax errors break LaTeX compilation. This Skill automates paper discovery, metadata extraction, formatting, and validation so references stay accurate from first search to final submission. ## 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. - Validation & Cleanup: Verify DOIs resolve, detect duplicates, check required fields, auto-fix formatting issues, and generate validation reports. - Use Case: While writing a manuscript, you collect 50 papers from PubMed searches and known DOIs, merge them into one BibTeX file, deduplicate, sort by year, and validate every DOI before submission. ## Quick Start Convert the DOI 10.1038/s41586-021-03819-2 into a BibTeX entry and validate my references.bib file for errors and duplicates.

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 content negotiation API to return a formatted BibTeX entry. You can also pass a file of DOIs with --input for batch conversion.

How to extract citation metadata from PubMed or arXiv?

Use extract_metadata.py with --pmid for PubMed IDs or --arxiv for arXiv identifiers. It queries the PubMed E-utilities or arXiv API and outputs complete BibTeX entries including authors, title, journal, and year.

Can I search Google Scholar and PubMed from the command line?

Yes, search_google_scholar.py and search_pubmed.py support keyword queries with filters for year ranges, publication types, MeSH terms, and result limits. Results export to JSON or directly to BibTeX format.

Does the validation script check if DOIs actually resolve?

Yes, validate_citations.py verifies each DOI resolves via doi.org and compares the CrossRef metadata against your BibTeX entry. It also checks required fields, detects duplicates, and can auto-fix common formatting issues.

Why does my BibTeX file have duplicate entries?

Duplicates typically come from merging search results or citing both preprint and published versions of a paper. Run format_bibtex.py with --deduplicate to remove entries sharing the same DOI or highly similar titles.