Methodologygeneric

arxiv-search

Searches arXiv for preprints and academic papers, retrieves abstracts, and filters by topic. Use when the user asks to find research papers, search arXiv, look up preprints, find academic articles in physics, math, CS, biology, statistics, or related fields.

langchain-ai/deepagents
View source

Install

npx skills add https://github.com/langchain-ai/deepagents --skill arxiv-search

Use with your agent

ClaudeCursorOpenAIGemini

Install the arxiv-search skill, then use it as build context. Run: npx skills add https://github.com/langchain-ai/deepagents --skill arxiv-search. Then read the installed skill.md and follow its guidance to build or refactor my project.

arXiv Search Skill

Usage

Run the bundled Python script using the absolute skills directory path from your system prompt:

.venv/bin/python [YOUR_SKILLS_DIR]/arxiv-search/arxiv_search.py "your search query" [--max-papers N]
  • query (required): Search query string
  • --max-papers (optional): Maximum results to retrieve (default: 10)

Example

.venv/bin/python ~/.deepagents/agent/skills/arxiv-search/arxiv_search.py "deep learning drug discovery" --max-papers 5

Returns title and abstract for each matching paper, sorted by relevance.

Dependencies

Requires the arxiv Python package. If missing, install with:

.venv/bin/python -m pip install arxiv