pdf

Merge, split, extract text, and fill forms in PDFs using Python libraries.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/ThanabordeeN/gemini-productivity-skills --skill pdf-thanabordeen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ThanabordeeN/gemini-productivity-skills/tree/main/pdf
Command: npx skills add https://github.com/ThanabordeeN/gemini-productivity-skills --skill pdf-thanabordeen

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, Pillow.

What problem does it solve?

PDF processing and manipulation can be tedious when dealing with reading, merging, splitting, filling forms, and extracting data from documents programmatically. This Skill provides a suite of Python-based utilities to automate these tasks.

Core Features & Use Cases

  • Read, write, and merge PDFs using pypdf.
  • Extract text, tables, and metadata with pdfplumber and related tools.
  • Fill forms, annotate, and generate new PDFs with precise layouts.

Quick Start

Run the pdf skill on sample.pdf to extract text, fill forms, and generate a summary report.

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 in Python?

To extract text and tables from PDFs, this Skill uses pdfplumber to parse structured table layouts and pypdf for standard text retrieval. It handles multi-page documents programmatically, providing structured data outputs for administrative and data-analytics tasks.

Can I fill forms and merge PDF documents programmatically?

Yes, you can fill forms and merge PDF documents programmatically using pypdf. The Skill automates reading, writing, and merging documents, allowing precise form filling, annotations, and layout generation without manual editing.

What Python libraries do I need to automate PDF processing?

Automating PDF processing requires pypdf, pdfplumber, pdf2image, and Pillow. These dependencies parse, render, and annotate documents, providing safety checks and fallbacks for complex workflows including OCR and metadata handling.

Does pdfplumber support OCR for scanned PDF documents?

For scanned PDFs, pdf2image and Pillow render pages as images for OCR processing, while pdfplumber handles digital text and table extraction. This combination covers text extraction from both native and image-based documents.

What is the best way to split and edit PDF metadata?

Using pypdf to manipulate document structures programmatically is the best way to split and edit PDF metadata. This Skill handles splitting multi-page documents and modifying metadata fields, designed for legal and administrative document automation.