pdf

Automate PDF manipulation and data extraction using Python libraries.

2.4k|275|Updated Jun 29, 2025
One-click install
npx skills add https://github.com/Project-N-E-K-O/N.E.K.O --skill pdf-project-n-e-k-o
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Project-N-E-K-O/N.E.K.O/tree/main/.agent/skills/pdf
Command: npx skills add https://github.com/Project-N-E-K-O/N.E.K.O --skill pdf-project-n-e-k-o

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a bundled toolkit to automate common PDF workflows, enabling batch text and table extraction, creation of new PDFs, merging and splitting documents, and intelligent form handling without manual scripting for each task.

Core Features & Use Cases

  • Automated PDF processing: extract text and tables from PDFs, create new documents, and perform batch merges or splits.
  • Form handling and digitization: fill fillable forms or annotate non-fillable forms for data capture and archival.
  • Batch automation: power end-to-end pipelines that ingest PDFs, transform content, and output structured data or finalized documents.

Quick Start

  • Install dependencies: pip install pypdf pdfplumber reportlab pdf2image Pillow
  • Run the provided scripts, for example:
    • python scripts/extract_form_field_info.py sample.pdf fields.json
    • python scripts/fill_fillable_fields.py sample.pdf fields.json filled.pdf
    • python scripts/convert_pdf_to_images.py sample.pdf images/

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I batch extract text and tables from PDFs using Python?

Batch PDF text and table extraction in Python is automated by scripts leveraging pypdf and pdfplumber to parse documents and capture structured content. The scripts output extracted data as JSON files for downstream pipelines and invoice processing.

Can I fill fillable PDF forms and annotate non-fillable documents automatically?

Yes, PDF form filling and annotation are fully scriptable. You can populate fillable fields using field mapping JSON files, or overlay annotations onto non-fillable documents for automated data capture and contract archival.

Does this PDF automation toolkit handle merging, splitting, and creating new documents?

The PDF automation toolkit handles document merging, splitting, and creation natively using pypdf and reportlab. It manipulates page structures and generates new PDFs to streamline report digitization and batch document workflows.

How do I convert PDF pages to images for processing with Python?

Converting PDF pages to images uses the pdf2image and Pillow dependencies. You run the provided conversion script to transform PDF documents into image files, enabling visual verification or downstream OCR processing pipelines.

What's the best way to automate invoice processing and report digitization from PDF files?

Automating invoice processing and report digitization is best achieved by chaining the toolkit's extraction and form-handling scripts. This creates end-to-end pipelines that ingest PDFs, transform content, and output structured data or finalized archives.