pdf

Extract text and tables from PDFs using Python libraries.

Updated Feb 3, 2026
One-click install
npx skills add https://github.com/lv7dev/shop_v2 --skill pdf-lv7dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/lv7dev/shop_v2/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/lv7dev/shop_v2 --skill pdf-lv7dev

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables automation of routine PDF tasks, including extracting text and tables, creating and merging PDFs, and filling or annotating forms, eliminating manual, repetitive work.

Core Features & Use Cases

  • Extract text and tables from PDFs for data pipelines and reporting.
  • Create, merge, split, and annotate PDFs, and automatically fill fillable and non-fillable forms.
  • Use Case: prepare a batch of invoices by extracting data, compiling a summary, and generating filled PDFs for submission.

Quick Start

Run simple workflows to process a PDF by using the included Python scripts. For example:

  • Generate field metadata: python scripts/extract_form_field_info.py input.pdf fields.json
  • Fill fields and produce a filled PDF: python scripts/fill_fillable_fields.py input.pdf fields.json output.pdf
  • Optionally convert pages to images: python scripts/convert_pdf_to_images.py input.pdf images_dir

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 PDF files using Python?

You can extract text and tables from PDFs using the included Python scripts with the pypdf and pdfplumber libraries, generating structured outputs for data pipelines and reporting without manual repetitive work.

Can I automatically fill both fillable and non-fillable PDF forms?

Yes, you can automatically fill PDF forms by generating field metadata with extract_form_field_info.py, then applying values with fill_fillable_fields.py to produce completed PDFs for administrative processing and submission.

What Python libraries are required to automate PDF workflows?

Automating PDF workflows requires Python along with pypdf, pdfplumber, pdf2image, and Pillow to handle text extraction, form filling, merging, and page conversion tasks with minimal manual intervention.

What is the best way to merge, split, and annotate PDFs in a data pipeline?

The best way to merge, split, and annotate PDFs in a data pipeline is using Python scripts with pypdf to automate composition and annotation, eliminating manual repetitive work for administrative use cases.

How do I convert PDF pages to images for processing?

To convert PDF pages to images, run the convert_pdf_to_images.py script which uses the pdf2image and Pillow libraries to transform input PDF documents into image files within a specified directory.