pdf-toolkit for Openclaw

A robust local PDF manipulation suite for merging, splitting, compressing, and converting documents without cloud dependency.

newaiguy
v1.0.0
Mar 24, 2026
0
743
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install openclaw-pdf-tools

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install openclaw-pdf-tools using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is pdf-toolkit?

pdf-toolkit is a high-performance utility within the Openclaw Skills ecosystem designed for secure, local-first document processing. It eliminates the need for privacy-compromising online converters by providing a suite of tools that run directly on your machine. Whether you are managing large archives or preparing individual documents, this skill ensures your data stays under your control.

Built for developers and power users, the skill leverages industry-standard backends like Ghostscript and Poppler to handle complex PDF operations. It bridges the gap between manual document editing and automated workflows, allowing Openclaw agents to programmatically manipulate PDFs with precision and speed.

pdf-toolkit Use Cases

  • Combining multiple project reports into a single consolidated PDF document.
  • Splitting large legal files or books into specific page ranges for easier distribution.
  • Reducing file sizes of image-heavy PDFs to meet email attachment or upload limits.
  • Converting PDF pages into high-resolution images for use in presentations or social media.
  • Protecting sensitive information by adding text watermarks or encrypting files with passwords.

How pdf-toolkit Works

  1. The user triggers a specific command via the CLI or an agent request within the Openclaw Skills environment.
  2. The skill invokes the appropriate underlying script (e.g., merge.js or compress.js) using Node.js.
  3. The system processes the input files through local binary dependencies like Poppler or ImageMagick.
  4. Output files are generated in the specified local directory without any data leaving the host machine.
  5. Success or error logs are returned to the user, confirming the completion of the document lifecycle task.

pdf-toolkit Setup

To integrate this into your Openclaw Skills library, install the package and its system dependencies:

# Install the skill via clawhub
npx clawhub@latest install pdf-toolkit

# Install system dependencies (Required)
# For macOS users:
brew install poppler ghostscript imagemagick

# For Ubuntu/Debian users:
sudo apt-get install poppler-utils ghostscript imagemagick

# For Windows users (via Scoop):
scoop install poppler ghostscript imagemagick

pdf-toolkit Data Schema & Taxonomy

The pdf-toolkit manages data using a flat file structure and standardized CLI parameters as detailed below:

Feature Input Types Output Type Parameter Example
Merge .pdf files Single .pdf file1.pdf file2.pdf
Split Single .pdf .pdf / Dir 1-5 (Page Range)
Convert .pdf / .jpg / .png Images / .pdf --dpi 150
Security .pdf Encrypted .pdf password123

All metadata remains local, and temporary files generated during processing (like intermediate PostScript files) are cleaned up post-execution.

pdf-toolkit Advanced Features

  • Local-first execution ensuring 100% data privacy and no reliance on external APIs.
  • Granular resolution control for PDF-to-image conversions via DPI flags.
  • Batch processing capabilities for handling entire folders of images or documents.
  • Programmatic API access for integrating PDF manipulation into custom JavaScript or TypeScript applications.
  • Security management including both password encryption and decryption for automated archiving.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*