pdf

Automates PDF text/table extraction, form filling, merging, splitting, rotating, watermarking, and creation using Python libraries.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/hueidou/CoCo --skill pdf-hueidou
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/hueidou/CoCo/tree/main/src/coco/agents/skills/pdf
Command: npx skills add https://github.com/hueidou/CoCo --skill pdf-hueidou

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill reduces manual labor by enabling automated handling of PDF documents—reading content, extracting text and tables, filling forms, merging or splitting files, and applying watermarks or OCR when needed.

Core Features & Use Cases

  • Text and table extraction from PDFs using robust Python libraries for data capture and analysis.
  • Form handling: fillable and non-fillable forms with scripted field entry and validation.
  • PDF creation and modification: merge, split, rotate, watermark, and generate new PDFs for workflows such as invoicing and reporting.

Quick Start

Extract all text from a PDF file named invoice.pdf and save it to a text file.

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

You can extract text and tables from a PDF using Python libraries like pdfplumber and pypdf. These tools parse PDF documents to capture structured table data and raw text, enabling automated data extraction for analysis and archival workflows.

What is the best way to automate filling out PDF forms?

Automating PDF form filling uses Python scripts to programmatically enter and validate data into fillable and non-fillable fields. This digitizes document workflows by scripting field entry, reducing manual labor in form processing.

Can I merge, split, and watermark PDF files programmatically?

Yes, you can merge, split, and watermark PDF files programmatically. Using Python libraries like pypdf, you can manipulate PDF documents to combine pages, separate files, and apply overlays for reporting and archival preparation.

Do I need OCR tools to extract text from scanned PDF documents?

You need OCR tools to extract text from scanned PDFs when standard text parsing fails. The workflow supports optional image rendering via pdf2image and OCR to process and extract text from image-based PDF documents.

Does this PDF processing approach work for large-scale document workflows?

This PDF processing approach scales for document workflows across software engineering and operations. It automates text extraction, form digitization, and archival preparation, reducing manual labor in bulk document processing tasks.