pdf

Extract text and tables from PDFs and manipulate pages with Python libraries.

Updated Jan 28, 2026
One-click install
npx skills add https://github.com/CodingHeader/MySkills --skill pdf-codingheader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/CodingHeader/MySkills/tree/main/skills/pdf
Command: npx skills add https://github.com/CodingHeader/MySkills --skill pdf-codingheader

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF processing tasks such as extracting text, tables, and filling forms can be time-consuming and error-prone.

Core Features & Use Cases

  • Extract text and tables from PDFs using Python libraries such as pypdf and pdfplumber for structured data.
  • Fill both fillable and non-fillable forms, annotate, merge, split, and rotate PDFs, or convert pages to images for validation or OCR.
  • Use case: Automate processing of batches of invoices to extract totals and populate standardized forms, producing consistent outputs.

Quick Start

Process a PDF to extract text and tables, and fill forms if needed, then save the 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 documents using Python?

To extract text and tables from PDF documents, this solution uses pypdf and pdfplumber to parse structured data from pages. It processes batches of invoices to reliably pull totals and populate standardized forms with robust error handling.

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

Yes, you can fill both fillable and non-fillable PDF forms automatically. The tool manipulates PDFs to populate forms, annotate, merge, split, and rotate pages, streamlining administrative workflows with consistent outputs.

What's the best way to convert PDF pages to images for OCR validation?

The best way to convert PDF pages to images for OCR validation is using pdf2image and Pillow. This Skill generates on-demand images from PDF documents, enabling subsequent optical character recognition or visual validation of the extracted data.

Does pypdf support merging and splitting PDF files for batch processing?

Yes, pypdf supports merging and splitting PDF files for batch processing. This Skill leverages pypdf to manipulate PDF documents, allowing you to merge, split, and rotate pages to automate large administrative workflows.

Why does PDF text extraction fail or return misaligned data?

PDF text extraction often fails or returns misaligned data due to complex document structures. This Skill handles these constraints by combining pypdf and pdfplumber for structured parsing, with robust error handling to manage extraction inconsistencies.