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.
npx agentmods add commands/actionbook/actionbook/figuresgit clone --depth 1 https://github.com/actionbook/actionbookWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00456 |
| Opus 5 | $0.00000 | $0.00228 |
| Sonnet 5 | $0.00000 | $0.00091 |
| Haiku 4.5 | $0.00000 | $0.00046 |
Grade A, and why
figures scanned grade A with 0 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 yesterday.
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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
/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)--figureor-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:
search_actions("ar5iv figure")→ get action IDget_action_by_id(action_id)→ get figure selectorsagent-browser open https://ar5iv.org/html/{arxiv_id}agent-browser get text "figure.ltx_figure"- 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
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.
- yesterday First seen · 71 lines · 0 tokens per session scan A e7bee4256e53
figures is a command published in the GitHub repository actionbook/actionbook (1,586 stars, last pushed 20d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 456 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
webperf
Run a web performance audit via the web-performance-auditor persona.
render
Inspect an archived transcript (gzipped) — show counts, tool calls, errors. Useful after a PreCompact or SessionEnd, before deciding to write a retroactive /continuum:checkpoint.
interactive-dev
Start a persistent interactive development session with natural language browser control, auto-error monitoring, and full dev tool access.
browse
You have access to a browser via the MCP Browser Bridge tools. Use them to interact with web pages.
mtestprep
Prepare local dev servers and sibling services for E2E testing (alias for /muggle-test-prepare).
autoresearch
Autonomous research loop — iteratively edit, test, measure, keep/discard. Usage: /autoresearch [--budget 5m] [--provider ark].