| name | doi-citation |
|---|---|
| description | Converts DOI links into BibTeX citations via DOI.org content negotiation. Useful as a compact demonstrator for scientific AI skills and literature workflow automation. |
Use this skill when the user gives a DOI or DOI URL and wants a BibTeX citation.
- Extract the DOI from the user input.
- Request BibTeX from DOI.org using content negotiation:
Accept: application/x-bibtexathttps://doi.org/{doi} - Return the BibTeX exactly as received, unless the user asks for cleanup.
- If DOI.org does not return BibTeX, explain that no citation could be resolved.
import urllib.request
doi = "10.1108/02640470610689151"
req = urllib.request.Request(
"https://doi.org/" + doi,
headers={"Accept": "application/x-bibtex"}
)
with urllib.request.urlopen(req) as r:
print(r.read().decode("utf-8"))For a normal request, return:
BibTeX:
...
Optionally add a short note if the returned entry is incomplete, unusual, or not an article, e.g. dataset/software/report.
- Do not invent missing bibliographic fields.
- Do not claim independent verification of the metadata.
- State that the citation was resolved via DOI.org.
- Preserve the DOI returned by the resolver.