pdf

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

2|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/Haseeb-Arshad/TaskHive --skill pdf-haseeb-arshad
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/Haseeb-Arshad/TaskHive/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/Haseeb-Arshad/TaskHive --skill pdf-haseeb-arshad

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Reading and manipulating PDFs is often tedious, error-prone, and manual. This skill provides a programmable toolkit to read, extract text and tables, merge and split PDFs, apply OCR to scanned documents, and handle forms and annotations to automate common PDF workflows.

Core Features & Use Cases

  • Read and extract text, tables, and metadata from PDFs.
  • Merge, split, rotate, watermark, and annotate PDFs for reporting and archival.
  • OCR on scanned PDFs to make content searchable and indexable.
  • Form handling: fillable and non-fillable forms, annotations, and simple edits.

Quick Start

Ask the AI to automate a workflow that reads a sample PDF, extracts its text and tables, and saves the results to a 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 PDF files using Python?

To extract text and tables from PDF files, this skill uses pypdf and pdfplumber to parse content. It automates reading diverse documents like invoices and multi-page reports, turning them into structured, actionable data for administrative workflows.

Can I apply OCR to scanned PDFs to make them searchable?

Yes, you can apply OCR to scanned PDFs to make them searchable and indexable. The skill uses pdf2image and Pillow to render scanned documents, extracting readable text from images to automate archival digitization workflows.

Does this approach work for filling out both fillable and non-fillable PDF forms?

Yes, this approach handles filling out both fillable and non-fillable PDF forms. It programmatically manages form filling, annotations, and simple edits to automate administrative workflows like contract review and invoice processing.

What is the best way to merge, split, and watermark PDF documents in Python?

The best way to merge, split, and watermark PDF documents in Python is using a programmatic toolkit. This skill applies pypdf to manipulate pages, enabling you to merge, split, rotate, and annotate PDFs reliably for reporting and archival.

Do I need Python libraries like pypdf and pdfplumber installed to automate PDF processing?

Yes, you need Python libraries like pypdf, pdfplumber, pdf2image, and Pillow installed to automate PDF processing. These dependencies are essential to parse text, render scanned documents, and manipulate pages reliably.

Why does PDF text extraction fail on certain scanned documents, and how can I fix it?

PDF text extraction fails on scanned documents because they contain images rather than embedded text. You can fix this by applying OCR using pdf2image and Pillow to render the pages, making the content searchable and indexable.