pdf

Extract text and tables, create, merge, split, and fill PDF documents programmatically.

1|Updated Feb 18, 2026
One-click install
npx skills add https://github.com/Cramer-69/skills-repository-3af2d1c7 --skill pdf-cramer-69
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Cramer-69/skills-repository-3af2d1c7/tree/main/packages/claude/skills/pdf
Command: npx skills add https://github.com/Cramer-69/skills-repository-3af2d1c7 --skill pdf-cramer-69

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Working with PDF files programmatically is fragmented across many libraries and command-line tools, and filling PDF forms—especially non-fillable ones—requires tedious manual coordinate mapping. This Skill consolidates PDF manipulation into one guided workflow with ready-to-run scripts. ## Core Features & Use Cases - Text, Table, and Metadata Extraction: Pull content from PDFs using pypdf, pdfplumber, and poppler-utils, including OCR for scanned documents. - PDF Creation and Manipulation: Merge, split, rotate, encrypt, watermark, and generate PDFs with reportlab, qpdf, or pdf-lib. - Automated Form Filling: Detect fillable fields, extract field metadata to JSON, validate bounding boxes, and fill both fillable and non-fillable forms via scripts. - Use Case: Given a stack of non-fillable application forms, convert pages to images, map entry bounding boxes, validate them, and produce completed PDFs with text annotations. ## Quick Start Use the pdf skill to extract all tables from the attached report.pdf and save them to an Excel file.

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

Use pdfplumber's page.extract_tables() method to detect and extract tables from each PDF page. The results can be loaded into pandas DataFrames and exported to Excel or CSV for further analysis.

How to fill a PDF form that has no fillable fields?▼

Convert the PDF pages to PNG images, visually determine entry bounding boxes, record them in a fields.json file, validate the boxes, then add text annotations at those coordinates using pypdf FreeText annotations.

What is the difference between pypdf and pdfplumber?▼

pypdf handles structural operations like merging, splitting, rotating, encryption, and form field updates. pdfplumber specializes in content extraction, providing text with layout coordinates and table detection.

Can I extract text from a scanned PDF document?▼

Scanned PDFs contain images without a text layer, so standard parsers return nothing. Convert pages to images with pdf2image and run OCR with pytesseract to recover the text.

How do I merge or split PDF files from the command line?▼

Use qpdf with the --empty --pages syntax to merge files or select page ranges, and --split-pages to divide a document into groups. pdftk and pypdf's PdfWriter offer equivalent merge and split operations.

Why does my filled PDF form not display values in some viewers?▼

Many viewers need the NeedAppearances flag set to render form values correctly. The fill script calls set_need_appearances_writer(True), though some viewers may still show a save-changes dialog.