Originally fromanthropics/skills
Installation
SKILL.md
Important: All
scripts/paths are relative to this skill directory. Run with:cd {this_skill_dir} && python scripts/...Or use thecwdparameter ofexecute_shell_command.
PDF Processing Guide
Prerequisites
- pypdf: core PDF reading and writing
- pdfplumber: text and table extraction
- reportlab: PDF creation
- pdftotext (poppler-utils): command-line text extraction
- pdftoppm (poppler-utils): PDF-to-image conversion
- qpdf: PDF manipulation (merge, split, rotate, decrypt)
Overview
This guide covers essential PDF processing operations using Python libraries and command-line tools. For advanced features, JavaScript libraries, and detailed examples, see REFERENCE.md. If you need to fill out a PDF form, read FORMS.md and follow its instructions.