pdf

Extract text and tables from PDFs using pypdf and pdfplumber.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/xiaoshuangLi/aibo --skill pdf-xiaoshuangli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/xiaoshuangLi/aibo/tree/main/skills/pdf
Command: npx skills add https://github.com/xiaoshuangLi/aibo --skill pdf-xiaoshuangli

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDFs and related documents often require tedious manual effort for text extraction, form handling, and multi-file operations; this Skill automates these tasks with robust tooling.

Core Features & Use Cases

  • Text and table extraction from PDFs using pypdf and pdfplumber.
  • Merge, split, rotate, watermark, and fill forms in PDFs, supporting both fillable and non-fillable forms.
  • Batch processing and workflow automation for document digitization, archival, and data extraction.

Quick Start

Ask me to extract all text from a PDF file.

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 file?

PDF text and table extraction is performed using pypdf and pdfplumber to parse document content. These libraries read both embedded text and structured tabular data, converting PDF pages into actionable plain text and table formats for downstream processing workflows.

Can I fill out both fillable and non-fillable PDF forms automatically?

PDF form filling supports both fillable AcroForm fields and non-fillable flat documents. By leveraging pypdf for interactive fields and pdf2image with Pillow for rendering flat forms, the Skill overlays data onto documents to automate administrative form completion.

What is the best way to batch process PDF merging and splitting?

PDF merging and splitting is automated through pypdf to handle multi-file operations for document digitization. You can combine multiple PDFs into a single archive or separate pages into individual files, streamlining batch processing and archival workflows.

How does OCR work on scanned PDF documents?

OCR on scanned PDFs is facilitated by converting document pages into images using pdf2image and Pillow. Once pages are rendered as images, optical character recognition can be applied to extract text from non-digitized or image-based PDF documents.

Does this PDF processing approach support rotating and watermarking pages?

PDF processing includes page rotation and watermarking capabilities through pypdf. You can modify page orientations and overlay watermark images onto PDF documents, applying these transformations during batch processing or document archival preparation.

What are the limitations of pdfplumber and pypdf for document processing?

PDF processing with pdfplumber and pypdf is limited when handling heavily encrypted documents or complex embedded fonts. While pypdf manages merging, splitting, and forms, pdfplumber focuses on text extraction, and both may require rendering via pdf2image for scanned content.