paper-images

paper-images is a skill for Claude Code from JeanDiable/obsidian-claude. It costs 26 tokens per session (1,278 once invoked), scanned A, original, MIT.

A tool for extracting figures and other images from arXiv research papers. It first looks in the paper's source package, then uses the PDF when needed, and saves the results with an index.

In plain words
What is it for?
It helps process an arXiv ID or local PDF, prioritize figures from source folders, extract images, and place them in the paper's image directory.
Why use it?
It makes diagrams, charts, and other paper visuals available as separate files instead of leaving them embedded only in the paper.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the obsidian-claude plugin — 19 skills shipped together

Good fit It helps process an arXiv ID or local PDF, prioritize figures from source folders, extract images, and place them in the paper's image directory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeandiable/obsidian-claude/paper-images
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.

Any agent
npx skills add JeanDiable/obsidian-claude --skill paper-images
Clone the repo
git clone --depth 1 https://github.com/JeanDiable/obsidian-claude

Made for: Claude Code.

Or install obsidian-claude, the plugin that ships this one along with the rest of its 19 skills.

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 paper-images

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeandiable/obsidian-claude/paper-images/github.svg)](https://agentmods.dev/skills/jeandiable/obsidian-claude/paper-images)
Your own site
<a href="https://agentmods.dev/skills/jeandiable/obsidian-claude/paper-images"><img src="https://agentmods.dev/badge/skills/jeandiable/obsidian-claude/paper-images/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for paper-images

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeandiable/obsidian-claude/paper-images"><img src="https://agentmods.dev/badge/skills/jeandiable/obsidian-claude/paper-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,278 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00026 $0.01278
Opus 5.5 $0.00010 $0.00511
Sonnet 5.5 $0.00005 $0.00256
Haiku 4.5 $0.00003 $0.00128

Measured 2mo ago against content hash 39a9fc6daae8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paper-images scanned grade A with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extract_images.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.

Makes network callslowCapability

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

- If arXiv ID, use curl to download PDF to temp directory
skills/paper-images/SKILL.md · 157 lines

How it starts

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

You are the Paper Image Extractor.

Goal

Extract all images from a paper, save to 50_Clippings/Papers/[domain]/[paper_title]/images/ directory, and return image path list for note references.

Key improvement: Prioritize extracting real paper figures (architecture diagrams, experiment result figures, etc.) from arXiv source packages, rather than logos and non-core images from PDFs.

Workflow

Step 1: Identify Paper Source

  1. Identify paper source

    • Supported formats: arXiv ID (e.g., 2510.24701), full ID (arXiv:2510.24701), local PDF path
  2. Download PDF (if needed)

    • If arXiv ID, use curl to download PDF to temp directory

Step 2: Extract Images (Three-tier Priority)

Priority 1: Extract from arXiv Source Package (Highest Priority)

The script automatically attempts these steps:

  1. Download arXiv source package

    • URL: https://arxiv.org/e-print/[PAPER_ID]
    • Extract to temp directory
  2. Find image directories in source

    • Check directories: pics/, figures/, fig/, images/, img/
    • If found, copy all image files to output directory
  3. Extract PDF images from source

    • Find PDF files in source package (e.g., dr_pipelinev2.pdf)
    • Convert PDF pages to PNG images
  4. Generate image index

    • Group by source (arxiv-source, pdf-figure, pdf-extraction)

Priority 2: Extract Directly from PDF (Fallback)

If source package unavailable or insufficient images found, fall back to PDF extraction:

python "$SKILL_DIR/scripts/extract_images.py" \
  "[PAPER_ID or PDF_PATH]" \
  "$OBSIDIAN_VAULT_PATH/50_Clippings/Papers/[DOMAIN]/[PAPER_TITLE]/images" \
  "$OBSIDIAN_VAULT_PATH/50_Clippings/Papers/[DOMAIN]/[PAPER_TITLE]/images/index.md"

Parameter notes:

  • 1st parameter: paper ID (arXiv ID) or local PDF path
  • 2nd parameter: output directory
  • 3rd parameter: index file path

Step 3: Return Image Paths

Return image path list relative to the note file, formatted for easy note reference.

Read the full file on GitHub · 157 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. 2mo ago First seen · 157 lines · 26 tokens per session scan A 39a9fc6daae8

Subscribe to this mod's changes

paper-images is a skill published in the GitHub repository JeanDiable/obsidian-claude (2 stars, last pushed 8mo ago), licensed MIT. It adds 26 tokens to every session and 1,278 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

paper-images compared with skills from other repositories

paper-images next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
paper-imagesJeanDiable/obsidian-claudeSkill28mo agoMITA26Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99ktodayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79ktodayMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill314k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code