Skip to content
Automation
Skill

/paper-image-extractor

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

From plugin
dr-claw
1.2k122 skills

Claude Code

$ npx -y skills add OpenLAIR/dr-claw --skill paper-image-extractor --agent claude-code

SKILL.md

paper-image-extractor.SKILL.md
name: paper-image-extractor
description: Extract figures from papers — prioritizes arXiv source package for high-quality images
allowed-tools: Read, Write, Bash

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

Dependencies

  • Python 3.8+, PyMuPDF (fitz), requests
  • Network access (arXiv)

--- > Based on [evil-read-arxiv](https://github.com/evil-read-arxiv) — an automated paper reading workflow. MIT License.

@openlair
Ships withdr-claw

A Super AI Lab with massive AI Doctors as Assistants. Best IDE for Research via AI Power.

1.2k122 skills
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of OpenLAIR/dr-claw on GitHub, a chart by star-history.com

Other skills on dr-claw.

dr-claw

dr-claw

Dr. Claw skill for OpenClaw project discovery, idea intake, waiting-session triage, structured session control, event-driven…

@openlair@openlairInstall Skill
academic-researcher

academic-researcher

Academic research assistant for literature reviews, paper analysis, and scholarly writing. Use when: reviewing academic papers,…

@openlair@openlairInstall Skill
aris-ablation-planner

aris-ablation-planner

Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper submission.…

@openlair@openlairInstall Skill
aris-arxiv

aris-arxiv

Search, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch arxiv",…

@openlair@openlairInstall Skill
aris-auto-review-loop

aris-auto-review-loop

Autonomous multi-round research review loop. Repeatedly reviews via Codex MCP, implements fixes, and re-reviews until positive…

@openlair@openlairInstall Skill

More skills from other plugins.

agent-builder

agent-builder

Load immediately after an Agent intent, before the first agent_builder_* call. Governs how you create, configure, test, and…

n8n12d209k
@n8n-io@n8n-ioInstall Skill
browser-use

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…

@browser-use@browser-useInstall Skill
agent-browser

agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…

@vercel-labs-2@vercel-labs-2Install Skill
add-anydoc

add-anydoc

Add local office-document-to-Markdown conversion to NanoClaw agent containers with the pinned Firecrawl AnyDoc CLI. Use when…

@nanocoai@nanocoaiInstall Skill

Questions about paper-image-extractor.

Which coding agents can use paper-image-extractor?
paper-image-extractor installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.