PDF Files
Create, merge, split, fill, and secure PDF files.
📖 Guide
Load with skill_view("pdf"). Create, combine, split, transform, and secure PDF files — merging, page manipulation, form filling, watermarks, encryption, and text/table extraction. For heavy text extraction from scanned documents prefer the `ocr-and-documents` skill; for natural-language edits to existing PDF text prefer `nano-pdf`.
🔧 How To
Skill sections: PDF Skill, When to Use, Prerequisites, Quick Reference, Common operations, Merge / split / rotate (pypdf).
⚠️ Pitfalls
- `page.extract_text()` returns `None` on image-only pages — guard with `or ""` and fall back to OCR. - pypdf preserves encryption flags: reading an encrypted PDF requires `PdfReader(path, password=...)` before pages are accessible. - reportlab coordinates are bottom-left origin, points (1/72″) — not top-left. - When filling flat forms by annotation overlay, always render a validation image and ch
Related Skills
More skills in Productivity