pdf

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

Updated Apr 10, 2026
One-click install
npx skills add https://github.com/hamadah10/OML-Skills-Testing --skill pdf-hamadah10
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/hamadah10/OML-Skills-Testing/tree/main/.github/pdf
Command: npx skills add https://github.com/hamadah10/OML-Skills-Testing --skill pdf-hamadah10

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

PDF processing tasks such as extracting text/tables, merging, splitting, filling forms, rotating pages, and OCR are tedious and error-prone when done manually.

Core Features & Use Cases

  • Read and extract text, tables, and metadata from PDFs.
  • Merge, split, rotate, and watermark PDFs; create new documents.
  • Fill and annotate forms, encrypt/decrypt PDFs, and perform OCR on scanned files.

Quick Start

Ask me to process a PDF by extracting all text and saving it to a text 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 orchestrates Python libraries like pdfplumber and pypdf to read document content and metadata. It automates text extraction and table parsing while applying robust error checking.

What's the best way to automate filling PDF forms and adding watermarks?

Automating PDF form filling and watermarking is handled by orchestrating pypdf to modify document elements. This Skill applies robust field handling to fill forms, annotate documents, and apply watermarks without manual editing.

Can I perform OCR on scanned PDF files to extract text?

Yes, you can perform OCR on scanned PDF files. This Skill utilizes pdf2image and Pillow alongside extraction libraries to process scanned documents, converting image-based pages into readable text through automated Python operations.

How do I merge, split, and rotate PDF documents programmatically?

Merging, splitting, and rotating PDF documents is achieved by scripting pypdf operations to manipulate page structures. This Skill automates document composition tasks including page rotation and document splitting with robust error checking.

Does this PDF processing approach support encrypting and decrypting files?

This PDF processing approach supports encrypting and decrypting files by orchestrating pypdf security features. It automates administrative workflows like archiving sensitive documents by applying encryption and managing access restrictions.

Why do I need multiple Python libraries like pypdf and pdfplumber for PDF automation?

Multiple Python libraries are needed because pypdf handles merging, splitting, and form fields, while pdfplumber excels at text and table extraction. This Skill orchestrates these specialized tools with pdf2image and Pillow to ensure comprehensive processing.