pdf-processing

0xkynz's avatarfrom 0xkynz

Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

⭐1stars🔀0forks📁View on GitHub🕐Updated Dec 23, 2025

When & Why to Use This Skill

The PDF Processing skill empowers Claude to handle complex document tasks, including high-accuracy text and table extraction, automated form filling, and seamless document manipulation like merging or splitting. It is designed to bridge the gap between static PDF files and dynamic data workflows, enhancing productivity by automating repetitive document-heavy tasks and converting unstructured files into actionable data.

Use Cases

  • Financial Auditing: Automatically extract complex tables from bank statements and annual reports to convert them into structured CSV or JSON formats for analysis.
  • Contract Management: Streamline legal workflows by merging multiple PDF exhibits into a single document or splitting large contracts into specific sections for easier review.
  • Automated Form Filling: Programmatically populate PDF forms for HR onboarding, insurance claims, or government applications using data from external sources.
  • Content Digitization: Extract text from multi-column layouts and formatted documents while preserving the original structure for knowledge base integration or summarization.
namepdf-processing
descriptionExtract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when the user mentions PDFs, forms, or document extraction.

PDF Processing Skill

This skill provides capabilities for working with PDF documents.

Quick Start

Use pdfplumber to extract text from PDFs:

import pdfplumber

with pdfplumber.open("document.pdf") as pdf:
    text = pdf.pages[0].extract_text()

Capabilities

Text Extraction

  • Extract text from single or multiple pages
  • Preserve layout and formatting
  • Handle multi-column documents

Table Extraction

  • Identify and extract tables
  • Convert to structured data (CSV, JSON)
  • Handle complex table layouts

Form Operations

  • Fill PDF forms programmatically
  • Extract form field values
  • Create fillable forms

Document Operations

  • Merge multiple PDFs
  • Split PDFs by page
  • Rotate pages
  • Add watermarks

Best Practices

  1. Always check if the PDF is encrypted before processing
  2. Handle OCR cases for scanned documents
  3. Validate extracted data for accuracy
  4. Use appropriate libraries (pdfplumber for extraction, PyPDF2 for manipulation)