pdf-extractor

Extracts text, tables, and images from PDFs into structured outputs with OCR support.

175|26|Updated Aug 14, 2025
One-click install
npx skills add https://github.com/jmagly/ai-writing-guide --skill pdf-extractor-jmagly
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-extractor
Source: https://github.com/jmagly/ai-writing-guide/tree/main/.factory/skills/pdf-extractor
Command: npx skills add https://github.com/jmagly/ai-writing-guide --skill pdf-extractor-jmagly

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and assets (resource) components.

What problem does it solve?

Extracts text, tables, and images from PDFs to enable searchable archives and data extraction.

Core Features & Use Cases

  • Text extraction: Textual content from PDFs (layout-aware).
  • Tables/images: Structured tables and embedded images extraction.
  • OCR support: Optional OCR for scanned documents.

Quick Start

Extract text and tables from report.pdf into output/pdf-extractor/.

Frequently Asked Questions about pdf-extractor

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

FAQPage Schema
How do I extract text from PDF files?

Text extraction from PDFs retrieves readable content while preserving layout structure. This Skill extracts textual content from both text-based and scanned PDFs, handling password-protected files and producing structured, searchable output suitable for archives and downstream processing.

Can I extract tables and images from PDFs?

Yes, structured table and embedded image extraction from PDFs is supported. This Skill isolates tables as organized data and retrieves images, enabling you to repurpose report content, documentation, and manuals into reusable formats.

How do I process scanned PDFs with OCR?

Optical character recognition (OCR) converts scanned PDF images into machine-readable text. This Skill applies OCR on demand to documents lacking embedded text layers, making archived scans and legacy documents searchable and extractable.

What file validation and error handling does PDF extraction include?

PDF extraction includes file validation to confirm input integrity, metadata inspection to assess document properties, password handling for protected files, and recovery workflows for processing errors, ensuring reliable batch and edge-case handling.

Can I use PDF text extraction with pdfplumber and pytesseract?

Yes, this Skill integrates with pdfplumber for text and table extraction and pytesseract for OCR capabilities. These dependencies enable layout-aware parsing and optical character recognition within a unified extraction workflow.