pdf

Extract text and tables from PDFs and fill form fields.

2|3|Updated Dec 20, 2025
One-click install
npx skills add https://github.com/aicoder2048/story-writer --skill pdf-aicoder2048
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/aicoder2048/story-writer/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/aicoder2048/story-writer --skill pdf-aicoder2048

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 tedious process of filling out PDF forms and extracting data from PDF documents, saving significant time and reducing manual errors.

Core Features & Use Cases

  • Fillable & Non-Fillable Form Handling: Supports both types of PDF forms, whether they have pre-defined fields or require annotation-based filling.
  • Text & Table Extraction: Accurately extracts plain text and structured data from tables within PDFs.
  • Use Case: Automatically process a batch of scanned application forms by extracting applicant details and filling in standardized response fields.

Quick Start

Use the pdf skill to fill out the form in 'application.pdf' with the provided details.

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 document using Python?

To extract text and tables from a PDF, you can use the pdfplumber library to accurately pull structured data and plain text. This approach addresses needs for document processing and data digitization from standard PDF files.

Can I automate filling out both fillable and non-fillable PDF forms?

Yes, you can automate filling both fillable and non-fillable PDF forms. The skill uses pypdf for pre-defined fields and pdf2image with annotation-based filling for non-fillable forms, reducing manual errors.

Does pdf2image and pytesseract work for extracting data from scanned application forms?

Yes, pdf2image and pytesseract work for scanned application forms by converting PDFs to images and applying OCR. This handles data extraction and digitization for documents lacking embedded text.

What is the best way to process a batch of PDF documents for data extraction?

The best way to process a batch of PDF documents for data extraction is automating the workflow with Python libraries like pypdf and pdfplumber. This digitizes applicant details and structured tables efficiently.

Are there limitations when manipulating PDFs with pypdf compared to other libraries?

While pypdf handles form filling well, it may have limitations extracting complex tables compared to pdfplumber. Use pdfplumber for structured data extraction and pypdf for manipulating fillable form fields.