pdf

Extract text and tables from PDFs into JSON or CSV.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of filling out PDF forms and extracting data from PDF documents, saving significant time and effort.

Core Features & Use Cases

  • Fillable Form Filling: Programmatically populate fields in PDFs that have interactive form elements.
  • Non-Fillable Form Filling: Use annotation-based methods to add text to PDFs without pre-defined form fields.
  • Data Extraction: Extract text and tables from PDFs into structured formats like JSON or CSV.
  • Use Case: Automatically process a batch of scanned application forms by extracting user-submitted data and filling out a summary report.

Quick Start

Use the pdf skill to fill out the attached form 'application.pdf' with the provided data.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Can I extract tables and text from PDF documents into structured formats?

Yes, extract text and tables from PDF documents into structured formats like JSON or CSV using pypdf and pdfplumber. This converts unstructured PDF content into usable data for downstream automation tasks.

How do I process scanned PDFs that need OCR?

Process scanned PDFs by converting pages to images using pdf2image, then applying pytesseract for OCR text extraction. This handles non-digital PDF content that standard text extraction cannot read.

What is the best way to fill out PDF forms that don't have interactive fields?

Fill out non-fillable PDFs using annotation-based methods to add text directly to the document. This approach bypasses the need for pre-defined interactive form elements, enabling data entry on flat documents.

Do I need pypdf and pdfplumber to extract data from PDFs?

You need pypdf and pdfplumber for PDF data extraction, alongside pdf2image and pytesseract for scanned document OCR. These dependencies enable text, table, and form processing across various PDF types.

What are the limitations of pypdf for PDF data extraction?

pypdf is limited to digital text and interactive form field extraction, requiring pdf2image and pytesseract for scanned document OCR. Complex table extraction relies on pdfplumber rather than pypdf.