Merge PDFs for Openclaw

A robust utility to combine two or more PDF documents into a single file with support for direct URLs and base64 encoding.

rishabhdugar
v1.0.0
Apr 18, 2026
0
762
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install merge-pdfs

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 merge-pdfs 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 Merge PDFs?

The Merge PDFs skill is a specialized tool designed to streamline document management within the Openclaw Skills ecosystem. It allows users and AI agents to consolidate up to 25 separate PDF files into a single, cohesive document. Whether your files are hosted on the web, stored in Google Drive, or provided as base64-encoded data, this skill processes them efficiently to create professional-grade outputs.

By leveraging this integration for Openclaw Skills, developers can automate the assembly of complex document packets without manual intervention. The skill handles the technical heavy lifting, including the automatic conversion of Google Drive share links into direct-download URLs, ensuring a smooth and reliable merging process every time.

Merge PDFs Use Cases

  • Invoice Bundling — Combine multiple monthly invoices into a single PDF for streamlined client billing
  • Report Assembly — Merge cover pages, table of contents, and individual report chapters into one document
  • Legal Document Packets — Bundle contracts, appendices, and exhibits into a single filing-ready package
  • Student Submissions — Merge various assignment parts and research papers into one submission file
  • Mortgage and Loan Packages — Combine application forms, ID scans, and financial documents into a unified package
  • Book Assembly — Merge individual chapter PDFs into a complete manuscript for publishing

How Merge PDFs Works

  1. The user provides a list of PDF sources via URLs, base64 strings, or multipart uploads to the Openclaw Skills interface.
  2. The skill validates the inputs against predefined limits, such as a maximum of 25 files and 500 total pages.
  3. If any Google Drive share links are provided, the skill automatically converts them into direct download paths.
  4. The document processor merges the individual files while preserving formatting and technical integrity.
  5. The final merged PDF is generated and returned as a downloadable URL or file object for the next step in the workflow.

Merge PDFs Setup

To get started with Merge PDFs, you will need an API key from PDF API Hub. Follow these steps to configure the skill within Openclaw Skills:

  1. Sign up for a free API key at https://pdfapihub.com.
  2. Include the key in your requests using the CLIENT-API-KEY header.
  3. Use the following example to test your integration:
curl -X POST https://pdfapihub.com/api/v1/pdf/merge \
  -H "CLIENT-API-KEY: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "urls": [
      "https://pdfapihub.com/sample.pdf",
      "https://pdfapihub.com/sample1.pdf"
    ],
    "output": "url"
  }'

Merge PDFs Data Schema & Taxonomy

The Merge PDFs skill utilizes a structured data format to handle document processing within Openclaw Skills. Below is the metadata and input structure:

Parameter Requirement Description
urls Optional* Array of 2-25 PDF URLs to be merged
files Optional* Array of base64-encoded PDFs
output Required Specifies the return type, such as a direct URL
metadata Optional Custom key-value pairs for document identification

Note: At least one source (urls or files) must be provided.

Merge PDFs Advanced Features

  • Automatic conversion of restricted Google Drive share links into accessible direct-download URLs
  • Support for large document processing with a total capacity of up to 500 pages per merged file
  • Multi-source input handling allowing a mix of hosted URLs and direct base64 file uploads
  • High-performance merging logic optimized for Openclaw Skills automated workflows
  • Flexible output options tailored for easy integration with secondary AI agent tasks

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*