pdf

Extract text and tables from PDFs into CSV or JSON.

1|Updated Jan 25, 2026
One-click install
npx skills add https://github.com/hoanghd218/tranvanhoang.com --skill pdf-hoanghd218
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/hoanghd218/tranvanhoang.com/tree/main/.claude/skills/document-skills/pdf
Command: npx skills add https://github.com/hoanghd218/tranvanhoang.com --skill pdf-hoanghd218

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents often require repetitive tasks like extracting text and tables, filling forms, and performing basic page operations. This Skill provides a programmable workflow to automate these tasks end-to-end.

Core Features & Use Cases

  • Extract text and tables from PDFs into structured formats (CSV, JSON) for data analysis or archival.
  • Fill fillable PDF forms and annotate non-fillable fields using scripted data.
  • Perform common PDF manipulations such as merge, split, rotate, and batch processing across many documents.

Quick Start

Process document.pdf to extract all text and tables into structured formats and apply form filling if data is provided.

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 documents into structured data?

You can fill both fillable PDF forms and non-fillable fields programmatically. The automation applies scripted data to invoices and reports, reducing manual document handling by annotating fields directly through Python libraries like pypdf and Pillow.

What is the best way to merge and split PDF files in batch?

This Skill relies on pypdf, pdf2image, and Pillow to parse PDFs and render previews. These Python dependencies handle text extraction, page manipulation, and image rendering, requiring a Python environment setup before executing the automation workflow.

Can I render PDF pages as images for preview using Python?

Yes, PDF page rendering generates image previews using pdf2image and Pillow. These libraries convert PDF pages into visual formats, allowing you to inspect document layouts and verify form filling results programmatically during batch processing.

What are the limitations of automating PDF data extraction?

PDF extraction effectiveness depends on document structure, as scanned images require OCR capabilities beyond standard text parsing. Complex table layouts may need additional configuration, and form filling is limited to fields identifiable by pypdf within the document structure.