pdf

Automate PDF text and table extraction, creation, merging, splitting, and OCR.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pytesseract, pdf2image, pypdfium2, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill eliminates the tedious manual work of filling out PDF forms, extracting data from documents, and performing various PDF manipulations, saving you hours of repetitive effort.

Core Features & Use Cases

  • Automated Form Filling: Programmatically fill both fillable and non-fillable PDF forms with precise data.
  • Data Extraction: Accurately pull text and structured table data from any PDF document into usable formats.
  • Document Manipulation: Create new PDFs, merge multiple documents, split large files, rotate pages, and manage metadata.
  • Use Case: Automatically process a batch of scanned invoices to extract vendor names, invoice numbers, and total amounts, then compile them into a spreadsheet for accounting.

Quick Start

Use the pdf skill to extract all text from the attached file 'quarterly_report.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 PDF documents programmatically?

Text and table extraction from PDFs uses libraries like pdfplumber and pypdf to parse document content into structured formats. These tools read PDF structure, identify text regions and table boundaries, and output data as strings or dataframes suitable for further processing or export to CSV or spreadsheet applications.

Can I automatically fill PDF forms with data?

Automated form filling writes data directly into fillable form fields using pypdf and reportlab, which modify PDF field values programmatically. For non-fillable forms, coordinate-based positioning and text rendering overlay data at precise locations, enabling batch processing of invoice templates, applications, or contracts.

What's the best way to merge, split, or rotate pages in multiple PDF files?

PDF manipulation—merging documents, splitting pages, and rotating content—uses pypdf and qpdf to combine or segment files at the page level. These operations rebuild PDFs with reordered or filtered pages and updated metadata, supporting batch workflows on large document sets.

How do I extract text from scanned or image-based PDFs using OCR?

OCR on scanned PDFs combines pdf2image to convert pages to image files with pytesseract, which recognizes text from image data. This pipeline handles documents without embedded text layers, converting visual content into searchable, machine-readable text.

Can I process large batches of PDFs automatically without manual intervention?

Batch PDF processing automates workflows across multiple files by scripting extraction, form filling, and manipulation tasks. Command-line utilities like pdftotext and pdftk integrate with Python scripts to handle hundreds of documents in sequence, extracting metadata and applying transformations at scale.

What are the limitations when working with encrypted or complex PDF formats?

PDF processing tools like pypdf and pdfplumber handle standard PDFs well but may struggle with heavily encrypted documents, compressed content, or non-standard layouts. Testing against your specific document types and using fallback OCR when embedded text extraction fails ensures reliable results across varied source documents.

Related Skills