arxiv

Search, download, and summarize academic papers from the arXiv API.

75|7|Updated May 2, 2026
One-click install
npx skills add https://github.com/zjunlp/Mechanist --skill arxiv-zjunlp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arxiv
Source: https://github.com/zjunlp/Mechanist/tree/main/skills/arxiv
Command: npx skills add https://github.com/zjunlp/Mechanist --skill arxiv-zjunlp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve? Finding and saving academic papers from arXiv manually requires browsing the website, copying metadata, and downloading PDFs one by one. This Skill automates the entire flow: searching the arXiv API, displaying structured results, downloading PDFs to a local paper library, and generating summaries with key contributions. ## Core Features & Use Cases - arXiv Search: Query the arXiv API by topic or paper ID (both new-style 2301.07041 and old-style cs/0601001 formats) and get structured results with titles, authors, abstracts, and categories. - PDF Download with Validation: Download paper PDFs to a configurable local directory, with file-size verification, rate-limit handling, and duplicate-skip logic. - Paper Summarization: Generate structured summaries including full abstracts and extracted key contributions for each paper. - Use Case: A researcher starting a literature review on attention mechanisms runs a single command to find the top 10 relevant papers, download their PDFs into a papers/ folder, and receive citation-ready summaries. ## Quick Start Ask the assistant to search arXiv for papers on a topic like "attention mechanism" and download the top results to your local papers directory.

Frequently Asked Questions about arxiv

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search arXiv papers from the command line in Python?

Use the arXiv API by sending an HTTP GET request to export.arxiv.org/api/query with a search_query parameter, then parse the returned Atom XML feed. The bundled arxiv_fetch.py script wraps this into a simple search command that outputs results as JSON.

How to download an arXiv paper PDF by its ID?

Construct the PDF URL as https://arxiv.org/pdf/ARXIV_ID.pdf and download it with urllib.request, setting a User-Agent header. Verify the downloaded file is larger than 10 KB to confirm it is a real PDF rather than an error page.

Does the arXiv API support old-style paper IDs like cs/0601001?

Yes, the arXiv API accepts both new-style IDs (2301.07041) and legacy category-based IDs (cs/0601001) via the id_list parameter. The skill normalizes both formats, stripping version suffixes and URL prefixes before querying.

Why does arXiv downloading fail with HTTP 429 errors?

HTTP 429 means you hit the arXiv rate limit from sending requests too quickly. Wait at least 1 second between consecutive downloads and retry after 5 seconds when a 429 response is received.

What are the limitations of the arXiv API for literature search?

The arXiv API only covers papers hosted on arXiv, so paywalled journal articles and non-arXiv preprints are excluded. Results are limited to metadata and abstracts; full-text search across paper bodies is not supported.