DOI to BibTeX
Fetch BibTeX
./scripts/doi2bib.sh <DOI>
Paths are relative to this skill's directory.
Accepts bare DOIs (10.1038/nature12373) or full URLs.
Workflow
- Fetch the BibTeX entry
- Find .bib file (check current dir, then parents; common names:
references.bib,main.bib) - Show the entry and ask user: add to found file, specify different file, or just display
- If adding: check for duplicate DOI first, then append