pdf

Extract, merge, split, create, and fill PDF documents using Python libraries and command-line tools.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Syedyasir001/RVULibPass --skill pdf-syedyasir001
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Syedyasir001/RVULibPass/tree/main/.agent/skills/library/pdf
Command: npx skills add https://github.com/Syedyasir001/RVULibPass --skill pdf-syedyasir001

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, 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 tools, and tasks like filling forms, extracting tables, or handling scanned documents each require different approaches. This Skill consolidates PDF operations into one guide with ready-to-use code and scripts. ## Core Features & Use Cases - PDF Manipulation: Merge, split, rotate, encrypt, decrypt, watermark, and extract text, tables, images, and metadata using pypdf, pdfplumber, reportlab, qpdf, and poppler-utils. - Form Filling: Fill both fillable PDF forms (via field extraction scripts) and non-fillable forms (via coordinate-based text annotations with validation). - OCR & Creation: Run OCR on scanned PDFs with pytesseract and generate new PDFs with reportlab or JavaScript libraries like pdf-lib. - Use Case: You receive a non-fillable government form as a PDF. The Skill extracts the form structure, validates your field coordinates, fills it with text annotations, and verifies the output visually. ## Quick Start Use the pdf skill to merge the three attached PDF reports into a single document and extract the tables from page two into a spreadsheet.

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 do I fill a PDF form that has no fillable fields?▼

Extract the form structure with pdfplumber to get label and line coordinates, then add text annotations at those positions using pypdf FreeText annotations. Validate bounding boxes before filling to avoid overlapping or misplaced text.

What is the difference between pypdf and pdfplumber?▼

pypdf handles structural operations like merging, splitting, rotating, and encrypting PDFs, while pdfplumber specializes in extracting text and tables with precise layout and coordinate information. They are often used together.

Can I extract text from a scanned PDF?▼

Scanned PDFs contain images rather than text layers, so standard extraction fails. Convert pages to images with pdf2image, then run OCR with pytesseract to produce searchable text.

Why do subscript characters render as black boxes in reportlab PDFs?▼

ReportLab's built-in fonts lack Unicode subscript and superscript glyphs, so those characters render as solid boxes. Use the <sub> and <super> XML markup tags inside Paragraph objects instead.