Skip to content
Automation
Command

/download

Download an arXiv paper PDF to local directory.

From plugin
actionbook
1.6k16 skills12 agents16 commands1 MCP
Install
> /plugin marketplace add actionbook/actionbook
> /plugin install actionbook@actionbook-marketplace

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/download

Context preview

What this command does when you run it.

Download an arXiv paper PDF to local directory.

Command definition

download.md

/arxiv-viewer:download

Download an arXiv paper PDF to local directory.

Usage

/arxiv-viewer:download <arxiv_id> [directory]

Parameters

  • `arxiv_id` (required): arXiv paper ID or URL
  • ID formats: `2301.07041`, `2301.07041v2`
  • URL formats: `https://arxiv.org/abs/2301.07041`
  • `directory` (optional): Target directory (default: current directory)

Examples

# Download to current directory
/arxiv-viewer:download 2301.07041

# Download to specific directory
/arxiv-viewer:download 2301.07041 ./papers

# Download from URL
/arxiv-viewer:download https://arxiv.org/abs/2301.07041 ~/research/papers

Workflow

1. **Parse input** - Extract arXiv ID from URL or use directly 2. **Create directory** - If specified directory doesn't exist, create it 3. **Download PDF** - Use `curl -L` to download from `https://arxiv.org/pdf/{id}.pdf` 4. **Confirm download** - Report file location and size

Output

Downloaded: {filename}
Location: {full_path}
Size: {file_size}

Notes

  • PDFs are named `{arxiv_id}.pdf` (e.g., `2301.07041.pdf`)
  • Version suffix is preserved (e.g., `2301.07041v2.pdf`)
  • Use `-L` flag with curl to follow redirects
Ships withactionbook

Actionbook turns the websites you work in every day into something your AI agent can actually operate. Direct API requests when possible, UI automation when not, with login handled. Fast and resilient.

Get the whole plugin