Split PDF Skill for Openclaw

A versatile document utility for splitting single PDF files into multiple segments using page ranges, individual page extraction, or fixed chunks.

rishabhdugar
v1.0.0
Apr 18, 2026
0
756
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install split-pdf

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

The Split PDF skill is a technical utility designed to provide programmatic control over PDF document structure within the Openclaw Skills ecosystem. It allows users and agents to deconstruct large PDF files into smaller, more manageable parts based on specific logic like page ranges (e.g., 1-5, 10-12), individual page separation, or N-equal chunks.

By leveraging this skill, developers can automate document workflows that require isolating specific information without manual intervention. It connects seamlessly to the PDFAPIHub backend, ensuring high-performance processing for documents up to 200 pages, making it a vital tool for data extraction and document management pipelines.

Split PDF Skill Use Cases

  • Chapter Extraction: Automatically split a technical manual or ebook into individual chapter files.
  • Page Isolation: Extract only the signature or legal disclosure pages from a long contract.
  • Selective Sharing: Distribute only the relevant portions of a financial report to specific stakeholders.
  • Batch Processing: Convert a multi-page scanned document into individual single-page assets for OCR or archival.
  • Archival Management: Break down oversized PDF files into smaller chunks for easier indexing and cloud storage retrieval.

How Split PDF Skill Works

  1. The user provides a source PDF document via a public URL, a base64-encoded string, or a multipart file upload.
  2. The user defines the splitting logic using parameters like pages for specific ranges, mode: each for individual pages, or chunks for fixed divisions.
  3. The skill authenticates the request using a PDFAPIHub API key provided in the headers.
  4. The document is processed on the server according to the specified configuration.
  5. The skill returns the resulting segments as a collection of accessible URLs or direct data objects.

Split PDF Skill Setup

To use this skill within Openclaw Skills, you must first obtain a free API key from the PDFAPIHub website. Once you have your key, you can configure your environment or use the following API structure:

curl -X POST https://pdfapihub.com/api/v1/pdf/split \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://pdfapihub.com/sample-pdfapi-intro.pdf",
    "pages": "1-5,8,10-15",
    "output": "url"
  }'

Split PDF Skill Data Schema & Taxonomy

The skill utilizes a structured JSON request body to define splitting behavior. The following table describes the primary data inputs:

Parameter Type Description
url string A public URL pointing to the PDF file to be split.
file string Base64-encoded content of the PDF file.
pages string Comma-separated page ranges (e.g., "1-3, 5, 10-12").
mode string Use "each" to split every page into its own file.
chunks integer Specifies the number of roughly equal parts to split the PDF into.
output string Determines the response format, typically set to "url".

Split PDF Skill Advanced Features

  • Complex Range Support: Define multiple non-sequential page ranges in a single request for custom document assembly.
  • Fixed Chunking: Automatically divide a document into N equal parts regardless of page count.
  • Multiple Input Methods: Flexibility to handle public URLs, base64 strings, or direct file uploads.
  • Seamless Integration: Designed to work within Openclaw Skills automated agent workflows for end-to-end document processing.
  • Scalable Limits: Supports documents up to 200 pages and generates up to 100 individual output chunks.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*