pdf-offline

Orchestrates Python libraries to read, write, merge, split, and fill PDFs offline.

50|3|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/okwinds/miscellany --skill pdf-offline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf-offline
Source: https://github.com/okwinds/miscellany/tree/main/agent/skills/pdf-offline
Command: npx skills add https://github.com/okwinds/miscellany --skill pdf-offline

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill enables offline PDF processing, including reading text and tables, merging and splitting documents, generating new PDFs, and filling forms, all without needing network access.

Core Features & Use Cases

  • Read and extract text and tables from PDFs for archiving and data entry.
  • Merge multiple PDFs and split large documents into smaller files.
  • Generate structured PDFs from data and automate form digitization.
  • Fill both fillable and non-fillable forms and annotate documents for offline workflows.
  • Use case: process a batch of invoices to extract data and populate an ERP-ready spreadsheet.

Quick Start

Install dependencies and run common tasks with the built-in CLI and Python scripts. Example: read a PDF with the built-in tool and merge multiple PDFs.

Frequently Asked Questions about pdf-offline

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

FAQPage Schema
How do I extract text and tables from a PDF offline without network access?

Offline PDF data extraction can be fully automated using Python libraries like pypdf to read text and tables directly, without network access. It orchestrates scripts to parse document contents for archiving and data entry.

How do I fill both fillable and non-fillable PDF forms offline using Python?

Offline PDF form filling is handled by Python scripts that populate both fillable and non-fillable forms. It leverages libraries like reportlab and pypdf to automate form digitization and annotate documents locally.

Do I need Python 3 and specific libraries to merge and split PDFs offline?

Yes, offline PDF processing requires Python 3 along with specific dependencies including pypdf, pdf2image, Pillow, and reportlab. These libraries provide the necessary scripts to merge and split documents locally.

What is the best way to batch process invoices and extract data to a spreadsheet offline?

Offline batch PDF processing is best handled by running Python scripts that extract invoice data and populate an ERP-ready spreadsheet. It uses pypdf to read documents and automate data entry workflows without network access.

Can I generate structured PDFs from data without an internet connection?

Generating structured PDFs from data offline is supported using the reportlab Python library. It provides scripts to create new documents locally, enabling document generation workflows without needing network access.

Are there limitations when converting PDF pages to images offline with pdf2image and Pillow?

Offline PDF to image conversion requires local dependencies, meaning you must install pdf2image and Pillow properly. Processing large documents locally demands adequate system resources to avoid performance bottlenecks.