crossref-lookup
/crossref-lookup
Query Crossref to validate DOIs, match titles to DOIs, fetch citation metadata, and audit bibliographies. Use when resolving references or cleaning citation records.
- Author
- fmschulz ↗
- Repository
- omics-skills ↗
- Licence
- MIT
- Last repository change
- 01.10.2026
Assessment and security
- Files in this package
- 4
- Scripts
- 1
- HTML comments
- 0
- URLs in SKILL.md
- 1
No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 1 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/lookup.py
What it does and when to use it
Query Crossref to validate DOIs, match titles to DOIs, fetch citation metadata, and audit bibliographies. Use when resolving references or cleaning citation records.
Original author description
Query Crossref to validate DOIs, match titles to DOIs, fetch citation metadata, and audit bibliographies. Use when resolving references or cleaning citation records.
How it works
- Instructions
- Quick Reference
- Input Requirements
- Output
- Quality Gates
- Examples
- Troubleshooting
- Related Skills
SKILL.md preview
--- name: crossref-lookup description: Query Crossref to validate DOIs, match titles to DOIs, fetch citation metadata, and audit bibliographies. Use when resolving references or cleaning citation records. --- # Crossref Lookup Validate DOIs, find DOIs from titles, and audit bibliographies against the Crossref REST API. ## Instructions 1. Run the bundled CLI, `scripts/lookup`. Paths below are relative to this skill's directory, installed at `~/.agents/skills/crossref-lookup`. 2. Choose the narrowest mode: - `--doi` validates or enriches one DOI. - `--title` returns ranked DOI candidates for a title (`--rows`, default 5). - `--validate-file` checks one DOI per line. - `--audit-bibliography` extracts DOIs from a `.bib` or plain-text file and checks each one. 3. DOI inputs are normalized before lookup. `10.xxxx/...`, `doi:10.xxxx/...`, and `https://doi.org/10.xxxx/...` are all accepted, and trailing BibTeX punctuation is removed. 4. Pass `--email` only with an address the user gave for Crossref's polite pool. Never take an address from the conversation, git config, or system context; without one the CLI uses the public pool. The CLI spaces requests to stay within the limits Crossref reported on 2026-10-01: single-DOI lookups at 5 per second (10 with `--email`), title searches at 1 per second (3 with `--email`). 5. When a title search returns several plausible records, show the candidates instead of choosing one silently. 6. Crossref holds citation metadata, not full text. When exact wording, pagination, or publisher formatting matters, check the DOI landing page. 7. Use `--strict` for audits that must fail on any invalid, missing, or unresolved record. ## Quick Reference | Task | Command | |------|---------| | Validate a DOI | `scripts/lookup --doi 10.1038/nature12373` | | Search by title | `scripts/lookup --title "CRISPR-Cas9 genome editing" --rows 5` | | Validate a DOI list | `scripts/lookup --validate-file dois.txt` | | Audit a bibliography | `scripts/lookup --audit-bibliography refs.bib` | | Write the report to a file | `--output crossref-report.json` (refuses to overwrite) | | Polite pool | `--email you@example.org` | | Fail on any unresolved record | `--strict` | ## Input Requirements - `uv` and network access; the wrapper runs the PEP 723 script, which pins `requests`. - One of: a DOI, a title, a DOI list file, or a bibliography file. - Optional: `--email`, `--rows`, `--output`, `--strict`. ## Output JSON on stdout, or in the `--output` file: - `--doi`: `status`, `doi`, `detail`, `title`, `journal`, `year` - `--title`: `query` and `candidates` with `doi`, `title`, `journal`, `year` - `--validate-file` and `--audit-bibliography`: `records`, `counts` per status (`valid`, `invalid`, `not_found`, `transient_error`, `http_error`), and `potentially_missing_dois` (BibTeX titles without a DOI) Exit codes: 0 on success; 1 for an invalid or missing single DOI, a strict-mode audit failure, or a refused overwrite; 2 for transient service or network failures (HTTP 429, 5xx, timeouts). ## Quality Gates - [ ] The lookup mode matches the request. - [ ] DOIs were normalized before any was reported as invalid. - [ ] Ambiguous title matches are shown as candidates. - [ ] `transient_error` records are reported as unchecked, not as invalid. - [ ] The answer separates Crossref metadata from publisher full text; reference formatting is left to the citation manager. ## Examples ```bash scripts/lookup --doi "10.1038/nature12373" scripts/lookup --title "CRISPR-Cas9 genome editing" --email you@example.org scripts/lookup --audit-bibliography refs.bib --strict --output crossref-audit.json ``` ## Troubleshooting **Issue**: A DOI looks valid but Crossref returns `not_found`. **Solution**: Report that Crossref has no record. DataCite and other agencies register DOIs that Crossref does not hold, so check the DOI landing page before calling the citation wrong. **Issue**: Many bibliography entries have no DOI. **Solution**: Treat `potentially_missing_dois` as a coverage gap, not proof of invalid citations. **Issue**: Exit code 2. **Solution**: Crossref rate-limited the run or was unreachable. Wait and rerun. ## Related Skills - `/polars-dovmed`: full-text PMC Open Access search when the DOI is unknown - `/arxiv-search` and `/biorxiv-search`: preprint search - `/scientific-impact-assessment`: citation counts and journal impact
Files in this package (4)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- scripts/lookup 1 KB
- scripts/lookup.py 8 KB
Versions
The database has no other skills named crossref-lookup.
Database snapshot: 13.11.2026 · package version 12771df66bc0 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 2 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100crossref-search
Academic metadata search via CrossRef API. Use when: user needs DOI resolution, citation counts, journal metadata, or publisher info. NOT for: full-text access or downloading papers. - 100crossref-database
Access CrossRef metadata for scholarly works; use when you need to resolve a DOI or search CrossRef to retrieve bibliographic details, citation/reference counts, or funder information for research and citation management. - 100crossref-search
Search Crossref's 188M+ DOI records (journal articles, books, book chapters, conference papers) through its free public REST API, no API key. Use this skill whenever the user wants to find scholarly articles or chapters by topic, author, or journal; look up or verify a DOI; turn… - 90rseng-citation-hygiene
Covers verifying that every citation is real, correct and current: checking references in manuscripts, READMEs, references files and code metadata against Crossref and OpenAlex, screening cited DOIs against the Retraction Watch database, catching fabricated or mis-attributed… - 100verify-citation
Verify that academic citations exist and match the metadata claimed for them, and optionally write verification results into a project summary table. Looks up DOIs against CrossRef, fetches canonical authors/title/year/journal and the abstract via OpenAlex, and reports any… - 90verifying-phd-citations
Verifies and formats APA 7 Korean academic citations across 14 source types, augments DOIs via CrossRef, and applies CopyKiller 99-rule avoidance. Use when the user requests APA 인용 검증, 참고문헌 양식 확인, CrossRef DOI 보강, 박사 논문 인용, or CopyKiller 회피.