pdf

Extract text, images, and tables from PDFs using Python libraries.

Updated May 21, 2026
One-click install
npx skills add https://github.com/Ber-tx/tongue --skill pdf-ber-tx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Ber-tx/tongue/tree/main/.github/skills-main/skills/pdf
Command: npx skills add https://github.com/Ber-tx/tongue --skill pdf-ber-tx

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the process of handling PDF files, from reading and extracting information to filling out forms and creating new PDFs. It streamlines document processing, saving time and reducing errors.

Core Features & Use Cases

  • PDF Processing: Extract text, images, and tables from PDFs.
  • Form Filling: Automatically fill out PDF forms programmatically.
  • PDF Creation: Generate new PDFs from scratch or by combining existing ones.
  • Use Case: For a business that receives and processes hundreds of PDF invoices every month, this Skill can automatically extract and compile all necessary information into a central database.

Quick Start

Run the command: pdf process --input invoice-q3.pdf --output extracted_data.csv

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 for data processing?

PDF text extraction uses pdfplumber to read content directly. For scanned documents requiring OCR, pdf2image converts PDF pages into images. This process yields actionable text and structured data from PDF files.

Can I programmatically fill out PDF forms using Python?

Programmatic PDF form filling utilizes pypdf to map data into existing form fields. This automates document generation, eliminating manual data entry and reducing errors in administrative workflows.

What is the best way to create a new PDF or merge existing PDF files?

PDF creation and merging use reportlab to generate new documents and pypdf to combine existing ones. This approach builds custom PDFs from scratch or consolidates multiple files into a single output.

Does this PDF processing approach require installing specific Python dependencies?

PDF processing requires installing Python packages including pypdf, pdfplumber, pdf2image, and reportlab. These dependencies handle document reading, image conversion, form filling, and creation within your Python environment.

How do I automate extracting data from hundreds of PDF invoices into a CSV file?

Automating PDF invoice extraction uses pdfplumber to parse text and tables, outputting structured data into a CSV. This streamlines high-volume document processing workflows by centralizing information extraction.

When should I use pdf2image for PDF extraction instead of pdfplumber?

Use pdf2image when PDF extraction fails on scanned documents lacking embedded text. pdfplumber reads digital text directly, while pdf2image renders pages as images for subsequent OCR processing.