pdf

Extract text and tables from PDFs using Python libraries.

1|Updated Feb 13, 2026
One-click install
npx skills add https://github.com/paialex/ai-skills-bank --skill pdf-paialex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/paialex/ai-skills-bank/tree/main/skills/pdf
Command: npx skills add https://github.com/paialex/ai-skills-bank --skill pdf-paialex

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents are ubiquitous but require multiple tools to extract content, transform, and validate. This Skill consolidates reading/extracting text and tables, merging or splitting files, rotating pages, watermarking, creating new PDFs, filling forms, encrypting/decrypting, and performing OCR on scanned PDFs to make them searchable and archivable.

Core Features & Use Cases

  • Read and extract text and tables from PDFs with structured output
  • Merge, split, rotate, and watermark PDFs; create new PDFs from components
  • Fill PDF forms (fillable and non-fillable) and encrypt/decrypt for secure workflows
  • OCR on scanned PDFs to make content searchable and archivable
  • Use case: automate invoice processing by extracting line items and totals from hundreds of PDFs and compiling into CSV
  • Use case: digitize paper forms by transcribing fields and validating them programmatically

Quick Start

Ask me to merge a set of PDFs into one document or extract text from a PDF to start processing.

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 files for invoice processing?

PDF text and table extraction parses document content into structured output using pdfplumber. It automates invoice processing by transcribing line items and totals from multiple PDFs for validation and compilation into CSV format.

Can I merge, split, and watermark PDFs programmatically?

PDF merging, splitting, and watermarking modifies files programmatically using pypdf. It performs basic transformations by parsing, rendering, and modifying documents with validation and fallbacks for compliance archiving workflows.

Does OCR work on scanned PDFs to make them searchable?

OCR on scanned PDFs makes content searchable and archivable. It uses pdf2image and Pillow to render scanned document pages, extracting text from images to enable full-text search and digitize paper forms.

What's the best way to fill PDF forms and encrypt documents for secure workflows?

Filling PDF forms and encrypting documents secures workflows by transcribing fields programmatically. It supports both fillable and non-fillable forms, applying encryption and decryption to protect document content during processing.

Do I need Python libraries like pypdf and pdfplumber to process PDFs?

Python libraries including pypdf, pdfplumber, pdf2image, and Pillow are required dependencies to process PDFs. They provide the parsing, rendering, and modifying functions needed for text extraction, transformations, and OCR.