pdf

Extract text, tables, and metadata from PDF documents.

15|3|Updated Aug 28, 2025
One-click install
npx skills add https://github.com/cheatcode-ai/cheatcode --skill pdf-cheatcode-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf
Source: https://github.com/cheatcode-ai/cheatcode/tree/main/skills/pdf
Command: npx skills add https://github.com/cheatcode-ai/cheatcode --skill pdf-cheatcode-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This skill solves the friction of interacting with PDF documents, whether you need to extract structured data from complex layouts, fill out static or dynamic forms, or perform batch operations like merging and splitting.

Core Features & Use Cases

  • Advanced Form Automation: Handles both native fillable fields and non-fillable documents using coordinate-based annotation.
  • Data Extraction: Provides robust tools for pulling text and tables from PDFs, including OCR support for scanned documents.
  • Use Case: Use this skill to process a batch of scanned expense reports, extract the table data into a spreadsheet, and then fill out a standardized reimbursement form for each entry.

Quick Start

Use the pdf skill to extract all text and table data from the document named report.pdf and save the results 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 document?

To extract text and tables from a PDF, this skill uses pdfplumber and pypdf to parse structured layouts. It processes the document to pull text, tables, and metadata, and can save the extracted data into a new file.

Can I automate PDF form filling for non-fillable documents?

Yes, you can automate PDF form filling for non-fillable documents using coordinate-based text annotation. It also supports native fillable fields, allowing you to populate static and dynamic forms automatically.

Does OCR work for extracting data from scanned PDFs?

Yes, OCR works for extracting data from scanned PDFs by utilizing the pytesseract and pdf2image libraries. This enables accurate text extraction from image-based documents that lack embedded text layers.

Do I need Poppler and Tesseract installed to process PDF documents?

Yes, you need Poppler and Tesseract installed to process PDF documents, especially for OCR and rendering scanned files. These system-level utilities ensure accurate document parsing and modification alongside Python libraries.

What is the best way to manipulate pages and merge multiple PDF files?

The best way to manipulate pages and merge multiple PDF files is through batch operations powered by pypdf. This approach handles page manipulation, splitting, and merging tasks efficiently within your automated workflows.