pdf

Extract text and tables from PDFs and manipulate pages programmatically.

29|11|Updated Nov 10, 2025
One-click install
npx skills add https://github.com/gexijin/vibe --skill pdf-gexijin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/gexijin/vibe/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/gexijin/vibe --skill pdf-gexijin

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Manually processing, extracting data from, or filling out PDF documents is a time-consuming and error-prone task. This Skill provides a comprehensive toolkit to automate these operations at scale, freeing you from tedious document work.

Core Features & Use Cases

  • Form Automation: Programmatically fill both fillable and non-fillable PDF forms, ensuring accuracy and speed.
  • Data Extraction: Extract text, structured tables, and metadata from any PDF, including scanned documents via OCR.
  • Document Manipulation: Merge, split, rotate pages, and add watermarks to PDFs, streamlining document management.
  • Use Case: Automatically process a batch of scanned legal contracts, extract key clauses and dates, and then fill out a summary form for each, saving hours of manual review and ensuring compliance.

Quick Start

Use the pdf skill to extract all text and tables from the attached file 'quarterly_report.pdf' and save them to a markdown file.

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 file?

Extract text and tables from PDFs using pdfplumber for structured data or pypdf for general text extraction. Both libraries parse PDF content programmatically, returning text strings and table objects that you can process, filter, or export to markdown, CSV, or JSON formats.

Can I automate filling out PDF forms programmatically?

Yes, automate form filling by programmatically populating fillable PDF fields using pypdf or reportlab. Define field mappings in JSON, then write scripts that merge your data with the form template, producing completed PDFs without manual intervention.

How do I extract data from scanned PDF documents?

Extract data from scanned PDFs using OCR via pytesseract and pdf2image. These tools convert scanned pages to images, run optical character recognition to extract text, then parse the results into structured data or markdown files for downstream processing.

What's the best way to merge, split, or rotate PDF pages?

Merge, split, and rotate PDF pages using pypdf, which provides page manipulation methods. Combine multiple PDFs, extract specific page ranges, rotate pages, and write the modified document back to disk—all in repeatable Python scripts for batch workflows.

Can I process PDFs at scale in batch workflows?

Yes, process large numbers of PDFs in batch workflows using Python scripts with pypdf, pdfplumber, and pytesseract. Chain extraction, transformation, and form-filling operations in loops or pipelines to automate document processing for reports, invoices, and legal contracts without manual work.

Do I need OCR to extract text from all PDFs?

No, OCR is only needed for scanned or image-based PDFs. For text-based PDFs, use pypdf or pdfplumber directly to extract text without OCR. Reserve pytesseract and pdf2image for scanned documents where text is embedded as images.