pdf

Extract text and tables from PDF documents using Python libraries.

1|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/DEEP-PolyU/matopt-xlab --skill pdf-deep-polyu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/DEEP-PolyU/matopt-xlab/tree/main/backend/skills/pdf
Command: npx skills add https://github.com/DEEP-PolyU/matopt-xlab --skill pdf-deep-polyu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image.

What problem does it solve?

The PDF skill automates handling and manipulating PDF documents, eliminating manual, repetitive tasks such as extracting text or tables, merging or splitting files, rotating pages, applying watermarks, filling forms, encrypting/decrypting, and OCR for scanned PDFs.

Core Features & Use Cases

  • Automated PDF processing: read, extract text and tables, merge/split, rotate pages, watermark, fill forms, encrypt/decrypt, and OCR.
  • Data extraction: extract text and tables into usable formats for downstream workflows.
  • Use Case: In bulk document workflows such as invoices, contracts, or reports, automate extraction and transformation to structured data.

Quick Start

Run a PDF workflow to read, extract text, merge or split files, rotate pages, apply watermarks, fill forms, and OCR scanned PDFs 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 PDF documents in bulk?

PDF form filling automates populating PDF forms by programmatically mapping data fields using pypdf. It eliminates manual data entry by applying deterministic, auditable steps to generate completed PDF documents across bulk workflows.

Can I run OCR on scanned PDFs to extract text?

To merge or split PDF files, this Skill uses pypdf to parse and transform documents in deterministic steps. It automates combining multiple reports or extracting specific pages from large PDFs without manual intervention.

Does this approach support encrypting and decrypting PDFs?

To apply watermarks and rotate pages in PDFs, this Skill uses pypdf to transform documents programmatically. It automates adding overlays and adjusting page orientations in deterministic, auditable steps across multiple files.

What is the best way to automate PDF document management workflows?

Python libraries pypdf, pdfplumber, and pdf2image support diverse PDF processing tasks including reading, text extraction, form filling, and OCR. They parse, transform, and generate PDFs across various document workflows.

Do I need Python to extract data from PDF files using this method?

To extract structured data from scanned PDF reports, this Skill uses pdf2image and pdfplumber to perform OCR and parse tables. It automates transforming image-based and text documents into usable data formats for downstream analysis.