pdf

Extract text and tables from PDFs using pypdf and pdfplumber.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/TungND2k2/Milo-ai --skill pdf-tungnd2k2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/TungND2k2/Milo-ai/tree/main/skills/pdf
Command: npx skills add https://github.com/TungND2k2/Milo-ai --skill pdf-tungnd2k2

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows are manual, error-prone, and time-consuming when extracting text, merging, splitting, filling forms, applying OCR, and securing PDFs. This skill centralizes these tasks into programmable operations for efficiency and consistency.

Core Features & Use Cases

  • Read, extract text and tables from PDFs
  • Merge, split, rotate, and watermark PDFs
  • Fill both fillable and non-fillable forms; OCR for scanned PDFs; encrypt/decrypt PDFs
  • Create new PDFs and extract images from documents
  • Use cases: archiving invoices, digitizing forms, automating document workflows

Quick Start

Use the pdf skill to extract text from a PDF 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 from a scanned PDF using OCR?

To extract text from a scanned PDF, this skill applies OCR via pytesseract after converting pages using pdf2image and Pillow, transforming image-based documents into editable text data.

Can I automate filling out non-fillable PDF forms?

Yes, you can automate form-filling for non-fillable PDFs by overlaying text onto fixed coordinates, providing an end-to-end pathway to digitize and populate static administrative forms.

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

The best way to merge and split PDF files programmatically is using pypdf, which allows you to combine multiple documents or extract specific pages for archiving invoices and managing workflows.

Does pdfplumber support extracting tables from PDF documents?

Yes, pdfplumber supports extracting tables from PDF documents by parsing the structural layout, enabling you to pull structured rows and columns directly from your files for data processing.

How do I encrypt and decrypt PDFs to secure sensitive documents?

You can encrypt and decrypt PDFs to secure sensitive documents by applying password protection through pypdf, ensuring only authorized users can access or modify the archived files.