arxiv-search

$npx mdskill add langchain-ai/deepagents/arxiv-search

Searches arXiv for academic papers and retrieves abstracts based on a query.

  • Finds research papers in physics, math, CS, biology, and related fields.
  • Uses the arXiv API and Python's arxiv package for searching and filtering.
  • Filters results by relevance and limits the number of returned papers.
  • Returns titles and abstracts in a clear, sorted format for user review.
SKILL.md
.github/skills/arxiv-searchView on GitHub ↗
---
name: arxiv-search
description: 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.
---

# arXiv Search Skill

## Usage

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

```bash
.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

```bash
.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:

```bash
.venv/bin/python -m pip install arxiv
```
More from langchain-ai/deepagents