2.5k
GitHub Stars
2
Bundled Files
2 months ago
Catalog Refreshed
3 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill openclaw/skills --skill pdf-poppler-utils- _meta.json289 B
- SKILL.md4.3 KB
Overview
This skill packages a set of PDF command-line utilities from poppler-utils for programmatic and manual PDF manipulation. It provides tools to inspect metadata, extract text and images, split and merge documents, manage attachments, verify signatures, and convert PDFs to images or HTML. Use it when you need reliable, scriptable PDF processing on macOS or in environments with poppler installed.
How this skill works
Each utility is a small command-line program that operates on PDF input and produces files, streams, or exit codes. Commands accept common options (passwords, help, version) and can read from stdin or write to stdout with '-' as the filename. Typical workflow: run pdfinfo to inspect a file, pdftotext to extract text, pdfimages to export embedded images, pdfseparate/pdfunite to split or merge pages, and pdftocairo/pdftoppm or pdftohtml to convert to other formats.
When to use it
- Extract searchable text from scanned PDFs or digital documents
- Batch-convert PDF pages to images for thumbnails or OCR preprocessing
- Split large PDFs into single pages or merge many PDFs into a single file
- Extract embedded images, fonts, metadata, or attachments for auditing or reuse
- Verify digital signatures and inspect document signing information
- Convert PDFs to HTML or raster formats for web display or legacy systems
Best practices
- Install poppler via your package manager and check for conflicting dependencies (Homebrew curl may conflict)
- Ask for human permission before running brew unlink curl; prefer using the system curl if issues arise
- Prefer streaming to stdout ('-') in pipelines to avoid temporary files when scripting
- Always check exit codes and handle password-protected PDFs with -opw or -upw options
- Use explicit DPI and output format options when converting to images to ensure consistent quality
Example use cases
- Create an automated pipeline that extracts text with pdftotext, then runs NLP processing on the output
- Generate 300 DPI PNG thumbnails from a collection of PDFs for a web gallery using pdftoppm
- Extract all embedded images from research papers with pdfimages for reuse in datasets
- Split an archive of scanned invoices into single-page PDFs with pdfseparate and then merge selected pages into monthly bundles with pdfunite
- Verify signatures on contracts using pdfsig before archiving
FAQ
Homebrew may install curl as a dependency. That can conflict with an existing Homebrew curl or SSL setups. It is recommended to use the system curl or unlink the Homebrew curl, but ask a human before running brew unlink curl -v.
How do I process many PDFs in a script without temporary files?
Use '-' as the filename to stream data via stdin/stdout and chain tools in a shell pipeline, and check exit codes to detect failures.