doi-content-negotiation
Installation
SKILL.md
DOI Content Negotiation
Overview
Any DOI can return structured metadata in multiple formats through HTTP content negotiation — simply set the Accept header when requesting https://doi.org/{doi}. This is the most universal way to get citation metadata, BibTeX entries, JSON-LD, and RDF from any publisher without needing a specific API. Works for all 300M+ registered DOIs. Free, no authentication.
Usage
Basic Content Negotiation
# Get JSON citation metadata (Citeproc JSON)
curl -LH "Accept: application/vnd.citationstyles.csl+json" \
"https://doi.org/10.1038/nature14539"
# Get BibTeX
curl -LH "Accept: application/x-bibtex" \
"https://doi.org/10.1038/nature14539"