pdf

Extract text, fill forms, and manipulate PDFs using Python libraries.

2|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/zjy-dev/simpler --skill pdf-zjy-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/zjy-dev/simpler/tree/main/.opencode/skills/pdf
Command: npx skills add https://github.com/zjy-dev/simpler --skill pdf-zjy-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Simplifies complex PDF processing tasks like extracting text, merging/splitting documents, and handling forms, allowing users to efficiently manage PDF content.

Core Features & Use Cases

  • Text Extraction: Extracts text from PDFs with support for layout-aware extraction.
  • PDF Manipulation: Offers functions to merge, split, and rotate PDF pages.
  • Form Handling: Automates form filling and annotation tasks for PDF forms.
  • Use Case: When you need to fill out a multi-page PDF form and ensure the data is entered accurately and consistently.

Quick Start

To fill out a PDF form, run the following command: fill_pdf_form_with_annotations.py input.pdf fields.json 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 text from a PDF while preserving the layout?

To extract text from a PDF while maintaining its layout, use a processing library that supports layout-aware extraction. This ensures the textual content retains its original structural formatting during the document management process.

Can I automate filling out multi-page PDF forms with data?

Yes, you can automate PDF form filling by running a script that maps JSON field data to the corresponding form fields. This ensures data is entered accurately and consistently across the entire document.

Does Python support merging and splitting PDF documents?

Python supports merging and splitting PDF documents through libraries like pypdf. These provide functions to manipulate pages, allowing you to combine multiple files or separate specific pages.

What is the best way to handle PDF annotations and form fields?

The best way to handle PDF annotations and form fields is using dedicated libraries that automate form filling and annotation tasks. This allows for accurate, consistent data entry into multi-page PDF forms.

Do I need additional libraries to process PDFs with Python?

Yes, you need dependencies like pypdf, pdfplumber, and pdf2image to process PDFs with Python. These libraries provide the necessary functions for text extraction, form handling, and document manipulation.

Why does my PDF text extraction miss data in complex documents?

PDF text extraction may miss data in complex documents if the tool lacks layout-aware extraction capabilities. Using advanced libraries like pdfplumber helps capture text more accurately from intricate layouts.