pdf

Extract text and tables from PDFs using Python libraries.

Updated Jan 13, 2026
One-click install
npx skills add https://github.com/danielctc/ReactSpacesMonoRepo --skill pdf-danielctc
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/danielctc/ReactSpacesMonoRepo/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/danielctc/ReactSpacesMonoRepo --skill pdf-danielctc

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the time-consuming tasks of handling PDFs by providing programmable tooling for extraction, creation, and form interaction across diverse documents.

Core Features & Use Cases

  • Automated PDF Data Extraction: Text and table extraction from PDFs using Python libraries such as pypdf and pdfplumber.
  • Form Handling & Annotations: Fillable form support and annotation-based editing for non-fillable forms, including field metadata extraction.
  • Document Manipulation & Workflows: Merge, split, rotate, and create PDFs; validate fields with helper scripts; batch processing for invoices, contracts, and reports.
  • Use Case: Automate invoice processing by extracting totals and dates and auto-filling standardized forms.

Quick Start

Example commands:

  • python scripts/extract_form_field_info.py sample.pdf fields.json
  • python scripts/fill_fillable_fields.py sample.pdf fields.json filled.pdf

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

You can extract text and tables from PDF documents using Python by leveraging pdfplumber and pypdf libraries to parse file contents and output structured data for batch processing.

Can I automate filling out PDF forms with Python scripts?

Yes, you can automate filling PDF forms by running Python scripts that use pypdf to populate fillable fields from a JSON file and output a completed document.

What is the best way to handle batch processing for invoices and contracts in PDF format?

The best way to handle batch PDF processing for invoices and contracts is using Python scripts to automate data extraction, field validation, and document merging across multiple files.

Does this PDF processing approach support adding annotations to non-fillable documents?

Yes, this PDF processing approach supports adding annotations to non-fillable documents by utilizing pdf2image and Pillow to manipulate and overlay content programmatically.

How do I get metadata from fillable PDF form fields before automating data entry?

You can get metadata from fillable PDF form fields by running an extraction script that parses the PDF and exports field names and properties into a JSON file for validation.

What Python libraries do I need to merge, split, and rotate PDF files programmatically?

To merge, split, and rotate PDF files programmatically, you need Python libraries such as pypdf for document manipulation and pdfplumber for parsing text and table data.