pdf

Extract text, tables, and images from PDF documents.

7|5|Updated May 7, 2026
One-click install
npx skills add https://github.com/14790897/MiQi --skill pdf-14790897
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/14790897/MiQi/tree/main/miqi/skills/pdf
Command: npx skills add https://github.com/14790897/MiQi --skill pdf-14790897

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pdf2image, pytesseract, pandas, pillow, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the challenge of interacting with PDF documents, which are often difficult to edit, extract data from, or fill out programmatically.

Core Features & Use Cases

  • Advanced PDF Manipulation: Merge, split, rotate, and encrypt PDF files with ease.
  • Intelligent Form Filling: Automatically fill both interactive and static PDF forms using coordinate-based annotation or field mapping.
  • Data Extraction: Extract text, tables, and images from complex documents for use in other applications.

Quick Start

Ask the agent to extract all text from the provided document and save it to a new text file.

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 document?

PDF data extraction is performed using pdfplumber and pypdf to parse text and table structures from complex documents. The extracted data can then be processed with pandas for downstream analysis or saved to a new file.

Can I automatically fill out a non-fillable PDF form?

Static PDF forms can be filled using coordinate-based annotation to overlay text precisely onto the document. This approach uses reportlab and pillow to modify the file directly, bypassing the need for interactive form fields.

What is the best way to merge and split PDF files programmatically?

Merging and splitting PDF files is achieved using pypdf to manipulate document pages programmatically. This allows you to combine multiple documents into one or extract specific page ranges with accurate data handling.

Does this PDF processing approach support scanned documents?

Scanned PDF documents are supported using pytesseract and pdf2image for OCR processing. This converts image-based pages into searchable text, enabling data extraction from files without embedded text layers.

How do I extract images from a PDF and save them as separate files?

Image extraction from PDF files uses pdfplumber and pillow to isolate and save embedded image objects. The extracted images are saved as separate files, enabling asset recovery and reuse in other workflows.

What are the limitations of using Python for PDF data extraction?

Python PDF data extraction faces limitations with heavily nested tables or irregular layouts in scanned documents. While pdfplumber handles structured data well, complex formatting may require manual coordinate adjustments for accurate parsing.