Comprehensive citation management for academic research. Search Google Scholar and PubMed for papers, extract accurate metadata, validate citations, and gene…
npx clawhub@latest install citation-managementCitation Management is a comprehensive skill for handling academic references throughout the research and writing process. It enables you to search Google Scholar and PubMed for papers, extract accurate metadata from DOIs, PMIDs, and arXiv IDs, validate existing citations, and generate properly formatted BibTeX entries. Install this skill to eliminate manual citation entry errors, automate bibliography construction, and ensure publication-ready references in scientific manuscripts.
npx clawhub@latest install citation-managementClick the Install button at the top of this page for one-click setup
Search Google Scholar and PubMed programmatically using search_google_scholar.py and search_pubmed.py. Supports advanced operators, MeSH terms, date range filters, publication type filters, sorting by citation count, and export to JSON or BibTeX.
Convert any combination of DOIs, PMIDs, arXiv IDs, or URLs to complete citation metadata using extract_metadata.py. Sources include CrossRef (DOIs), PubMed E-utilities (biomedical), arXiv API (preprints), and DataCite (datasets and software) — all free, no API key required for most.
Use doi_to_bibtex.py for fast single or batch DOI conversion. Accepts a list of DOIs from a file (one per line) and outputs a ready-to-use .bib file, with optional clipboard support for individual entries.
validate_citations.py checks DOI resolution via doi.org and CrossRef, verifies required fields per BibTeX entry type, detects duplicates, and validates syntax. An --auto-fix flag corrects common issues automatically and outputs a structured JSON validation report.
format_bibtex.py standardizes field order, indentation, author name format, and title capitalization; sorts entries by key, year, or author; and removes duplicate entries. Produces consistently formatted .bib files ready for LaTeX compilation.
The five-phase workflow — search, metadata extraction, BibTeX formatting, validation, and writing integration — is fully scriptable. Each phase has dedicated tooling and can be combined into a single pipeline from raw search queries to a validated final_references.bib.
Search Google Scholar and PubMed for topic-relevant papers, extract metadata from results, append specific papers by DOI, then run deduplication, formatting, and validation in sequence to produce a submission-ready .bib file for a LaTeX document.
Given a plain-text file of DOIs collected during reading, run doi_to_bibtex.py --input dois.txt --output references.bib to generate a complete BibTeX file in seconds, bypassing all manual entry.
Pass a messy, multi-source .bib file through format_bibtex.py for standardization and deduplication, then through validate_citations.py with --auto-fix to resolve broken DOIs, missing required fields, and syntax errors before final submission.
Use search_google_scholar.py with --sort-by citations to surface seminal and highly cited papers on a topic, then pipe the results through extract_metadata.py to immediately generate a BibTeX file of the most influential references.
Python Packages (required):
requests — HTTP requests for metadata APIsbibtexparser — BibTeX parsing and formattingbiopython — PubMed E-utilities accessPython Packages (optional):
scholarly — Google Scholar API wrapperselenium — Alternative for more robust Google Scholar scrapingcrossref-commons — Enhanced CrossRef API accesspylatexenc — LaTeX special character handlingExternal APIs used (all free, no key required by default):
api.crossref.org) — DOI metadatancbi.nlm.nih.gov) — Biomedical metadata; API key recommended for high-volume usearxiv.org) — Preprint metadataapi.datacite.org) — Dataset and software DOIsnpx clawhub@latest install citation-managementLog in to write a review
No reviews yet. Be the first to share your experience!