pdf

Automate PDF workflows including extraction, merging, splitting, and OCR.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/9999-12-31/Dr.Claw --skill pdf-9999-12-31
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/9999-12-31/Dr.Claw/tree/main/src/qwenpaw/agents/skills/pdf-zh
Command: npx skills add https://github.com/9999-12-31/Dr.Claw --skill pdf-9999-12-31

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF files are ubiquitous but handling them programmatically—extracting text/tables, merging, splitting, rotating pages, applying watermarks, creating new PDFs, filling forms, encrypting/decrypting, and OCR for scanned documents—requires specialized tooling and repetitive manual effort.

Core Features & Use Cases

  • Automated PDF processing: read, modify, and generate PDFs from code.
  • Form handling: fillable and non-fillable forms, including extraction of fields and coordinates.
  • Document workflows: merge/split/rotate/add watermark/encrypt/decrypt and OCR for scans; batch processing.

Quick Start

Provide a sample PDF file and run the skill to extract text or fill forms and receive the resulting document.

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 documents programmatically?

PDF text and table extraction is handled using pdfplumber and pypdf to parse document content. This skill automates reading PDFs with robust validation, extracting structured text and tabular data from standard PDF files.

Can I automate PDF form filling for both fillable and non-fillable documents?

PDF form filling works for both fillable and non-fillable documents by extracting field coordinates and overlaying data. The skill processes form fields programmatically and outputs the completed PDF document.

Does OCR work with scanned PDFs to extract text from images?

OCR for scanned PDFs is supported using pdf2image and Pillow to process image-based pages. The skill applies optical character recognition to convert scanned document images into extractable text data.

What is the best way to merge, split, and rotate PDF pages in an automated workflow?

Merging, splitting, and rotating PDF pages is best handled through this skill's batch processing capabilities using pypdf. It manipulates document page structures programmatically to transform and reorganize PDF files efficiently.

How do I add watermarks and encrypt PDF files for document security?

Adding watermarks and encrypting PDF files is done by applying overlay images and encryption parameters via pypdf. The skill secures document content programmatically, producing protected PDF outputs with access restrictions.

What are the limitations when processing large PDF files with Python libraries?

Processing large PDF files with pdfplumber and pypdf may face memory constraints and parsing challenges with complex layouts. The skill mitigates these limitations through robust validation and error handling during document extraction.