citation-management

Search academic databases, extract citation metadata, and generate validated BibTeX entries.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/hanasho744/codex --skill citation-management-hanasho744
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: citation-management
Source: https://github.com/hanasho744/codex/tree/main/.agents/skills/scientific-toolkit-skill/references/scientific-skills/citation-management
Command: npx skills add https://github.com/hanasho744/codex --skill citation-management-hanasho744

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 error-prone: manual BibTeX entry leads to broken DOIs, missing fields, duplicates, and formatting inconsistencies that can delay or undermine submissions. ## 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 & Formatting: Verify DOIs resolve, detect duplicates, check required fields, auto-fix common errors, and standardize BibTeX formatting. - Use Case: While writing a manuscript on CRISPR therapeutics, search PubMed for recent clinical trials, convert the resulting PMIDs to BibTeX, deduplicate and sort the bibliography, then run validation to catch broken DOIs before submission. ## Quick Start Convert the DOI 10.1038/s41586-021-03819-2 into a validated BibTeX entry and check it for errors.

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. It also supports batch conversion from a file containing one DOI per line.

How to search PubMed with MeSH terms from the command line?▼

Use search_pubmed.py with a query containing MeSH field tags, such as "Diabetes Mellitus, Type 2"[MeSH], combined with date ranges and publication type filters. Results export to JSON or directly to BibTeX via the NCBI E-utilities API.

What metadata sources does DOI extraction use?▼

DOI metadata comes primarily from the CrossRef API, which provides publisher-supplied fields like authors, title, journal, volume, and pages. PMIDs use PubMed E-utilities, and arXiv IDs use the arXiv API, with DataCite available for datasets.

Does citation validation check if DOIs actually resolve?▼

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

Why does my BibTeX have duplicate entries after merging files?▼

Merging bibliographies from multiple searches often includes the same paper under different citation keys. Run format_bibtex.py with the --deduplicate flag to detect entries sharing the same DOI or similar titles and remove the extras.

Can I extract metadata from arXiv preprints?▼

Yes, extract_metadata.py accepts arXiv IDs and queries the arXiv API for title, authors, and abstract. If the preprint has been published with a DOI, it generates an @article entry; otherwise it creates an @misc entry marked as a preprint.