pdf

Extract text, tables, and metadata from PDFs and automate form filling.

2|Updated Oct 29, 2025
One-click install
npx skills add https://github.com/shanelindsay/agentic-r --skill pdf-shanelindsay
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/shanelindsay/agentic-r/tree/main/skills/scientific-thinking/document-skills/pdf
Command: npx skills add https://github.com/shanelindsay/agentic-r --skill pdf-shanelindsay

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows often involve repetitive, error-prone steps for extracting text and tables, filling forms, and assembling documents. This skill automates these tasks in Python, improving efficiency and reproducibility.

Core Features & Use Cases

  • Extract text and tables from PDFs (text/tables) and render pages for processing.
  • Programmatically fill both fillable and non-fillable PDF forms, and add text annotations when needed.
  • Create, merge, and split PDFs, rotate pages, and generate structured outputs for reporting.
  • Use case: process a batch of invoices, extract key fields, fill forms, and compile a consolidated report.

Quick Start

Provide a PDF source to instantly perform extraction, form filling, and document assembly.

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 PDFs using Python?

You can extract text and tables from PDFs using Python by utilizing pypdf to parse content and pdf2image to render pages. This skill automates data extraction from sources like invoices, providing structured outputs with built-in validation.

Can I programmatically fill both fillable and non-fillable PDF forms?

Yes, you can programmatically fill both fillable and non-fillable PDF forms. This skill uses pypdf to handle form fields and Pillow to add text annotations, automating form digitization and document assembly workflows with built-in error handling.

What's the best way to merge, split, and rotate PDF pages in Python?

The best way to merge, split, and rotate PDF pages in Python is using pypdf for document manipulation. This skill automates document assembly, allowing you to compile consolidated reports and restructure existing PDF documents programmatically.

Do I need to install pypdf, pdf2image, and Pillow to automate PDF processing?

Yes, you need to install pypdf, pdf2image, and Pillow to automate PDF processing. These libraries are required to parse, render, and annotate PDFs, enabling text extraction, form filling, and document generation workflows.

How do I render PDF pages as images for visual processing in Python?

You render PDF pages as images for visual processing in Python using pdf2image to convert pages and Pillow to handle the image data. This allows you to process visual elements and add text annotations to the rendered PDF pages.

Does this PDF automation approach work for batch processing invoices?

Yes, this PDF automation approach works for batch processing invoices. It extracts key fields from multiple invoice PDFs, fills forms, and compiles a consolidated report, handling repetitive workflows with built-in error handling and validation.