pdf

Extract text and tables from PDFs using pypdf, pdfplumber, and reportlab.

Updated Nov 17, 2025
One-click install
npx skills add https://github.com/ci/persops --skill pdf-ci
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/ci/persops/tree/main/modules/ai/skills/pdf
Command: npx skills add https://github.com/ci/persops --skill pdf-ci

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables programmatic PDF manipulation to automate extraction, creation, merging, splitting, and form handling, eliminating tedious manual document workflows.

Core Features & Use Cases

  • Text extraction from PDFs using pypdf to pull searchable content for indexing and analysis.
  • Table extraction using pdfplumber to convert tabular data into structured formats for reporting or analytics.
  • PDF creation, merging, and splitting using reportlab and pypdf to assemble documents or break them into chunks.
  • Form handling: generate or fill PDF forms programmatically to streamline data collection in admin workflows.
  • Example: Automate invoice processing by extracting invoice numbers, dates, and totals from hundreds of PDFs and compiling results into CSV.

Quick Start

Use the pdf skill to extract text and tables from a sample.pdf and generate merged.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 and table data from PDF documents programmatically?

Extract text and tables from PDFs using Python libraries pypdf and pdfplumber. This approach pulls searchable content and converts tabular data into structured formats for indexing, reporting, and analytics.

Can I generate and fill PDF forms using Python code?

Yes, you can generate and fill PDF forms using Python code with reportlab and pypdf. This automates form creation and data population to streamline administrative data collection workflows.

What is the best way to merge and split PDF files in an automated workflow?

The best way to merge and split PDF files in an automated workflow is using Python libraries reportlab and pypdf. This assembles multiple documents into one or breaks large files into manageable chunks programmatically.

Do I need Python to automate invoice processing and extract data from PDFs?

Yes, you need Python to automate invoice processing and extract data from PDFs because this Skill relies on pypdf, pdfplumber, and reportlab to parse invoice numbers, dates, and totals and compile results into CSV.

How does programmatic PDF creation differ from manual document editing?

Programmatic PDF creation differs from manual editing by using reportlab and pypdf to synthesize and assemble documents through code, eliminating tedious manual workflows and enabling batch report generation across teams.