
arXiv Search and Retrieval
FreeEfficiently find and download scientific papers from arXiv.
Free · Opens the source repo
What arXiv Search and Retrieval does
The arXiv Search and Retrieval skill provides a streamlined way to search for and access scientific papers, preprints, and publications hosted on arXiv. With this skill, users can extract essential metadata, including abstracts and publication details, and download full-text documents in PDF or HTML format. This is particularly useful for researchers, students, and professionals who need quick access to the latest literature in various fields of science and technology.
To use this skill, you will need to ensure that the prerequisite uv skill is installed and accessible in your environment. The skill includes utility scripts that handle searching and downloading papers, ensuring compliance with arXiv's usage policies, such as rate limiting to one request every three seconds. The search functionality allows users to specify queries using advanced syntax, enabling precise retrieval of relevant papers based on author names, titles, and other criteria.
Once you have identified the papers of interest, you can download them directly to your local workspace. The skill supports downloading both the full text and the LaTeX source files of papers, making it a versatile tool for those who wish to review or utilize the research in their own work. Additionally, the skill provides clear guidelines on how to manage downloaded files to avoid clutter and ensure security, particularly when handling source files.
Overall, this skill is designed for anyone engaged in academic research or literature review, providing a robust solution for accessing and managing scientific literature efficiently.
When to use it
Use this skill when you need to search for specific research papers or retrieve literature from arXiv quickly.
When not to use it
This skill may not be suitable for accessing papers outside of arXiv or for users who require papers from other databases or publishers.
What you can build with it
Finding Recent Publications
Use the skill to search for the latest papers in your field by specifying a query that includes keywords or author names.
Downloading Full Texts
After identifying relevant papers, download their full texts in your preferred format for detailed reading.
Accessing LaTeX Source Files
Retrieve the source files of papers to review their LaTeX formatting or to adapt the content for your own research.
How to install arXiv Search and Retrieval
View source1. Install with the skills CLI
npx skills add google-deepmind/science-skills/literature_search_arxiv --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by google-deepmindarXiv Search and Retrieval
Prerequisites
uv: Read theuvskill and follow its Setup instructions to ensureuvis installed and on PATH.- User Notification: If .licenses/literature_search_arxiv_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://info.arxiv.org/help/api/index.html and to always check the license of the papers retrieved by the skill for any restrictions, then (2) create the file recording the notification text and timestamp.
Core Rules
- Terms of Use: You MUST respect arXiv's Terms of Use.
- Maximum 1 request every 3 seconds.
- The provided utility scripts handle rate limiting automatically. Always use these scripts rather than writing your own curl/python requests.
- If this skill is used, ensure this is mentioned in the output AND list the URLs of all papers that were used in producing the output.
Utility Scripts
1. Search and Extract Metadata
Search arXiv and return a clean JSON array of matching papers.
uv run scripts/search_arxiv.py --query "au:einstein AND ti:relativity" \
--max_results 5 2>/dev/null > /tmp/arxiv_search_results.json
Important: The tool outputs a large JSON result to stdout. Requesting 100+ results will produce a massive JSON that might exceed your context length. Limit
--max_results(e.g., 5-10) or paginate carefully using--start. Always redirect output to a file and parse it separately, otherwise terminal output will be truncated.
Returned Metadata: JSON results include id, title, summary, published,
authors, pdf_url, primary_category, doi, journal_ref, and comment.
Note: the doi field only contains DOI information in case the paper has an
external DOI and if only an arXiv-issued DOI exists, this is DOI is not
returned.
Options:
--query: Search string. See references/query_syntax.md for advanced syntax.--id_list: Comma-separated list of arXiv IDs to fetch directly (e.g.,1706.03762v5).--start: Pagination offset (default 0).--max_results: Number of results to return (default 10).--sort_by:relevance,lastUpdatedDate, orsubmittedDate. (Use--sort_by submittedDate --sort_order descendingfor the most recent papers).--sort_order:ascendingordescending.
2. Download Paper (PDF or HTML)
Download the full text of a paper to your local workspace for reading.
uv run scripts/download_paper.py --id 1706.03762 --format pdf --output attention.pdf
Options:
--id: The arXiv ID (e.g.,1706.03762or1706.03762v5).--format:pdforhtml. Note: HTML is only available for newer papers.--output: Filepath to save the downloaded document.
Important: when downloading papers, make sure you download them to a location where you do not overwrite other files and do not clutter existing directory structure.
3. Download Paper Source (tar.gz)
Download the LaTeX source files of a paper to your local workspace. Note that not all papers have source available.
uv run scripts/download_paper_source.py --id 2010.11645 --output source.tar.gz
Options:
--id: The arXiv ID (e.g.,2010.11645).--output: Filepath to save the downloaded tar.gz file.
Caution: Care should be exercised when untar'ing the downloaded file for security and to avoid cluttering your filesystem, as archives may contain many files or unexpected directory structures.
Safe Extraction Requirements: NEVER extract directly into your working directory! Always extract into a dedicated new directory:
bash mkdir paper_source && tar -xzf source.tar.gz -C paper_source
Reference
- Advanced Query Syntax: See references/query_syntax.md for prefixes (au, ti, abs), booleans, and date filtering.
Workflow
- Search for papers using
search_arxiv.py. Review the JSON summaries. - If full text is needed, use
download_paper.pyto fetch the PDF or HTML. - If downloading a PDF, verify the PDF is not empty or corrupted.
- Read the downloaded file using standard file reading tools.
Frequently asked questions about arXiv Search and Retrieval
Similar skills
Build Evidence Map
Create auditable maps for technical decisions and research.
Systematic Literature Review
Automate your systematic literature reviews with ease.
Nature Reference Verifier
Cross-verify academic references efficiently.
Nature Paper Card
Create evidence-grounded research cards for scientific papers.
Nature Literature Pipeline
Automate daily literature discovery and delivery.
Paperclip CLI
Efficiently search and read biomedical literature and regulatory documents.
