PDF Split Skill for Openclaw

A high-performance CLI utility for splitting PDF documents into single pages or specific ranges with full privacy and local execution.

fly3094
v1.0.1
Apr 14, 2026
0
858
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install pdf-split

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 pdf-split 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 Split Skill?

The PDF Split Skill is a robust document manipulation tool designed for developers and power users who need to segment large PDF files. As a core component within the Openclaw Skills directory, it provides a seamless interface for extracting specific information from documents without relying on external cloud services. This ensures that sensitive data remains on your local machine while providing the flexibility to handle complex document structures.

Built on top of the powerful pdf-lib library, this skill offers high precision and speed. Whether you are automating invoice processing or organizing research papers, this Openclaw Skills addition provides the programmatic control necessary for modern document management workflows.

PDF Split Skill Use Cases

  • Extracting specific chapters or sections from long technical manuals.
  • Splitting a bulk PDF of scanned receipts into individual files for accounting.
  • Automated batch processing of large document directories into single-page assets.
  • Securely handling confidential legal or financial documents locally to avoid cloud exposure.

How PDF Split Skill Works

  1. The user initiates a command specifying the source PDF and the desired split mode (single or range).
  2. The Openclaw Skills engine invokes the Node.js runtime to load the document using the pdf-lib dependency.
  3. Based on the provided parameters, the skill iterates through the document's page tree to create new PDF buffers.
  4. Segmented files are generated and saved to the user-defined output directory with optional custom prefixes.
  5. The process concludes with a verification of the generated files to ensure data integrity.

PDF Split Skill Setup

To install and use this skill from the Openclaw Skills collection, ensure you have Node.js installed on your system.

# Install the required dependencies
npm install pdf-lib

# Basic usage command structure
node index.js split <input.pdf> --mode <single|range> -o <output_directory>

PDF Split Skill Data Schema & Taxonomy

The skill manages data locally using a structured output approach. Metadata is handled via the Openclaw Skills manifest format.

Parameter Type Description
--mode String Defines the splitting logic: single for individual pages or range for specific sets.
--pages String A comma-separated list or range (e.g., "1-3,5") used in range mode.
-o Path The destination directory for the generated PDF segments.
--prefix String Optional string prepended to the output filenames.

PDF Split Skill Advanced Features

  • Local-first execution ensures maximum privacy for sensitive documents.
  • Support for complex page range selection including non-sequential page extraction.
  • Batch processing capabilities using standard shell loops for high-volume automation.
  • Customizable output naming conventions using the prefix flag for better file organization.
  • Lightweight footprint requiring only Node.js and the pdf-lib package.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*