pdf

Extract text, tables, and forms from PDFs using pypdf, pdfplumber, reportlab, and pytesseract.

Updated Jun 6, 2026
One-click install
npx skills add https://github.com/Ritabrata-Chakraborty/Claude-Setup --skill pdf-ritabrata-chakraborty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Ritabrata-Chakraborty/Claude-Setup/tree/main/skills/pdf
Command: npx skills add https://github.com/Ritabrata-Chakraborty/Claude-Setup --skill pdf-ritabrata-chakraborty

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

The manual process of reading, filling out, and extracting information from PDF documents is time-consuming and prone to errors. This skill solves this by automating these tasks.

Core Features & Use Cases

  • PDF Processing: Handle PDFs through various operations such as reading, merging, splitting, rotating pages, adding watermarks, creating new PDFs, filling forms, encrypting/decrypting, and extracting images.
  • OCR on Scanned PDFs: Convert scanned PDFs to searchable text.
  • Use Case: A user wants to extract all the tables from a complex PDF report. This skill can automate the extraction and save the data into a structured format like CSV or Excel.

Quick Start

Run the script with extract_tables("input.pdf") to automatically extract all tables from the provided PDF.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract tables from a PDF report automatically?

To extract tables from a PDF automatically, you can run a script using the extract_tables function on your input file. This skill processes complex PDF reports and saves the extracted table data into a structured format like CSV or Excel for immediate downstream use.

Can I perform OCR on scanned PDFs to make them searchable?

Yes, you can perform OCR on scanned PDFs to convert them into searchable text. This skill uses the pytesseract library to process scanned documents, allowing you to extract text from images embedded within PDF files for administrative and content processing.

What Python libraries are required to automate PDF form filling and text extraction?

Automating PDF form filling and text extraction requires the pypdf, pdfplumber, reportlab, and pytesseract Python libraries. These dependencies provide the underlying functionality to read, manipulate, and generate PDF documents within your automated workflows.

What is the best way to merge, split, and add watermarks to PDF documents?

The best way to merge, split, and add watermarks to PDF documents is through an automated script leveraging pypdf and reportlab. This approach handles various page manipulation operations programmatically, reducing manual errors and streamlining financial and administrative tasks.

Does this PDF processing approach support encrypting and decrypting files?

Yes, this PDF processing approach supports encrypting and decrypting files to secure sensitive information. It handles comprehensive document operations including reading, merging, splitting, rotating pages, filling forms, and extracting images from secure PDF documents.