pdf-extraction

Extract text, tables, and metadata from PDF files using pdfplumber.

368|75|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/claude-office-skills/skills --skill pdf-extraction-claude-office-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-extraction
Source: https://github.com/claude-office-skills/skills/tree/main/pdf-extraction
Command: npx skills add https://github.com/claude-office-skills/skills --skill pdf-extraction-claude-office-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pdfplumber, pandas, Pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill automates the extraction of text, tables, and metadata from PDF documents, transforming unstructured PDF content into usable data.

Core Features & Use Cases

  • Text Extraction: Retrieve all text content from specified pages or the entire document.
  • Table Extraction: Accurately identify and extract tabular data, preserving its structure.
  • Metadata Retrieval: Access document properties like title, author, and creation date.
  • Use Case: Automatically extract all financial tables from a company's annual report into a structured format for analysis.

Quick Start

Use the pdf-extraction skill to extract all tables from the attached document 'financial_report.pdf'.

Frequently Asked Questions about pdf-extraction

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

FAQPage Schema
How do I extract tables from PDF files and preserve the structure?

To extract tables from PDF files, this skill uses pdfplumber's advanced table detection with custom strategies to accurately identify and extract tabular data while preserving its original structure for analysis. It handles common PDF formats for data mining.

What is the best way to extract text from a PDF with layout preservation?

The best way to extract text from a PDF while keeping the layout intact is using pdfplumber, which supports detailed text extraction with layout preservation. This skill automates retrieving all text content from specified pages or entire documents.

Can I retrieve PDF metadata like title and author using Python?

Yes, you can retrieve PDF metadata like title and author using this skill. It accesses document properties including the title, author, and creation date, transforming unstructured PDF content into usable data.

Does pdfplumber work with pandas for data mining PDF content?

Yes, pdfplumber works with pandas for data mining PDF content. This skill depends on both libraries to extract text and tables from PDFs, allowing you to automatically pull financial tables from reports into structured formats for analysis.

How do I debug PDF extraction when tables are not detected correctly?

To debug PDF table extraction issues, this skill supports visual debugging of PDF structures using Pillow. You can visually inspect the PDF layout to identify why tables are not detected and adjust the custom extraction strategies accordingly.