/figures
Extract all figures and their captions from an arXiv paper (ar5iv.org).
> /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
/figures
Context preview
What this command does when you run it.
Extract all figures and their captions from an arXiv paper (ar5iv.org).
Command definition
figures.md/arxiv-viewer:figures
Extract all figures and their captions from an arXiv paper (ar5iv.org).
Usage
/arxiv-viewer:figures <arxiv_id> [--figure <n>]
Parameters
- `arxiv_id` (required): arXiv paper ID (e.g., `2301.07041`)
- `--figure` or `-f` (optional): Specific figure number to extract
Examples
/arxiv-viewer:figures 2301.07041 # All figures
/arxiv-viewer:figures 2301.07041 --figure 1 # Just Figure 1
/arxiv-viewer:figures 1706.03762 # Transformer paper figures
Workflow
Uses **Actionbook + agent-browser** to extract figures from ar5iv.org:
1. `search_actions("ar5iv figure")` → get action ID 2. `get_action_by_id(action_id)` → get figure selectors 3. `agent-browser open https://ar5iv.org/html/{arxiv_id}` 4. `agent-browser get text "figure.ltx_figure"` 5. Parse figures and captions
Selectors
| Element | Selector | |---------|----------| | All figures | `figure.ltx_figure` | | Figure by ID | `#S3.F1` (Section 3, Figure 1) | | Figure image | `figure.ltx_figure img` | | Figure caption | `figcaption.ltx_caption` |
Output Format
## Figures from: {Paper Title}
arXiv: {id}
### Figure 1
**Caption:** {caption text}
**Location:** Section {n}
**Image:** {image_url or description}
### Figure 2
**Caption:** {caption text}
**Location:** Section {n}
**Image:** {image_url or description}
...
---
*Total: {n} figures*Notes
- Figure numbers may not be sequential
- Some figures may be in appendices
- Image URLs point to ar5iv.org hosted images
Read more
/arxiv-viewer:figures
Extract all figures and their captions from an arXiv paper (ar5iv.org).
Usage
/arxiv-viewer:figures <arxiv_id> [--figure <n>]
Parameters
- `arxiv_id` (required): arXiv paper ID (e.g., `2301.07041`)
- `--figure` or `-f` (optional): Specific figure number to extract
Examples
/arxiv-viewer:figures 2301.07041 # All figures /arxiv-viewer:figures 2301.07041 --figure 1 # Just Figure 1 /arxiv-viewer:figures 1706.03762 # Transformer paper figures
Workflow
Uses **Actionbook + agent-browser** to extract figures from ar5iv.org:
1. `search_actions("ar5iv figure")` → get action ID 2. `get_action_by_id(action_id)` → get figure selectors 3. `agent-browser open https://ar5iv.org/html/{arxiv_id}` 4. `agent-browser get text "figure.ltx_figure"` 5. Parse figures and captions
Selectors
| Element | Selector | |---------|----------| | All figures | `figure.ltx_figure` | | Figure by ID | `#S3.F1` (Section 3, Figure 1) | | Figure image | `figure.ltx_figure img` | | Figure caption | `figcaption.ltx_caption` |
Output Format
## Figures from: {Paper Title}
arXiv: {id}
### Figure 1
**Caption:** {caption text}
**Location:** Section {n}
**Image:** {image_url or description}
### Figure 2
**Caption:** {caption text}
**Location:** Section {n}
**Image:** {image_url or description}
...
---
*Total: {n} figures*Notes
- Figure numbers may not be sequential
- Some figures may be in appendices
- Image URLs point to ar5iv.org hosted images
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.
Other commands on actionbook.
- /analyze
Analyze a webpage's structure using Actionbook's verified selectors and show available elements for scraping.
Open command - /generate
Generate web scraper scripts using Actionbook's verified selectors.
Open command - /list-sources
List all websites that have verified selector data in Actionbook.
Open command - /request-website
Request a new website to be indexed in Actionbook by submitting its URL through the request form.
Open command - /citations
Extract the bibliography/references from an arXiv paper (ar5iv.org).
Open command - /download
Download an arXiv paper PDF to local directory.
Open command

