pdf-tools

Installation
SKILL.md

PDF Tools

Full-lifecycle PDF engineering covering extraction, generation, modification, form filling, and security. Prioritizes JavaScript-first solutions (pdf-lib, unpdf, Puppeteer) with Python/CLI utilities for advanced scenarios.

When to use: Extracting structured data from PDFs, generating pixel-perfect PDFs from HTML/React, modifying existing PDFs, filling forms (fillable or non-fillable), or securing documents with encryption.

When NOT to use: Simple text file processing, image-only manipulation without PDF context, or tasks better handled by a word processor.

Quick Reference

Task Tool Key Point
Generate PDF from HTML Puppeteer / Playwright page.pdf(); use networkidle0 (Puppeteer) or networkidle (Playwright)
Extract text (lightweight) unpdf Edge/serverless compatible
Extract tables (AI) Vision model + Zod schema Multi-column and merged cell support
Extract tables (non-AI) pdfplumber (Python) Precise cell boundary detection
Modify, merge, split pdf-lib (or @pdfme/pdf-lib) Byte-level PDF manipulation in JS
Fill fillable forms pdf-lib (or @pdfme/pdf-lib) Inspect AcroForm fields before writing
Fill non-fillable forms Python annotation scripts Visual analysis + bounding box annotations
Related skills
Installs
49
GitHub Stars
11
First Seen
Feb 24, 2026