pdf

Automate PDF extraction, transformation, and generation using Python libraries.

Updated Jan 16, 2026
One-click install
npx skills add https://github.com/kumewata/dotfiles --skill pdf-kumewata
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/kumewata/dotfiles/tree/main/config/agents/skills/pdf
Command: npx skills add https://github.com/kumewata/dotfiles --skill pdf-kumewata

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents often require tedious, manual handling for text extraction, data capture, and form processing across many files. This skill provides an automated, script-driven workflow to read, analyze, merge, split, rotate, watermark, encrypt/decrypt, extract images, and perform OCR on scans, enabling repeatable, scalable PDF operations.

Core Features & Use Cases

  • Unified PDF toolkit: read, extract text/tables, merge/split, rotate, watermark, and encrypt/decrypt PDFs.
  • Form handling and automation: fill both fillable and non-fillable PDF forms using scripted workflows.
  • Batch processing and archival: process large collections of PDFs for data extraction, conversion, and documentation, with examples like processing invoices or reports.

Quick Start

Run a single command to extract text from a PDF and save the results to a plain 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 PDF documents in bulk?

To extract text and tables from PDF documents in bulk, this skill orchestrates pdfplumber and pypdf to automate document digitization and data retrieval. It provides script-driven workflows for batch processing large collections of files with robust validation.

Can I automate filling both fillable and non-fillable PDF forms?

Yes, you can automate filling both fillable and non-fillable PDF forms using scripted workflows. The skill applies Python libraries to handle form processing tasks, enabling repeatable and scalable generation of completed documents.

What's the best way to merge, split, and watermark PDF files programmatically?

The best way to merge, split, and watermark PDF files programmatically is using this unified toolkit. It orchestrates pypdf operations to read, analyze, and transform documents with robust error handling for repeatable administrative workflows.

Does this PDF processing workflow support OCR on scanned documents?

Yes, this PDF processing workflow supports OCR on scanned documents. It integrates pdf2image and Pillow to convert scanned pages into images, enabling text extraction and archival data retrieval from digitized physical records.

How do I encrypt and decrypt PDF files using Python?

You can encrypt and decrypt PDF files using Python by running the skill's script-driven commands. It leverages pypdf to apply security transformations, ensuring sensitive document data remains protected during batch processing and archival.

What are the limitations of using pypdf and pdfplumber for document data extraction?

Limitations of using pypdf and pdfplumber for document data extraction include handling complex layouts or non-text elements, where scanned documents require additional OCR processing via pdf2image and Pillow to achieve accurate data retrieval.