What problem does it solve?
PDFs are ubiquitous but extracting text, converting formats, and reorganizing pages is tedious and error-prone. This Skill provides a toolkit to read, extract, convert, and manipulate PDFs programmatically, improving accuracy and speed.
Core Features & Use Cases
- Reading & text extraction: Extract plain text or preserve layout from PDF pages.
- Conversion & manipulation: Convert PDFs to images, HTML, or other formats; merge, split, rotate, and compress PDFs.
- Use Case: Process a batch of scanned invoices to extract line items and generate a CSV and a summary report.
Quick Start
Install the required CLI tools locally (pdftotext, pdfinfo, pdftoppm, ImageMagick, pandoc, qpdf, Ghostscript) and run sample commands to read, convert, and merge PDFs. Example commands:
- pdftotext document.pdf -
- pdfinfo document.pdf
- pdftoppm -png document.pdf /tmp/page
- convert page-1.png output.pdf
- pdfunite a.pdf b.pdf merged.pdf
- pandoc document.html -o document.pdf