pdf-poppler-utils

A collection of PDF manipulation tools from the poppler-utils package. Use when working with PDF files - extracting text, images, metadata, splitting, merging, converting to other formats, or managing attachments.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "pdf-poppler-utils" with this command: npx skills add xlionjuan/pdf-poppler-utils

pdf-poppler-utils Skill

A collection of PDF manipulation tools from the poppler-utils package.

Installation

Prerequisites

Install Poppler

brew install poppler

⚠️ Important Warning About curl

The poppler Homebrew package has curl as a dependency. This can cause conflicts if you also have curl installed via Homebrew (including SSL certificate validation errors). Use the system curl directly or consider alternative approaches.

Before using poppler, it is strongly recommended to unlink the Homebrew installed curl:

brew unlink curl -v

⚠️ Please ask for human permission before executing brew unlink curl -v. If the human is unsure, recommend executing it (to resolve the potential conflict).


When to Use Which Tool

ToolUse Case
pdfinfoGet detailed metadata and information about a PDF
pdftotextExtract text content from a PDF
pdffontsAnalyze font usage in a PDF
pdfimagesExtract images embedded in a PDF
pdfdetachExtract attachments from a PDF
pdfseparateSplit a multi-page PDF into individual pages
pdfuniteMerge multiple PDFs into one
pdfsigVerify digital signatures in a PDF
pdftohtmlConvert PDF to HTML
pdftoppmConvert PDF pages to image formats (PNG, PPM)
pdftocairoConvert PDF to Cairo image formats (PNG, JPEG, TIFF, PDF, SVG)
pdfattachAttach files to a PDF

Quick Reference

View PDF Information

pdfinfo document.pdf

Extract Text

pdftotext document.pdf output.txt
pdftotext document.pdf - | less  # Stream to stdout

Extract Images

pdfimages -png document.pdf image_prefix

Split PDF

pdfseparate document.pdf page_%03d.pdf

Merge PDFs

pdfunite file1.pdf file2.pdf file3.pdf merged.pdf

Convert to HTML

pdftohtml document.pdf output.html

Convert to Images

pdftoppm -png -r 300 document.pdf output_prefix

Tool Details

See individual documentation files in the tools/ folder for detailed usage:


Common Options

Many tools share common options:

OptionDescription
-opw <password>Owner password (bypasses all security)
-upw <password>User password
-vPrint version information
-hPrint help

Notes

  • All tools follow the convention: tool [options] input.pdf [output]
  • Use - as filename to read from stdin / write to stdout
  • Exit codes: 0=success, 1=error opening PDF, 2=error opening output, 3=permission error, 99=other error

Reference: Debian manpages

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Sendflare

通过 Sendflare SDK 发送带附件的电子邮件,管理联系人列表,支持 CC/BCC 和安全 API 认证。

Registry SourceRecently Updated
General

Playtomic - Book courts using padel-tui

This skill should be used when the user asks to "book a padel court", "find available padel courts", "search padel courts near me", "reserve a Playtomic cour...

Registry SourceRecently Updated
General

Fund Keeper

国内场外基金智能顾问 + 股票行情查询。实时估值、买卖建议、收益统计、定投计划、OCR 识图、股票 - 基金联动。支持离线模式、多数据源缓存。

Registry SourceRecently Updated