anthropic-pdf

Automates PDF reading, extraction, merging, splitting, rotating, watermarking, creating, filling, encrypting, decrypting, image extraction, and OCR workflows using Python libraries.

820|59|Updated Jun 19, 2026
One-click install
npx skills add https://github.com/modiqo/skillspec --skill anthropic-pdf-modiqo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anthropic-pdf
Source: https://github.com/modiqo/skillspec/tree/main/examples/pdf
Command: npx skills add https://github.com/modiqo/skillspec --skill anthropic-pdf-modiqo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pdf2image, pillow, pytesseract, poppler_utils, qpdf_tool, imagemagick, pdftk_tool, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines PDF processing tasks, such as reading, extracting text, merging, splitting, rotating, watermarking, creating, filling, encrypting, decrypting, image extraction, and OCR workflows, significantly reducing manual effort and increasing accuracy.

Core Features & Use Cases

  • PDF Reading and Extraction: Extract text and tables from PDF files, preserving layout and formatting.
  • PDF Manipulation: Merge, split, rotate, crop, repair, optimize, watermark, encrypt, or decrypt PDFs.
  • Form Filling: Fill PDF forms programmatically with structured data.
  • OCR: Convert scanned PDFs to searchable text using OCR technology.
  • Use Case: For instance, you can automate the process of extracting data from multiple PDF invoices and converting them into a unified spreadsheet for financial analysis.

Quick Start

Use the 'anthropic-pdf' skill to fill out the form within the attached 'tax-return.pdf' and save it as 'filled-tax-return.pdf'.

Frequently Asked Questions about anthropic-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 while preserving the layout?

To extract text and tables from a PDF while preserving layout and formatting, you can automate the workflow using libraries like pdfplumber and pypdf to accurately read and isolate the document content.

What is the best way to automate filling out multiple PDF forms programmatically?

Automating PDF form filling programmatically involves using a Python library to map structured data into the form fields of documents like tax returns, saving the populated output as a new PDF file.

Can I perform OCR on scanned PDFs to convert them into searchable text?

Yes, you can perform OCR on scanned PDFs to convert them into searchable text by utilizing pytesseract alongside pdf2image and poppler_utils to process the document images and extract the underlying text.

Do I need to install external tools like poppler_utils and imagemagick to merge and split PDFs?

Merging and splitting PDFs primarily requires Python libraries like pypdf, but advanced manipulation, OCR, and image extraction require external dependencies including poppler_utils, imagemagick, qpdf_tool, and pdftk_tool.

How do I add watermarks and encrypt PDF files in an automated workflow?

Adding watermarks and encrypting PDF files in an automated workflow is achieved by applying Python scripts that leverage pypdf and reportlab to overlay security layers and visual markers onto the document.

Why does PDF data extraction fail on certain secured or scanned documents?

PDF data extraction often fails on scanned documents because they lack embedded text, requiring OCR processing, or on secured documents that need decryption via qpdf_tool before text and table extraction can proceed.