pdf

Extract text and tables from PDFs using Python libraries.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs are ubiquitous but interacting with them—extracting text and tables, merging or splitting files, and filling forms—remains manual and error-prone. This skill provides a programmable toolkit to automate PDF workflows at scale.

Core Features & Use Cases

  • Automated text and table extraction from PDFs using Python libraries.
  • Create, merge, split, and annotate PDFs, including form filling on both fillable and non-fillable forms.
  • Use cases include processing invoices, digitizing contracts, archiving reports, and generating annotated PDFs for sharing.

Quick Start

Install the required Python libraries and run the included scripts to process a sample 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 files using Python?

To extract text and tables from PDF files, this solution uses Python libraries like pypdf and pdfplumber to read document content. It automates scalable workflows for processing invoices, digitizing contracts, and archiving reports.

Does pypdf support filling both fillable and non-fillable PDF forms?

Yes, pypdf supports form handling across both fillable and non-fillable PDFs. The skill modifies documents programmatically to fill forms and annotate files, enabling automated processing of various document types.

What's the best way to automate processing invoices and contracts from PDFs?

The best way to automate processing invoices and contracts from PDFs is using a programmable Python toolkit. It reads, renders, and annotates documents with validation to create scalable, error-free workflows.

How do I merge, split, and annotate PDFs programmatically?

You can merge, split, and annotate PDFs programmatically by running the included Python scripts. These scripts leverage pypdf and Pillow to modify document structures and render visual annotations.

Can I render PDF pages as images using Python for validation purposes?

Yes, you can render PDF pages as images for validation using the pdf2image and Pillow Python libraries. This allows you to visually verify document modifications and generate annotated PDFs for sharing.