pdf

Automates PDF tasks including text extraction, merging, splitting, rotation, watermarking, form filling, encryption, and OCR.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/RugkeyPro/agent-skills --skill pdf-rugkeypro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/RugkeyPro/agent-skills/tree/main/pdf
Command: npx skills add https://github.com/RugkeyPro/agent-skills --skill pdf-rugkeypro

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs are pervasive in business and admin workflows, but common tasks like text extraction, table parsing, merging or splitting files, rotating pages, watermarking, creating new PDFs, filling forms, encrypting/decrypting, and OCR require multiple tools and manual steps; this skill centralizes and automates those operations.

Core Features & Use Cases

  • Read and extract text and tables from PDFs for downstream processing.
  • Merge, split, rotate, watermark, and create PDFs to consolidate documents.
  • Fill forms, encrypt/decrypt, and perform OCR on scanned PDFs to make content searchable.
  • Use case: digitize hundreds of invoices by extracting key fields and compiling into CSV.

Quick Start

Provide a PDF file and tell me the operation you want (e.g., extract text, merge PDFs, or fill a form), and I will execute it.

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 processing?

To extract text and tables from a PDF, this skill parses document streams using pdfplumber and pypdf. It reads PDF files directly to extract structured text and tabular data, enabling downstream processing like archiving or compiling data into CSV files for invoices and reports.

Can I merge, split, and watermark PDF files using Python?

Yes, you can merge, split, rotate, and watermark PDF files using Python. This skill manipulates PDF streams via pypdf to consolidate documents or apply watermarks, automating comprehensive document management and workflow preparation without manual steps.

Does this approach support filling forms and encrypting PDF documents?

This approach supports filling forms and encrypting PDF documents through stream manipulation. It automates fillable form preparation and applies encryption to secure PDF files, validating operations across document workflows like archiving and reporting.

How do I run OCR on scanned PDFs to make them searchable?

To run OCR on scanned PDFs and make content searchable, this skill renders PDF pages using pdf2image and Pillow. It processes scanned document images to extract text, transforming static scanned archives into searchable and digitized content.

Do I need to install specific Python libraries to process PDFs?

Yes, you need Python libraries installed to process PDFs effectively. This skill requires pypdf, pdfplumber, pdf2image, and Pillow to parse, render, and manipulate PDF streams, serving as the prerequisite environment for executing validation and comprehensive file handling.

What is the best way to digitize hundreds of invoices from PDF files?

The best way to digitize hundreds of invoices from PDF files is through automated text and table extraction. This skill parses invoice PDFs to extract key fields, compiling the structured data into a CSV format for streamlined document workflow management.