pdf

Fill PDF form fields and extract text, tables, and metadata.

42|6|Updated Apr 18, 2026
One-click install
npx skills add https://github.com/BoHeFan/academic-paper-writer-pro-2 --skill pdf-bohefan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/BoHeFan/academic-paper-writer-pro-2/tree/main/pdf
Command: npx skills add https://github.com/BoHeFan/academic-paper-writer-pro-2 --skill pdf-bohefan

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, pdf2image, PIL, ImageMagick, pytesseract, pypdfium2, pdf-lib, pdfjs-dist, reportlab, qpdf, poppler-utils, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill removes the manual effort and guesswork involved in reading, extracting, and populating data inside PDFs, especially when dealing with fillable fields, scanned documents, tables, and structured layouts.

Core Features & Use Cases

  • PDF text and table extraction: Extract readable text and tables from PDFs using Python-based tooling, including layout-aware extraction.
  • PDF form handling: Detect fillable form fields, validate provided values, and fill them with correct rendering.
  • Non-fillable form coordinate workflow: Extract form structure/coordinates, validate bounding boxes, and place text into PDFs via annotations when fields aren’t truly interactive.

Quick Start

Use the pdf Skill to fill a non-fillable application form by converting the PDF pages to images, defining entry bounding boxes in fields.json, and running the annotation fill step to produce a completed output PDF.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract tables and text from a PDF document using Python?

Extract text and tables from PDFs using layout-aware Python tools like pdfplumber. This accurately parses structured layouts for document digitization and structured data reuse.

What is the best way to fill a non-fillable PDF form?

Fill non-fillable PDF forms by converting pages to images, defining entry bounding boxes, and placing text via annotations. This coordinate mapping method validates boxes and produces a completed output PDF.

Can I use Python to detect and fill interactive PDF form fields?

Yes, Python can detect interactive PDF form fields, validate provided values, and fill them with correct rendering. This automated workflow handles both fillable and non-fillable PDF documents reliably.

Does PDF OCR preparation work for scanned documents?

Yes, OCR preparation works for scanned documents by converting PDF pages to images using pdf2image and pytesseract. This preprocessing step makes scanned content readable for subsequent text extraction.

Why does my coordinate mapping fail when placing text in PDFs?

Coordinate mapping fails when bounding boxes are not properly validated against the PDF structure. Reliable coordinate transforms and deterministic scripts are required to ensure accurate text placement.