pdf

Extract text and tables from PDFs using Python libraries.

264|11|Updated Apr 25, 2026
One-click install
npx skills add https://github.com/rkz91/coco --skill pdf-rkz91
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/rkz91/coco/tree/main/skills/pdf
Command: npx skills add https://github.com/rkz91/coco --skill pdf-rkz91

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF handling often requires switching between tools to extract text, grab tables, fill forms, and assemble new documents. This Skill consolidates those tasks into a cohesive toolkit that can be scripted or integrated into automation pipelines.

Core Features & Use Cases

  • Automated PDF text extraction and table extraction from documents using Python libraries.
  • Form filling and annotation for fillable and non-fillable PDFs, plus batch PDF creation and merging.
  • Use Case: Automate invoice processing by extracting line items and populating a standardized report.

Quick Start

Process a sample PDF to extract text and tables and optionally fill forms programmatically.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate PDF text and table extraction for invoice processing?

Automating PDF text and table extraction uses Python libraries like pypdf to parse documents and render pages to images with pdf2image. This approach automates invoice processing by extracting line items and populating standardized reports without manual data entry.

Can I programmatically fill forms in both fillable and non-fillable PDFs?

Yes, you can programmatically fill forms in both fillable and non-fillable PDFs. The process uses Python libraries such as pypdf and Pillow to parse documents, apply annotations, and populate form fields for administrative workflows like contract processing or invoicing.

Does PDF form filling and text extraction require installing Python dependencies?

Yes, PDF form filling and text extraction requires installing Python dependencies including pypdf, pdf2image, and Pillow. These libraries are necessary to parse PDFs, render pages to images, and generate or modify documents within your automation pipelines.

What is the best way to batch create and merge PDF documents for digitization?

The best way to batch create and merge PDF documents for digitization is scripting the process with a cohesive Python toolkit. By utilizing pypdf, you can assemble new documents, merge multiple files, and handle document digitization within automated administrative workflows.

How do I convert PDF pages to images for document processing?

You convert PDF pages to images for document processing using the pdf2image and Pillow Python libraries. This rendering step allows you to visually parse PDFs, extract text from image-based content, and prepare pages for automated form filling and annotation tasks.