Search, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch arxiv", "arxiv search", "get paper pdf", or wants to find and save papers from arXiv to the local paper library.
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
A direct command skips the review prompt. Inspect the source before running it.
Search, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch arxiv", "arxiv search", "get paper pdf", or wants to find and save papers from arXiv to the local paper library.
arXiv Paper Search & Download
Search topic or arXiv paper ID: $ARGUMENTS
Constants
PAPER_DIR - Local directory to save downloaded PDFs. Default: papers/ in the current project directory.
MAX_RESULTS = 10 - Default number of search results.
FETCH_SCRIPT - tools/arxiv_fetch.py relative to the ARIS install, or the same path relative to the current project. Fall back to inline Python if not found.
Overrides (append to arguments):
/arxiv "attention mechanism" - max: 20 - return up to 20 results
/arxiv "2301.07041" - download - download a specific paper by ID
/arxiv "query" - dir: literature/ - save PDFs to a custom directory
/arxiv "query" - download: all - download all result PDFs
Workflow
Step 1: Parse Arguments
Parse $ARGUMENTS for directives:
Query or ID: main search term or a bare arXiv ID such as 2301.07041 or cs/0601001
Downloaded: papers/2301.07041.pdf (842 KB) (for each download)
Any warnings (rate limit hit, file too small, already exists)
Suggest follow-up skills:
/research-lit "topic" - multi-source review: Zotero + Obsidian + local PDFs + web
/novelty-check "idea" - verify your idea is novel against these papers
Key Rules
Always show the arXiv ID prominently - users need it for citations and reproducibility
Verify downloaded PDFs: file must be > 10 KB; warn and delete if smaller
Rate limit: wait 1 second between consecutive PDF downloads; retry once after 5 seconds on HTTP 429
Never overwrite an existing PDF at the same path - skip it and report "already exists"
Handle both arXiv ID formats: new (2301.07041) and old (cs/0601001)
PAPER_DIR is created automatically if it does not exist
If the arXiv API is unreachable, report the error clearly and suggest using /research-lit with - sources: web as a fallback