pdf

Extract text and tables from PDFs using Python libraries.

3|Updated Nov 11, 2025
One-click install
npx skills add https://github.com/xingranya/CervixDetectAI --skill pdf-xingranya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/xingranya/CervixDetectAI/tree/main/.agent/skills/pdf
Command: npx skills add https://github.com/xingranya/CervixDetectAI --skill pdf-xingranya

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pdf2image, pytesseract, poppler-utils, qpdf, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the process of working with PDF documents, from extracting text and tables to creating and merging files, saving significant manual effort.

Core Features & Use Cases

  • Text and Table Extraction: Extract content from PDFs for analysis or further processing.
  • PDF Creation and Manipulation: Generate new PDFs, merge existing ones, split documents, and rotate pages.
  • Form Filling: Programmatically fill out PDF forms, both fillable and non-fillable.
  • Use Case: Automatically extract all tables from a research paper PDF and save them as an Excel file for data analysis.

Quick Start

Use the pdf skill to extract all text from the document named 'report.pdf'.

Frequently Asked Questions about pdf

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

FAQPage Schema
How do I extract tables from a PDF document for data analysis?

To extract tables from a PDF for data analysis, this toolkit uses pdfplumber to parse structured content and output tabular data, automating what would otherwise be significant manual effort. You can save the extracted output directly to formats like Excel.

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

Yes, you can programmatically fill out PDF forms, including both fillable and non-fillable documents. The toolkit automates form completion by manipulating the PDF structure directly, saving manual data entry effort across multiple files.

What is the best way to merge, split, and generate new PDF files in Python?

The best way to merge, split, and generate PDF files is using this comprehensive manipulation toolkit. It leverages Python libraries like pypdf and reportlab to programmatically create new documents, merge existing ones, split pages, and rotate content.

Does this PDF text extraction approach work with scanned image-based documents?

Yes, text extraction works with scanned image-based documents by utilizing pytesseract and pdf2image. These dependencies perform OCR and image conversion, allowing the toolkit to extract text from non-selectable PDF content that standard parsing cannot read.

What Python dependencies do I need to install for automated PDF processing?

For automated PDF processing, you need Python dependencies including pypdf, pdfplumber, reportlab, pdf2image, and pytesseract. You also need system-level utilities like poppler-utils and qpdf to handle rendering and structural manipulation efficiently.

Why does my PDF manipulation fail when processing large or encrypted files?

PDF manipulation may fail on large or encrypted files due to memory constraints or missing decryption keys. The toolkit integrates qpdf for structural processing and repair, but handling heavily encrypted documents still requires providing the correct password.