pdf

Automate PDF processing tasks using Python libraries like pypdf and pdfplumber.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF processing can be tedious and error-prone when performing common tasks like reading, merging, splitting, rotating, OCR, watermarking, and form handling. This Skill consolidates these workflows to streamline document management.

Core Features & Use Cases

  • Read, extract text/tables, and search PDFs.
  • Merge or split documents, rotate pages, and apply watermarks.
  • Fill and automate PDF forms, encrypt/decrypt, and OCR for scanned files.
  • Use Case: bulk invoice processing by extracting key data and generating reports.

Quick Start

Ask me to perform a PDF task, for example extract text from invoice.pdf or merge doc1.pdf and doc2.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 document automation?

To extract text and tables from a PDF, you can parse the document using pdfplumber. This approach reads structured data from digital files, enabling automated text extraction for workflows like bulk invoice processing.

What's the best way to OCR scanned PDF files in Python?

The best way to OCR scanned PDF files is converting pages to images with pdf2image and Pillow, then applying text recognition. This digitizes scanned documents, making them searchable and ready for archival tasks.

Can I merge, split, and watermark PDFs end-to-end?

Yes, you can merge, split, and watermark PDFs end-to-end using pypdf. This consolidates multiple document management workflows into a single automated process, streamlining file manipulation and organization.

Does this PDF processing approach support form filling and encryption?

Yes, this PDF processing approach supports form filling and encryption using pypdf. You can automate form data injection and secure sensitive documents by applying password protection or decryption.

Do I need Python to automate PDF tasks like rotation and text extraction?

Yes, you need Python to automate PDF tasks because the processing relies on Python libraries like pypdf, pdfplumber, pdf2image, and Pillow to parse, render, and manipulate documents end-to-end.

Why does PDF text extraction return garbled characters from scanned files?

PDF text extraction returns garbled characters from scanned files because the content is image-based rather than text-based. You must apply OCR to the scanned PDF pages to correctly recognize and extract the embedded text.