pdfly CLI for Openclaw

A robust Python-powered command-line interface for merging, splitting, compressing, and signing PDF documents.

overdue-lin
v1.0.0
Apr 5, 2026
0
603
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install pdfly-cli

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 pdfly-cli 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 pdfly CLI?

pdfly CLI is a pure-python utility designed for high-performance PDF manipulation. Built on top of industry-standard libraries such as pypdf, fpdf2, and endesive, it offers a developer-centric approach to document management. As a featured tool in the Openclaw Skills ecosystem, it enables users to automate complex PDF workflows directly from the terminal.\n\nWhether you need to reduce file sizes through lossless compression, extract embedded images for processing, or generate professional booklets, pdfly CLI provides the necessary precision and speed. It is an essential component for anyone looking to build automated document pipelines or perform batch operations on PDF files without the overhead of graphical interfaces.

pdfly CLI Use Cases

  • Merging separate document chapters into a single PDF file.\n- Reducing file sizes for web distribution using lossless compression.\n- Programmatically signing documents for secure digital workflows.\n- Extracting text and images for automated data scraping or analysis.\n- Converting image sets or text files into polished PDF documents.\n- Rotating specific pages within a document for proper orientation.

How pdfly CLI Works

  1. The user initiates an operation by calling the pdfly command followed by a specific action like cat, compress, or sign.\n2. The CLI parses input PDF files and applies the requested logic using specialized Python libraries.\n3. For page-specific tasks, the tool utilizes advanced range syntax to select exactly which content to modify.\n4. During security operations, it handles PKCS12 certificates to apply or verify digital signatures.\n5. The processed results are outputted to the filesystem, ensuring metadata and structural integrity are preserved.

pdfly CLI Setup

To begin using this tool within your Openclaw Skills setup, install it via pip or execute it directly with uv.\n\nbash\npip install pdfly\n# Alternatively, use uvx for a one-off command\nuvx pdfly --help\n

pdfly CLI Data Schema & Taxonomy

pdfly CLI manages data through standard file inputs and structured outputs. The following table describes the data interaction model:\n\n| Component | Details |\n| :--- | :--- |\n| Input Formats | PDF, P12 (Certificates), Images, Text |\n| Metadata Exports | Text, JSON, YAML |\n| Page Selection | Pythonic slicing (e.g., 1:-1:2 for every other page excluding first/last) |\n| Extraction | Saves images as raw files and text as standard streams |

pdfly CLI Advanced Features

  • Support for complex 2-up and booklet layout transformations for print-ready documents.\n- Granular metadata inspection at both the document and individual page levels.\n- Digital signature verification using PEM certificates to ensure document authenticity.\n- Stream decompression and offset updating for repairing or auditing PDF internals.\n- Integration-ready CLI output formats for seamless use in larger Openclaw Skills automation scripts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*