pdf

Parse and extract text and tables from PDF documents using Python libraries.

Updated Apr 29, 2026
One-click install
npx skills add https://github.com/niduran-orion/krnl-desk --skill pdf-niduran-orion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/niduran-orion/krnl-desk/tree/main/resources/default-skills/pdf
Command: npx skills add https://github.com/niduran-orion/krnl-desk --skill pdf-niduran-orion

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF documents are a staple in business and personal workflows, yet handling reading, extracting data, merging, splitting, rotating, annotating, and applying OCR can be repetitive and error-prone.

Core Features & Use Cases

  • Text and table extraction from PDFs for indexing, reporting, or data migration.
  • Merge, split, rotate, and watermark PDFs, plus annotations and forms handling.
  • OCR on scanned PDFs to create searchable archives and improve accessibility.
  • Batch-process large collections of documents to streamline administrative workflows.

Quick Start

Ask me to extract all text from a PDF file and return the results.

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 for data migration?

PDF text and table extraction uses pdfplumber to parse binary streams and identify structured table layouts for indexing and reporting. It handles batch processing of large document collections to streamline administrative workflows.

Can I run OCR on scanned PDFs to create searchable archives?

OCR on scanned PDFs is supported using pytesseract with pdf2image and Pillow to render pages as images and recognize text. This creates searchable archives and improves document accessibility.

What's the best way to automate filling PDF forms in bulk?

Automating PDF form filling is handled by pypdf, which manipulates form fields within binary streams for batch processing. This streamlines repetitive administrative tasks and reduces manual data entry errors.

Does this approach work for merging, splitting, and watermarking PDFs?

Merging, splitting, rotating, and watermarking PDFs are core features supported by pypdf to manipulate document structures. It parses binary streams to apply annotations and manage page-level modifications across files.

What Python libraries are needed to parse PDF binary streams and render images?

The required Python libraries include pypdf, pdfplumber, pdf2image, Pillow, and pytesseract. They handle parsing binary streams, rendering images, and performing OCR on scanned documents.

Why does text extraction fail on scanned PDF documents without OCR?

Standard text extraction fails on scanned PDFs because the content is embedded as images rather than selectable text layers. Running OCR via pytesseract and pdf2image is required to recognize and extract the text.