# Arxiv Viewer

View, search, and download academic papers from arXiv.

- Repository: https://github.com/actionbook/actionbook (1623 stars)
- Category: Writing
- License: Apache-2.0
- Last updated: 2026-10-19
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add actionbook/actionbook --skill arxiv-viewer -g -a claude-code -y`
Codex: `npx skills add actionbook/actionbook --skill arxiv-viewer -g -a codex -y`
Cursor: `npx skills add actionbook/actionbook --skill arxiv-viewer -g -a cursor -y`
Gemini CLI: `npx skills add actionbook/actionbook --skill arxiv-viewer -g -a gemini-cli -y`
Claude Code plugin marketplace: `/plugin marketplace add actionbook/actionbook`

## Description

View, search, and download academic papers from arXiv. Supports API queries, web scraping via Actionbook, and HTML paper reading via ar5iv. Use when user asks about arxiv papers, academic papers, research papers, paper summaries, latest papers, or wants to search/download/read papers.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# arXiv Viewer

Access, search, download, and read academic papers from arXiv using a hybrid API + Actionbook approach.

## Architecture Overview

```
┌─────────────────────────────────────────────────────────────┐
│                     arxiv-viewer                            │
├─────────────────┬─────────────────┬─────────────────────────┤
│   arXiv API     │  arxiv.org Web  │      ar5iv.org          │
│   (WebFetch)    │  (Actionbook)   │    (Actionbook)         │
├─────────────────┼─────────────────┼─────────────────────────┤
│ • Metadata      │ • Latest list   │ • Read sections         │
│ • Search        │ • Trending      │ • Extract figures       │
│ • By ID lookup  │ • Advanced      │ • Extract citations     │
│                 │   search form   │ • Get outline           │
└─────────────────┴─────────────────┴─────────────────────────┘
```

## Tool Priority

**By Feature:**

| Feature | Primary Tool | Fallback |
|---------|--------------|----------|
| Paper metadata | WebFetch (API) | browser-fetcher |
| Search | WebFetch (API) | browser-fetcher |
| Latest papers | browser-fetcher (Actionbook) | WebFetch (API) |
| Trending | browser-fetcher (Actionbook) | - |
| Advanced search | browser-fetcher (Actionbook) | WebFetch (API) |
| Read HTML section | html-reader (Actionbook) | Read (PDF) |
| Download PDF | Bash (curl) | - |

## Workflow Rules

### ⚠️ Agent Waiting Rule

**After launching browser-fetcher or html-reader agents:**
1. ✅ **MUST wait for ALL agents to complete**
2. ⛔ **DO NOT** use WebFetch/WebSearch while waiting
3. ✅ Only use fallback tools after agents have failed

---

## Data Sources

### 1. arXiv API (WebFetch)

**Best for:** Quick metadata lookup, simple search

```
Base URL: http://export.arxiv.org/api/query
```

The rest: https://github.com/actionbook/actionbook/blob/HEAD/playground/arxiv-viewer/skills/arxiv-viewer/SKILL.md
