pdf-figure-extract

Extract relevant figures from local PDFs with captions and manifests.

11|1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/jimezsa/opencolab --skill pdf-figure-extract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-figure-extract
Source: https://github.com/jimezsa/opencolab/tree/main/projects/SKILLS/pdf-figure-extract
Command: npx skills add https://github.com/jimezsa/opencolab --skill pdf-figure-extract

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires PyMuPDF, and includes scripts (resource) components.

What problem does it solve?

Extract figures, architecture images, and diagrams from papers that are already downloaded locally, saving time hunting for visual content.

Core Features & Use Cases

  • Reuse existing PageIndex artifacts when available to narrow candidate pages.
  • Standalone PyMuPDF extraction when PageIndex artifacts are missing, ensuring no hard failures.
  • Export 1-3 high-quality figure candidates as PNGs with contextual captions and per-run manifests.

Quick Start

Extract the architecture figure from the local PDF and return the best match with page context.

Frequently Asked Questions about pdf-figure-extract

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract figures and diagrams from a local PDF file?

Extract figures from a local PDF by identifying the most relevant images matching your query, then exporting 1-3 candidates as PNGs with captions and a manifest. The process reuses PageIndex artifacts or falls back to standalone extraction.

How does PyMuPDF extraction work for finding architecture images in papers?

PyMuPDF extraction identifies relevant figures by applying bounded narrowing to 1-2 pages per paper. It selects the best match by respecting page context and captions, returning high-quality figure candidates without hard failures.

What's the best way to pull specific figures from multiple research papers?

The best way to pull specific figures is narrowing candidate pages to 1-2 per paper and selecting 1-3 candidate figures. This approach reuses existing PageIndex artifacts when available and falls back to standalone extraction otherwise.

Do I need PageIndex artifacts to extract figures from a PDF?

No, you do not need PageIndex artifacts to extract figures. The system reuses them when available to narrow candidate pages, but falls back to standalone PyMuPDF extraction when they are missing to ensure no hard failures.

What outputs do I get when extracting figures from local PDFs?

Extracting figures from local PDFs yields export artifacts including PNG images of 1-3 candidates, contextual captions, and a manifest with provenance and confidence data for each run.

Can I extract figures from a PDF without losing their original captions?

Yes, you can extract figures while preserving their original captions. The export artifacts include contextual captions alongside the PNG images, respecting the page context when selecting the best figure.