Crossref metadata search
Skill ma-compbio-lab/SkillFoundry/skills/scientific-knowledge/crossref-metadata-search
Use this skill to search Crossref metadata when you need DOI-oriented citation records from the official REST API. Do not use it when you need full text or publisher-specific access controls.From its SKILL.md
npx -y skills add ma-compbio-lab/SkillFoundry --skill crossref-metadata-searchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.9 KB, 389 tokens by cl100k_base, as published. Nobody here has run it
Purpose
Search Crossref works metadata and save a structured JSON result set for citation discovery and DOI lookup.
When to use
- You need DOI-rich bibliographic metadata.
- You want a publisher-agnostic metadata pass to complement OpenAlex or PubMed.
When not to use
- You need article full text.
- You need biomedical indexing fields unique to PubMed or Europe PMC.
Inputs
- Title or topic query
- Optional
--rowsand--out
Outputs
- Crossref
work-listJSON payload
Requirements
- Python 3.13+
- Network access to
api.crossref.org
Procedure
- Run
python3 skills/scientific-knowledge/crossref-metadata-search/scripts/search_crossref.py --query-title "single-cell RNA-seq" --rows 3 --out skills/scientific-knowledge/crossref-metadata-search/assets/crossref_single_cell.json. - Inspect
message.total-resultsandmessage.items. - Use returned DOIs as anchors for follow-up literature or provenance work.
Validation
- Command exits successfully.
- Output JSON contains
message-typeequal towork-list. - At least one item is returned for a common topic.
Failure modes and fixes
- Empty results: simplify the title query.
- Rate or service issues: retry with smaller
--rowsand a descriptive user agent.
Safety and limits
- Metadata only; access to full content depends on publishers.
- Respect Crossref polite-use expectations.
Examples
python3 .../search_crossref.py --query-title "spatial transcriptomics" --rows 2
Provenance
- Crossref REST API docs: https://www.crossref.org/documentation/retrieve-metadata/rest-api/
Related skills
openalex-literature-searchncbi-pubmed-search
What ships with it: 7 files
23.3 KB alongside SKILL.md, 1 of them executable
assets/
- crossref_single_cell.json20.5 KB
- README.md56 B
examples/
- README.md260 B
scripts/
- search_crossref.pyruns1.5 KB
tests/
- README.md158 B
- metadata.yaml833 B
- refs.md116 B