paper-image-extractor

paper-image-extractor is a skill for Claude Code, Codex from LigphiDonk/Oh-my--paper. It costs 21 tokens per session (782 once invoked), scanned A, original, MIT.

A paper-figure extraction tool that prioritizes source files from arXiv, an open repository for research papers, to obtain higher-quality images.

In plain words
What is it for?
Use it to extract all figures from a paper, especially when an arXiv source package is available.
Why use it?
It gives a defined way to retrieve figures from papers while keeping the extracted files traceable to their sources. It also provides a fallback when required tools or access are unavailable.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to extract all figures from a paper, especially when an arXiv source package is available.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ligphidonk/oh-my--paper/paper-image-extractor
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 LigphiDonk/Oh-my--paper --skill paper-image-extractor
Clone the repo
git clone --depth 1 https://github.com/LigphiDonk/Oh-my--paper

Made for: Claude Code, Codex.

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-image-extractor

README.md
[![agentmods](https://agentmods.dev/badge/skills/ligphidonk/oh-my--paper/paper-image-extractor/github.svg)](https://agentmods.dev/skills/ligphidonk/oh-my--paper/paper-image-extractor)
Your own site
<a href="https://agentmods.dev/skills/ligphidonk/oh-my--paper/paper-image-extractor"><img src="https://agentmods.dev/badge/skills/ligphidonk/oh-my--paper/paper-image-extractor/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-image-extractor

Your own site · 80×15
<a href="https://agentmods.dev/skills/ligphidonk/oh-my--paper/paper-image-extractor"><img src="https://agentmods.dev/badge/skills/ligphidonk/oh-my--paper/paper-image-extractor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 782 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00021 $0.00782
Opus 5 $0.00010 $0.00391
Sonnet 5 $0.00004 $0.00156
Haiku 4.5 $0.00002 $0.00078

Measured 12d ago against content hash 0439f4c656d9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

paper-image-extractor 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 12d 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.

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.

skills/paper-image-extractor/SKILL.md · 91 lines

How it starts

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

paper-image-extractor

Canonical Summary

Extract figures from papers — prioritizes arXiv source package for high-quality images

Trigger Rules

Use this skill when the user request matches its research workflow scope. Prefer the bundled resources instead of recreating templates or reference material. Keep outputs traceable to project files, citations, scripts, or upstream evidence.

Resource Use Rules

  • Treat scripts/ as optional helpers. Run them only when their dependencies are available, keep outputs in the project workspace, and explain a manual fallback if execution is blocked.

Execution Contract

  • Resolve every relative path from this skill directory first.
  • Prefer inspection before mutation when invoking bundled scripts.
  • If a required runtime, CLI, credential, or API is unavailable, explain the blocker and continue with the best manual fallback instead of silently skipping the step.
  • Do not write generated artifacts back into the skill directory; save them inside the active project workspace.

Upstream Instructions

You are the Paper Image Extractor for Dr. Claw.

Goal

Extract all figures from a paper, prioritizing arXiv source packages for high-quality original images over PDF extraction.

Extraction Strategy (3-tier priority)

Priority 1: arXiv Source Package (Best)

  1. Download source: https://arxiv.org/e-print/[PAPER_ID]
  2. Extract and look for pics/, figures/, fig/, images/, img/ directories
  3. Copy image files to output directory
  4. Convert PDF figures to PNG

Priority 2: PDF Figure Extraction (Fallback)

python scripts/extract_images.py "[PAPER_ID]" "[OUTPUT_DIR]" "[INDEX_PATH]"

Priority 3: Direct PDF Image Extraction (Last Resort)

Extract embedded image objects from the compiled PDF using PyMuPDF.

Output

  • Images saved to specified output directory
  • index.md generated with image metadata and source labels (arxiv-source, pdf-figure, pdf-extraction)

Scripts

  • scripts/extract_images.py — Main extraction script with 3-tier strategy

Read the full file on GitHub · 91 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. 12d ago First seen · 91 lines · 21 tokens per session scan A 0439f4c656d9

Subscribe to this mod's changes

paper-image-extractor is a skill published in the GitHub repository LigphiDonk/Oh-my--paper (724 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 782 once invoked, about $0.0001 per session on Opus 5. 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.

Related

Other skills, from other repositories

multimodal-llm

Vision, audio, video generation, and multimodal LLM integration patterns. Use when processing images, transcribing audio, generating speech, generating AI video (Kling v3, Sora 2, Veo 3.1 std/lite/fast, Runway Gen-4.5 via gen4turbo), or building multimodal AI pipelines.

yonatangross/orchestkit · 82 tokens

glmocr-formula

Official skill for recognizing and extracting mathematical formulas from images and PDFs into LaTeX format using ZhiPu GLM-OCR API. Supports complex equations, inline formulas, and formula blocks. Use this skill when the user wants to extract formulas, convert formula images to LaTeX, or OCR mathematical expressions.

zai-org/GLM-skills · 67 tokens

image-understanding

Enable image understanding capabilities for describing/analyzing images, reading text, and answering questions about visual content.

famclaw/famclaw · 25 tokens

mk:multimodal

Process images, video, audio, PDFs with Gemini API. Generate images (Nano Banana 2), videos (Veo 3), speech (MiniMax TTS), music (MiniMax). Convert documents to Markdown. Multi-provider fallback (Gemini → MiniMax → OpenRouter). Activate when task references media files, asks to…

ngocsangyem/MeowKit · 91 tokens

academic-plotting

Generates publication-quality figures for ML papers from research context. Given a paper section or description, extracts system components and relationships to generate architecture diagrams via Gemini. Given experiment results or data, auto-selects chart type and generates data-driven figures via matplotlib/seaborn.…

Orchestra-Research/AI-Research-SKILLs · 68 tokens

minimax-cli

Nested swiss-knife reference for the MiniMax mmx CLI and the canonical MiniMax CLI procedure shipped with the TUI: install mmx-cli, discover the correct TUI-managed MiniMax preset/key slot without leaking secrets, match mainland vs international regions, and route image/video/music/TTS generation or one-shot shell…

Lingtai-AI/lingtai · 72 tokens