arXiv Metadata
Fetch metadata
./scripts/arxiv_metadata.py <arXiv-ID-or-URL>
Paths are relative to this skill's directory.
Accepts bare IDs (2301.10140), old-style IDs (hep-ph/9901234), or full URLs (https://arxiv.org/abs/2301.10140).
Output
Returns JSON:
{
"arxiv_id": "2301.10140",
"title": "Paper title",
"authors": ["Author One", "Author Two"],
"published": "2023-01-24",
"primary_category": "cs.CL",
"categories": ["cs.CL", "cs.AI"],
"doi": "10.1234/..." or null,
"url": "https://arxiv.org/abs/2301.10140"
}
urlprefers the DOI link (https://doi.org/...) when a published DOI exists, otherwise uses the arXiv abstract page.publishedis the original arXiv submission date (YYYY-MM-DD).