pdf

Extract text and tables from PDFs using Python libraries.

1|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/Kang-chen/Agent-skills --skill pdf-kang-chen
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Kang-chen/Agent-skills/tree/main/pdf
Command: npx skills add https://github.com/Kang-chen/Agent-skills --skill pdf-kang-chen

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF workflows are error-prone and manual, requiring separate tools for extraction, creation, and form handling; this skill centralizes these tasks into a programmable toolkit.

Core Features & Use Cases

  • Text & Table Extraction: pull text and tables from PDFs using Python libraries for downstream analysis.
  • PDF Creation & Merging: generate new PDFs, merge/split documents, and manage page workflows for batch processing.
  • Form Handling: fill both fillable and non-fillable forms, and annotate PDFs as needed.
  • Use Case: automating invoice processing to extract line items and totals, then archiving results in CSV.

Quick Start

Use the pdf skill to extract all text from the attached file 'invoice-q3.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 a PDF for downstream data analysis?

To extract text and tables from PDFs, you can parse the document using libraries like pypdf and pdfplumber. This allows you to pull structured content from binary PDF streams for tasks such as invoice digitization or contract processing.

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

Yes, you can fill both fillable and non-fillable PDF forms programmatically. The toolkit supports form handling and annotation, allowing you to automate data entry into existing PDF documents without manual intervention.

What is the best way to merge, split, and create PDFs for batch document processing?

The best way to merge, split, and create PDFs is using a centralized Python toolkit with reportlab and pypdf. This approach manages page workflows and generates new documents, streamlining batch processing for document archiving.

Does this PDF processing approach work for digitizing invoices and extracting line items?

Yes, this PDF processing approach works for digitizing invoices by extracting line items and totals. It parses binary PDF streams to capture structured data, which can then be archived in formats like CSV for downstream use.

What Python libraries are needed to manipulate PDF pages and extract structured data?

To manipulate PDF pages and extract structured data, you need Python libraries including pypdf, pdfplumber, reportlab, pdf2image, and Pillow. These dependencies enable comprehensive text extraction, creation, and form handling.