Arxiv search

From Hmbown/rlmagents · View interactive version

Arxiv search is an AI agent skill from the GitHub repository Hmbown/rlmagents. Search arXiv preprint repository for papers in physics, mathematics, computer science, quantitative biology, and related fields

How to use this skill

Skill file

arXiv Search Skill

This skill provides access to arXiv, a free distribution service and open-access archive for scholarly articles in physics, mathematics, computer science, quantitative biology, quantitative finance, statistics, electrical engineering, systems science, and economics.

When to Use This Skill

Use this skill when you need to:

How to Use

The skill provides a Python script that searches arXiv and returns formatted results.

Basic Usage

Note: Always use the absolute path from your skills directory (shown in the system prompt above).

If running rlmagents from a virtual environment:

.venv/bin/python [YOUR_SKILLS_DIR]/arxiv-search/arxiv_search.py "your search query" [--max-papers N]

Or for system Python:

python3 [YOUR_SKILLS_DIR]/arxiv-search/arxiv_search.py "your search query" [--max-papers N]

Replace [YOUR_SKILLS_DIR] with the absolute skills directory path from your system prompt (e.g., ~/.rlmagents/agent/skills or the full absolute path).

Arguments:

Examples

Search for machine learning papers:

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

Search for computational biology papers:

.venv/bin/python ~/.rlmagents/agent/skills/arxiv-search/arxiv_search.py "protein folding prediction"

Search for bioinformatics methods:

.venv/bin/python ~/.rlmagents/agent/skills/arxiv-search/arxiv_search.py "genome assembly algorithms"

Output Format

The script returns formatted results with:

Each paper is separated by blank lines for readability.

Features

Dependencies

This skill requires the arxiv Python package. The script will detect if it's missing and show an error.

If you see "Error: arxiv package not installed":

If running rlmagents from a virtual environment (recommended), use the venv's Python:

.venv/bin/python -m pip install arxiv

Or for system-wide install:

python3 -m pip install arxiv

The package is not included by default since it's skill-specific. Install it on-demand when first using this skill.

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.