pdf

Extract text, tables, images, and form data from PDF documents.

Updated Jul 1, 2026
One-click install
npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill pdf-jasrajtulsi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/jasrajtulsi/GRAD-SCOPE/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/jasrajtulsi/GRAD-SCOPE --skill pdf-jasrajtulsi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, pillow, and includes scripts (resource) components.

What problem does it solve?

It removes the manual overhead of reading, extracting, splitting, merging, and filling PDF documents so you can automate routine document work.

Core Features & Use Cases

  • PDF reading and extraction: pull text, tables, metadata, and images from PDFs, including scanned documents with OCR.
  • Document transformation: merge files, split pages, rotate pages, add watermarks, encrypt or decrypt, and create new PDFs.
  • Form workflows: detect fillable fields when available, or estimate coordinates for non-fillable PDFs and place annotations accurately.
  • Use case: process a batch of invoices, extract key fields, and generate a cleaned, searchable output set with filled forms or annotated results.

Quick Start

Use the pdf skill to extract the text from the attached PDF and return a clean summary of its contents.

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 in Python?

PDF text and table extraction uses pdfplumber and pypdf to parse document files and pull clean text, tables, metadata, and images. It handles coordinate-aware parsing to return structured, usable data from both native and scanned documents.

Can I fill forms in a non-fillable PDF using Python?

Filling non-fillable PDFs is supported by estimating coordinates and placing annotations accurately. When fillable fields are available, the workflow detects them automatically; otherwise, it calculates positions using pdf2image and Pillow to render and validate placements.

How do I perform OCR on a scanned PDF document?

OCR for scanned PDF documents is handled by rendering pages into images with pdf2image and Pillow. The process converts visual document content into searchable text, enabling text extraction from image-based or scanned files that lack embedded text layers.

What's the best way to merge, split, and watermark PDF files in Python?

Merging, splitting, rotating, and watermarking PDF files are core document transformation tasks supported by pypdf. It manipulates document structures directly to combine pages, extract specific sections, or apply overlays, generating modified PDF outputs.

Do I need pypdf and pdfplumber to automate PDF processing workflows?

Yes, pypdf and pdfplumber are required dependencies for PDF automation, along with pdf2image and Pillow. They provide the foundational libraries for text extraction, coordinate-aware parsing, rendering, and validation across common document processing tasks.

How do I extract images and metadata from PDF files?

Extracting images and metadata from PDF files uses pdfplumber and pypdf to parse document assets and properties. The process isolates visual elements and document attributes, returning them alongside extracted text and tables for comprehensive data retrieval.