arxiv

arxiv is a skill for Claude Code, Codex from mateaix/mateclaw. It costs 18 tokens per session (2,924 once invoked), scanned C, a copy of arxiv, Apache-2.0.

A way to search and retrieve research papers from arXiv, an open repository for academic papers. Searches can use keywords, authors, categories, or paper IDs, and results can include abstracts or full PDFs.

In plain words
What is it for?
Use it to search for papers, retrieve a specific paper by ID, and read its abstract or PDF.
Why use it?
It lets a coding agent find relevant research without manually browsing arXiv or needing an API key.

Skill for Claude CodeCodex

About the project

MateClaw is a pluggable agent runtime that coordinates AI agents, tools, conversations, memory, and workflows. It is designed for personal and multi-user AI assistants, including agents used through chat platforms. Catalogue add-ons provide skills for extending its agent workflows.

mateaix/mateclaw · 1,061 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mateaix/mateclaw/arxiv
Any agent
npx skills add mateaix/mateclaw --skill arxiv
Clone the repo
git clone --depth 1 https://github.com/mateaix/mateclaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for arxiv

README.md
[![agentmods](https://agentmods.dev/badge/skills/mateaix/mateclaw/arxiv.svg)](https://agentmods.dev/skills/mateaix/mateclaw/arxiv)
Your own site
<a href="https://agentmods.dev/skills/mateaix/mateclaw/arxiv"><img src="https://agentmods.dev/badge/skills/mateaix/mateclaw/arxiv.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,924 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00018 $0.02924
Opus 5 $0.00009 $0.01462
Sonnet 5 $0.00004 $0.00585
Haiku 4.5 $0.00002 $0.00292

Measured 5d ago against content hash ec16f9d0b745, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

arxiv scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/search_arxiv.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -s "https://export.arxiv.org/api/query?search_query=all:GRPO+reinforcement+learning&max_results=5&sortBy=submittedDate&sortOrder=descending" | python3 -c "

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Search and retrieve academic papers from arXiv via their free REST API. No API key, no dependencies — just curl.
Origin

This is a copy

94% identical to arxiv — 38 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

mateclaw-server/src/main/resources/skills/arxiv/SKILL.md · 283 lines

How it starts

The opening of the file, as written. The whole thing — 283 lines — stays where its author put it; the contents beside it link to each section on GitHub.

arXiv Research

Search and retrieve academic papers from arXiv via their free REST API. No API key, no dependencies — just curl.

Quick Reference

Action Command
Search papers curl "https://export.arxiv.org/api/query?search_query=all:QUERY&max_results=5"
Get specific paper curl "https://export.arxiv.org/api/query?id_list=2402.03300"
Read abstract (web) web_extract(urls=["https://arxiv.org/abs/2402.03300"])
Read full paper (PDF) web_extract(urls=["https://arxiv.org/pdf/2402.03300"])

Searching Papers

The API returns Atom XML. Parse with grep/sed or pipe through python3 for clean output.

Basic search

curl -s "https://export.arxiv.org/api/query?search_query=all:GRPO+reinforcement+learning&max_results=5"

Clean output (parse XML to readable format)

curl -s "https://export.arxiv.org/api/query?search_query=all:GRPO+reinforcement+learning&max_results=5&sortBy=submittedDate&sortOrder=descending" | python3 -c "
import sys, xml.etree.ElementTree as ET
ns = {'a': 'http://www.w3.org/2005/Atom'}
root = ET.parse(sys.stdin).getroot()
for i, entry in enumerate(root.findall('a:entry', ns)):
    title = entry.find('a:title', ns).text.strip().replace('\n', ' ')
    arxiv_id = entry.find('a:id', ns).text.strip().split('/abs/')[-1]
    published = entry.find('a:published', ns).text[:10]
    authors = ', '.join(a.find('a:name', ns).text for a in entry.findall('a:author', ns))
    summary = entry.find('a:summary', ns).text.strip()[:200]
    cats = ', '.join(c.get('term') for c in entry.findall('a:category', ns))
    print(f'{i+1}. [{arxiv_id}] {title}')
    print(f'   Authors: {authors}')
    print(f'   Published: {published} | Categories: {cats}')
    print(f'   Abstract: {summary}...')
    print(f'   PDF: https://arxiv.org/pdf/{arxiv_id}')
    print()
"

Search Query Syntax

Prefix Searches Example
all: All fields all:transformer+attention
ti: Title ti:large+language+models
au: Author au:vaswani
abs: Abstract abs:reinforcement+learning
cat: Category cat:cs.AI
co: Comment co:accepted+NeurIPS

Read the full file on GitHub · 283 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 283 lines · 18 tokens per session scan C ec16f9d0b745

Subscribe to this mod's changes

arxiv is a skill published in the GitHub repository mateaix/mateclaw (1,061 stars, last pushed 4d ago), licensed Apache-2.0. It adds 18 tokens to every session and 2,924 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). It is 94% identical to arxiv, differing in 38 lines, and is treated as a copy.

Related

Other skills, from other repositories

openalex

Use when the user asks about academic literature, research papers, scholarly works, authors, citations, institutions, journals, or any academic metadata. Trigger when users want to search for papers, find author profiles, track citations, discover related works, or explore academic topics. Also use when users mention…

Out-bloodspavin173/openalex-skill · 78 tokens

academic-research

Nested swiss-knife reference for academic literature work — find papers, fetch full-text PDFs, trace citations, write LaTeX manuscripts. First action for any "get me this paper" request: python3 /scripts/fetchpaper.py — walks arXiv → Unpaywall → Europe PMC → CORE → in-house publisher-page extraction…

Lingtai-AI/lingtai · 180 tokens

arxiv-mcp-server

Use when finding, comparing, reading, or monitoring arXiv papers, including requests for abstracts, citation graphs, original LaTeX, section-level technical details, or literature reviews.

blazickjp/arxiv-mcp-server · 43 tokens

scientific-writing

Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting…

LeonChaoX/qinyan-academic-skills · 87 tokens

venue-templates

Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing…

LeonChaoX/qinyan-academic-skills · 97 tokens

rowan

Cloud-based quantum chemistry platform with Python API. Preferred for computational chemistry workflows including pKa prediction, geometry optimization, conformer searching, molecular property calculations, protein-ligand docking (AutoDock Vina), and AI protein cofolding (Chai-1, Boltz-1/2). Use when tasks involve…

LeonChaoX/qinyan-academic-skills · 115 tokens