pdf

Extracts text and tables from PDFs, creates, merges, and handles OCR for scanned documents.

72|47|Updated Sep 15, 2025
One-click install
npx skills add https://github.com/rysweet/MicrosoftHackathon2025-AgenticCoding --skill pdf-rysweet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/rysweet/MicrosoftHackathon2025-AgenticCoding/tree/main/.claude/skills/pdf
Command: npx skills add https://github.com/rysweet/MicrosoftHackathon2025-AgenticCoding --skill pdf-rysweet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypdf, pdfplumber, reportlab, pandas, pytesseract, pdf2image, pillow.

What problem does it solve?

This Skill eliminates the tedious manual work of filling out PDF forms, extracting data from documents, and managing PDF files. It automates repetitive tasks like merging invoices, splitting reports, and converting tables to Excel, saving you hours of effort and ensuring data accuracy.

Core Features & Use Cases

  • Automated Data Extraction: Extract text with layout preservation and structured tables from any PDF, converting them into usable formats like Excel or CSV.
  • PDF Creation & Manipulation: Programmatically create new PDFs, merge multiple documents, split large files into individual pages, rotate, and add password protection.
  • OCR for Scanned Documents: Utilize Optical Character Recognition to extract text from image-based or scanned PDFs, making previously inaccessible data searchable and editable.
  • Use Case: Automatically process a batch of scanned vendor invoices, extract key details (invoice number, date, amount) using OCR, and compile them into a single spreadsheet for accounting.

Quick Start

Use the pdf skill to extract all tables from the attached file 'sales_report.pdf' and save them into an Excel file named 'sales_data.xlsx'.

Frequently Asked Questions about pdf

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract tables from PDF files and convert them to Excel?

Extract tables from PDFs using pdfplumber to parse structured data with layout preservation, then convert to Excel format using pandas. This automates the process of converting PDF tables into usable spreadsheets without manual retyping.

Can I extract text from scanned PDF documents?

Yes, OCR extracts text from image-based and scanned PDFs using pytesseract and pdf2image. This makes previously inaccessible data in scanned documents searchable and editable.

How do I automate merging, splitting, and manipulating multiple PDF files?

Programmatically merge multiple PDFs, split large files into pages, rotate pages, and add password protection using pypdf and reportlab. This eliminates manual document handling in batch workflows.

What's the best way to fill out PDF forms automatically?

Automate PDF form filling by manipulating form fields and metadata with pypdf, eliminating tedious manual data entry and ensuring consistency across documents.

Can I process batches of PDFs and extract specific fields like invoice numbers and amounts?

Yes, batch process scanned invoices or reports using OCR and table extraction to automatically pull key fields like invoice numbers, dates, and amounts into structured formats like CSV or Excel.

Do I need additional system dependencies to use OCR and PDF image processing?

Yes, OCR and image processing require system utilities: tesseract for OCR, poppler-utils for PDF rendering, and optionally qpdf or pdftk for advanced PDF manipulation alongside Python packages.