pdf-handler

Automate PDF manipulation tasks like extraction, merging, and OCR.

1|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/kangnam7654/ai-config-sync --skill pdf-handler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-handler
Source: https://github.com/kangnam7654/ai-config-sync/tree/main/claude-code/skills/pdf-handler
Command: npx skills add https://github.com/kangnam7654/ai-config-sync --skill pdf-handler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pytesseract, pdf2image, poppler-utils, qpdf, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines all your PDF-related tasks, from filling out forms and extracting text or tables to merging, splitting, and securing your documents, saving you significant time and effort.

Core Features & Use Cases

  • Comprehensive PDF Manipulation: Handles text extraction, table extraction, form filling (both fillable and non-fillable fields), PDF creation, merging, splitting, rotation, watermarking, encryption, and image extraction.
  • OCR for Scanned PDFs: Converts scanned documents into searchable PDFs.
  • Use Case: You need to combine several PDF reports into a single document, add a watermark to all pages, and then encrypt the final file for secure sharing.

Quick Start

Use the pdf-handler skill to extract all text from the document named 'annual_report.pdf'.

Frequently Asked Questions about pdf-handler

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?

PDF text and table extraction is automated using pdfplumber and pypdf libraries to parse document content. The skill handles structured table extraction and raw text retrieval from standard PDF files, outputting readable data for downstream processing tasks.

Can I perform OCR on a scanned PDF to make it searchable?

OCR on scanned PDFs is supported using pytesseract and pdf2image to convert image-based documents into searchable text. This process transforms scanned document images into machine-readable and searchable PDF files using optical character recognition.

What's the best way to merge multiple PDFs and add a watermark?

Merging multiple PDFs and adding watermarks is handled through pypdf manipulation operations. The skill combines several documents into a single file and overlays watermark images or text onto specified pages, producing a unified and branded output document.

Does this approach support filling out both fillable and non-fillable PDF forms?

PDF form filling supports both fillable AcroForm fields and non-fillable flat documents. Using pypdf and reportlab, the skill injects data into interactive form fields or overlays text onto static pages to simulate form completion across various document formats.

How do I encrypt and decrypt a PDF file for secure sharing?

PDF encryption and decryption are executed using qpdf command-line tools for deterministic security operations. The skill applies password protection to restrict access and permissions, or removes existing encryption to allow document modification and content extraction.

Do I need Python libraries installed to split and rotate PDF pages?

Python libraries like pypdf and pdfplumber are required dependencies for splitting and rotating PDF pages. The environment must also include poppler-utils system binaries to support pdf2image rendering and ensure deterministic document manipulation operations function correctly.