pdf

Extract text, merge, and split PDF documents with Python.

19|4|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/jarredkenny/agency-ai --skill pdf-jarredkenny
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/jarredkenny/agency-ai/tree/main/roles/orchestrator/skills/pdf
Command: npx skills add https://github.com/jarredkenny/agency-ai --skill pdf-jarredkenny

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDF processing is often tedious and manual: extracting text, merging multiple documents, and splitting large files into manageable chunks.

Core Features & Use Cases

  • Text extraction: Retrieve plain text from PDFs for indexing, searching, or analysis.
  • Merge and split: Combine several PDFs into a single document or split a document into per-page files.
  • Batch processing: Apply operations to large sets of PDFs in automated workflows (invoices, reports, archives).

Quick Start

Use the pdf skill to extract text from a sample file document.pdf with a simple Python snippet. For example: from pypdf import PdfReader reader = PdfReader("document.pdf") text = "" for page in reader.pages: text += page.extract_text() or "" print(len(text))

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 for indexing and searching?

To extract text from a PDF, use the Python pypdf library to read document pages and compile plaintext strings. This process retrieves searchable content from PDFs for indexing, searching, or analysis workflows.

What is the best way to merge multiple PDF files into a single document?

The best way to merge PDF files is using Python libraries like pypdf to combine several documents into one. This allows you to consolidate multiple PDFs into a single, manageable file for archival or reporting.

Can I split a large PDF into individual page files in Python?

Yes, you can split a large PDF into individual page files using Python. The Skill processes PDF documents to split pages, allowing you to break large files into per-page files for bulk document preparation.

Do I need pdfplumber to automate invoice digitization workflows?

You need Python libraries like pypdf and pdfplumber to automate invoice digitization workflows. These tools process PDF documents to extract text, enabling automated batch processing for invoices and archival data extraction.

How do I process image-based PDFs that require text extraction?

To process image-based PDFs requiring text extraction, use the optional pdf2image tool alongside Python libraries like pdfplumber. This handles image-based PDFs by converting visual content for text extraction workflows.