pdf

Extract text and tables from PDF documents using Python libraries.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/javi2481/proyecto-data-x --skill pdf-javi2481
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/javi2481/proyecto-data-x/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/javi2481/proyecto-data-x --skill pdf-javi2481

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

PDF documents are often siloed in workflows where text extraction, data extraction from forms, page rotation or merging for reports, and secure handling are performed manually. This skill provides a cohesive, programmable approach to reading, analyzing, and transforming PDFs, including reading content, extracting text and tables, merging or splitting documents, rotating pages, adding watermarks, creating new PDFs, filling forms, encrypting/decrypting, extracting images, and applying OCR to scanned files.

Core Features & Use Cases

  • Automated PDF processing workflow: extract text and tables, merge or split PDFs, rotate pages, and apply watermarks to batches of documents.
  • Form handling and security: fill PDF forms and manage encryption/decryption, enabling compliant document handling.
  • Create and manipulate PDFs for reporting or archival tasks, including extraction of images and OCR-enabled searchability.
  • Use Case: Digitize invoices by extracting numbers, merging related documents, and storing searchable PDFs in a records system.

Quick Start

Run the pdf skill to extract all text from a sample document and save it to a new 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 using Python?

To extract text and tables from a PDF, this skill uses Python libraries like pdfplumber and pypdf to parse binary streams and render pages. It processes document files to isolate text and tabular data for workflows like invoice processing.

Can I merge, split, and rotate PDF pages programmatically?

Yes, you can merge, split, and rotate PDF pages programmatically. This capability performs deterministic transformations on binary streams, allowing you to reorganize document structures for tasks like report generation and archival digitization.

Does this approach support filling forms and encrypting PDF files?

Yes, this approach supports filling forms and encrypting or decrypting PDF files. It handles form-filling and applies security measures to ensure compliant document handling across large document sets.

What is the best way to apply OCR to scanned PDF documents?

The best way to apply OCR to scanned PDFs is using pdf2image to render pages to images, then extracting text to make files searchable. This enables OCR-enabled searchability for archival digitization workflows.

How do I add a watermark and extract images from an existing PDF?

You can add watermarks and extract images from an existing PDF by manipulating the binary stream. This skill applies deterministic transformations to overlay watermarks and isolate embedded images for reporting or archival tasks.

Do I need specific Python libraries to create new PDFs and manipulate document content?

Yes, you need Python libraries such as pypdf, pdfplumber, and pdf2image to create new PDFs and manipulate document content. These dependencies parse binary streams and render pages to perform required transformations.