pdf

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

2|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/miriamdong/mstack --skill pdf-miriamdong
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/miriamdong/mstack/tree/main/pdf
Command: npx skills add https://github.com/miriamdong/mstack --skill pdf-miriamdong

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents often require manual, repetitive tasks such as extracting text and tables, merging or splitting files, filling forms, or extracting images. This skill centralizes and automates these workflows to save time and reduce errors.

Core Features & Use Cases

  • Read, extract, and index text and tables from PDFs
  • Merge, split, rotate, and watermark PDFs
  • Fill forms and extract images; support OCR on scanned PDFs
  • Automate common administrative tasks like archiving and data extraction from documents

Quick Start

Use this skill to read a PDF and extract text using Python libraries.

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?

PDF text and table extraction is automated using pdfplumber and pypdf to parse structured data and index content. The skill handles reading documents, pulling text, and parsing tabular data for administrative workflows and data digitization.

Can I merge, split, and watermark PDF files programmatically?

Merging, splitting, rotating, and watermarking PDF files is supported through PyPDF-based tooling. The skill applies these document edits programmatically, enabling automated archiving and preparation of PDFs for sharing.

Does this PDF processing skill support OCR for scanned documents?

OCR on scanned PDFs is supported as an optional feature using pdf2image alongside pypdf and pdfplumber. This allows text extraction from image-based documents that lack embedded text layers.

What's the best way to automate filling out PDF forms?

Automating PDF form filling is handled by PyPDF-based tooling with input validation and error handling. The skill digitizes forms by applying edits programmatically, reducing manual repetitive tasks.

How do I extract images from PDF documents?

Image extraction from PDFs is performed using pypdf and pdf2image libraries. The skill automates pulling embedded images from documents, supporting workflows that require archiving or separating visual content from text.

Are there limitations when parsing complex PDF layouts with pdfplumber?

Complex PDF layout parsing relies on pdfplumber and pypdf, which may have constraints with highly irregular structures. The skill includes input validation and error handling to manage extraction failures, but scanned documents require the optional OCR layer.