pdf

Extract text and tables from PDFs using Python libraries.

4|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill pdf-generalreasoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/GeneralReasoning/env-skillsbench/tree/main/latex-formula-extraction/environment/skills/pdf
Command: npx skills add https://github.com/GeneralReasoning/env-skillsbench --skill pdf-generalreasoning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdf2image, Pillow.

What problem does it solve?

PDFs are ubiquitous in business and research, but extracting text, tables, and form data, or assembling and modifying documents, is often manual and error-prone. This Skill provides a Python-based toolkit to automate reading, parsing, converting, merging, and generating PDFs, including support for forms and multi-page workflows.

Core Features & Use Cases

  • Extract text and tables from multi-page PDFs for data ingestion and reporting.
  • Create, merge, split, and fill PDFs, including handling forms and annotations for batch processing.
  • Use Case: Process vendor invoices by extracting line items, validating totals, and producing consolidated spreadsheets.

Quick Start

Run a simple workflow to extract text from a sample PDF and summarize results.

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

You can automate PDF text and table extraction using Python libraries like pypdf and pdfplumber to parse multi-page documents, capturing structured content for data ingestion, reporting, and validation-ready outputs.

Can I fill PDF forms and merge multiple pages programmatically?

Yes, PDF form filling, merging, and splitting are fully supported for batch processing, enabling you to handle annotations and assemble multi-page documents programmatically using Python-based tooling.

Does pypdf work with pdf2image and Pillow for document conversion?

Yes, pypdf works alongside pdf2image and Pillow within this toolkit to support diverse PDF workflows, allowing you to parse text and convert PDF pages into images for manipulation and validation.

What is the best way to process vendor invoices from PDF to spreadsheets?

The best way to process vendor invoices from PDF to spreadsheets is by extracting line items, validating totals, and producing consolidated spreadsheets through an end-to-end Python workflow with error handling.

How do I handle errors when parsing multi-page PDFs in Python?

You handle errors when parsing multi-page PDFs in Python by using workflows with built-in validation and error handling to manage documents, ensuring scalable and reliable text extraction, form handling, and data processing.