crossref-lookup
/crossref-lookup
Odpytuje Crossref, aby walidować DOI, dopasowywać tytuły do DOI, pobierać metadane cytowań i audytować bibliografie.
- Autor
- fmschulz ↗
- Repozytorium
- omics-skills ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 01.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 4
- Skrypty
- 1
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 01.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 1 skrypt w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/lookup.py
Co robi i kiedy
Odpytuje Crossref, aby walidować DOI, dopasowywać tytuły do DOI, pobierać metadane cytowań i audytować bibliografie.
Oryginalny opis (EN)
Query Crossref to validate DOIs, match titles to DOIs, fetch citation metadata, and audit bibliographies. Use when resolving references or cleaning citation records.
Jak działa
- Instructions
- Quick Reference
- Input Requirements
- Output
- Quality Gates
- Examples
- Troubleshooting
- Related Skills
Podgląd SKILL.md
--- 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
Pliki w paczce (4)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- scripts/lookup 1 KB
- scripts/lookup.py 8 KB
Wersje
W bazie nie ma innych skilli o nazwie crossref-lookup.
Migawka bazy z 13.11.2026 · wersja paczki 12771df66bc0 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 2 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100crossref-search
Wyszukuje metadane publikacji naukowych przez API CrossRef: rozwiązuje DOI, podaje liczby cytowań, metadane czasopism i informacje o wydawcach. - 100crossref-database
Udostępnia metadane CrossRef o pracach naukowych: rozwiązywanie DOI, wyszukiwanie, szczegóły bibliograficzne, liczby cytowań i referencji oraz informacje o fundatorach. - 100crossref-search
Wyszukuje artykuły i rozdziały w bazie Crossref z ponad 188 mln rekordów DOI, sprawdza DOI i formatuje cytowania, bez klucza API. - 90rseng-citation-hygiene
Weryfikuje, czy cytowania są prawdziwe i aktualne: sprawdza referencje w Crossref i OpenAlex, DOI w bazie Retraction Watch i wyłapuje zmyślone odwołania. - 100verify-citation
Sprawdza, czy cytowania akademickie istnieją i zgadzają się z metadanymi, porównując DOI z CrossRef i OpenAlex. - 90verifying-phd-citations
Sprawdza i formatuje cytowania APA 7 w pracach akademickich oraz uzupełnia DOI z CrossRef, wskazując braki.