pdf

Extract text and tables from PDF files using pdfplumber and PyPDF2.

1|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/ChenYCL/claude-skills-collection --skill pdf-chenycl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ChenYCL/claude-skills-collection/tree/main/pdf
Command: npx skills add https://github.com/ChenYCL/claude-skills-collection --skill pdf-chenycl

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the often cumbersome process of interacting with PDF documents, from extracting valuable information to creating new files and automating repetitive tasks.

Core Features & Use Cases

  • Data Extraction: Extract text and tables from PDFs for analysis or further processing.
  • Document Manipulation: Merge multiple PDFs, split large documents, or reorder pages.
  • Form Handling: Fill out PDF forms programmatically and add watermarks.
  • OCR Capabilities: Convert scanned documents (images within PDFs) into machine-readable text.
  • Creation & Security: Generate new PDFs from scratch and encrypt existing ones.

Quick Start

Use the pdf skill to extract all text from the attached file '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 a PDF for data analysis?

Extract text and tables from a PDF using pdfplumber to parse structured content and return machine-readable text. This allows you to programmatically isolate document data for downstream processing and analysis.

Can I perform OCR on a scanned PDF to get machine-readable text?

You can perform OCR on a scanned PDF to get machine-readable text by converting pages to images with pdf2image and applying pytesseract. This process recognizes text within scanned document images for digital extraction.

What is the best way to merge multiple PDF files or split a large document?

The best way to merge multiple PDF files or split a large document is using PyPDF2 to concatenate and divide pages. This enables programmatic document manipulation by reordering, splitting, or combining multiple PDF sources.

How do I fill out a PDF form programmatically and add a watermark?

To fill out a PDF form programmatically and add a watermark, use PyPDF2 and reportlab to inject form data and overlay watermark images. This automates form handling by embedding customizable content directly into existing documents.

Does this PDF processing approach support creating new files and encrypting existing ones?

This PDF processing approach supports creating new files and encrypting existing ones using reportlab and PyPDF2. You can generate new documents from scratch or apply encryption to secure existing PDF files programmatically.