← ClaudeAtlas

figure-extractorlisted

Extract complete, publication-quality figures and images from documents — local PDFs, PDF URLs, arXiv links, and HTML article pages. Use whenever the user wants to pull figures / charts / diagrams / images out of a paper or web article, says "extract the figures from this PDF / arXiv paper / webpage", needs clean figure PNGs for slides, decks, or reuse, or finds that naive embedded-image extraction returns broken fragments. This is a command-line tool (Python + PyMuPDF) that must be run in a shell; if your runtime has no shell, see the degraded-mode fallback. Keywords: extract figures from pdf, extract images from html, arxiv figure extraction, paper figure extractor, pdf figure crop, pymupdf.
Sunrich-HT/figure-extractor · ★ 3 · Data & Documents · score 76
Install: claude install-skill Sunrich-HT/figure-extractor
# Figure Extractor Skill Use this skill when the user needs complete figures or images extracted from PDFs, arXiv papers, or HTML article pages. ## What this skill actually is (read first) `figure-extractor` is a **command-line tool** (Python + PyMuPDF). "Using it" means running its CLI in a shell — e.g. `figure-extractor extract paper.pdf`. It is **not** an in-agent callable, a hosted service, or a "page" you activate, and it cannot run inside a runtime that has no shell or cannot install Python packages (e.g. Notion Agent, browser-only agents). **Invocation contract** - **Mechanism:** shell command `figure-extractor <subcommand> ...` (installed via `pip install -e .`). - **Input:** a local PDF/HTML path or a PDF/arXiv/HTML URL. - **Output:** PNG files + `manifest.json` + `contact_sheet.jpg` (+ optional `figures.zip`) written to `--out`. ## Step 0 — precondition check (always do this first) Before you promise figure extraction, verify the tool is actually runnable in this environment: ```bash figure-extractor --help # if this errors, or there is no shell, the tool is UNAVAILABLE ``` - **Available** (command runs) → follow *Preferred algorithm*. - **Unavailable** (no shell / not installed / sandboxed) → go to *Degraded mode*. Not having the tool is **not** a failure and **not** a rule violation — degrade gracefully and tell the user what you did. ## Core rule (when the extractor is available) Do **not** rely on embedded PDF image extraction alone. Many figur