pdf

Extract text and tables from PDF files using Python libraries.

1|Updated Mar 11, 2026
One-click install
npx skills add https://github.com/91zgaoge/memoh-X --skill pdf-91zgaoge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/91zgaoge/memoh-X/tree/main/internal/skills/defaults/pdf
Command: npx skills add https://github.com/91zgaoge/memoh-X --skill pdf-91zgaoge

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of interacting with PDF documents, automating tasks like text and table extraction, document merging, splitting, and form handling, thereby reducing manual effort and potential errors.

Core Features & Use Cases

  • Text and Table Extraction: Extract textual content and structured data from PDFs.
  • Document Assembly: Merge multiple PDFs into a single document or split large PDFs into smaller ones.
  • PDF Creation: Generate new PDF documents programmatically.
  • Metadata Handling: Read and manipulate PDF metadata.
  • Use Case: Automatically extract all tables from a collection of research papers and save them as an Excel file for analysis.

Quick Start

Use the pdf skill to extract all text from the attached file '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 text and tables from a PDF document?

To extract text and tables from a PDF, this Skill uses pdfplumber and pypdf to parse document content and retrieve structured data. It automates extracting textual content and tabular data for analysis.

What is the best way to merge or split PDF files programmatically?

The best way to merge or split PDF files programmatically is using this Skill's document assembly features. It leverages pypdf to combine multiple documents into one or divide large files into smaller segments.

Can I generate a new PDF document from scratch using Python?

Yes, you can generate a new PDF document from scratch using Python. This Skill utilizes the reportlab library to create new PDF documents programmatically, supporting automated document generation.

Do I need pytesseract and poppler-utils to process scanned PDFs?

Yes, processing scanned PDFs requires pytesseract and poppler-utils. This Skill uses pdf2image with poppler-utils to convert pages to images, then pytesseract for OCR text extraction.

Does this Skill support reading and modifying PDF metadata?

Yes, this Skill supports reading and modifying PDF metadata. It provides capabilities for metadata handling, allowing you to read and manipulate document properties using pypdf.