pdf

Extract text, tables, and metadata from PDFs using Python libraries.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/stabilefrisur/panmetis --skill pdf-stabilefrisur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/stabilefrisur/panmetis/tree/main/src/panmetis/skills/pdf
Command: npx skills add https://github.com/stabilefrisur/panmetis --skill pdf-stabilefrisur

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, and includes scripts (resource) components.

What problem does it solve?

Filling, organizing, and extracting data from PDFs is often tedious and error-prone. This skill streamlines complex PDF tasks by providing a unified set of operations that can be composed into automated workflows, saving time and reducing manual effort.

Core Features & Use Cases

  • Automated text and table extraction from PDFs, plus metadata retrieval.
  • Document composition and modification: merge, split, rotate pages, add watermarks, and create new PDFs.
  • Form handling and security: fill forms, encrypt/decrypt, and extract images; OCR for scanned documents.
  • Use Case: Process hundreds of vendor invoices by extracting line items, consolidating data into CSVs, and archiving results.

Quick Start

Ask me to perform a PDF task now, for example, extract text from a file named document.pdf.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract text and tables from a PDF using Python?

To extract text and tables from a PDF, you can automate the process using Python libraries like pdfplumber and pypdf. This approach parses document content reliably, enabling you to pull structured data and metadata for downstream workflows.

Can I merge, split, and modify PDF pages programmatically?

Yes, you can merge, split, rotate pages, and add watermarks to modify PDFs programmatically. By coordinating Python libraries, this process restructures document compositions deterministically while applying built-in validation to ensure file integrity.

What is the best way to automate filling out PDF forms?

The best way to automate filling PDF forms is by using a Python-based document processing workflow. This method handles form fields programmatically and can simultaneously apply encryption or decryption to secure the modified output files.

Does pdfplumber work with pypdf for processing scanned PDFs?

Yes, pdfplumber works with pypdf and pdf2image to process scanned PDFs by rendering pages for OCR. This combination extracts text from scanned documents and handles standard text extraction within a single automated workflow.

How do I process hundreds of PDF invoices and extract line items to CSV?

You can process hundreds of PDF invoices and extract line items to CSV by building an automated Python workflow. This method uses deterministic parsing to capture table data, consolidate the extracted records, and archive the results efficiently.

What are the limitations of Python libraries for PDF document processing?

Limitations of Python PDF processing include handling complex or non-standard form fields and requiring additional OCR dependencies like pdf2image for scanned documents. Built-in validation helps mitigate parsing errors, but highly irregular layouts may still challenge text extraction.