PDF Toolkit for Openclaw

A comprehensive document processing suite for AI agents to manipulate PDFs, perform OCR, and generate text-to-speech audio.

youpele52
v0.0.3
Mar 7, 2026
1
1.8k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install pdf-toolkit

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-toolkit 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?

The PDF Toolkit is a versatile utility designed to empower AI agents with deep document manipulation capabilities. By leveraging this tool within the Openclaw Skills ecosystem, agents can programmatically interact with PDF and DOCX files, performing tasks ranging from simple metadata extraction to advanced optical character recognition (OCR). It utilizes the uv python manager for seamless execution, ensuring dependencies are handled automatically in isolated environments.

This skill is particularly valuable for developers who need their agents to process unstructured data, automate document workflows, or provide accessibility features like text-to-speech. It operates locally on the host machine, providing high performance and security, while optionally utilizing external services for high-quality audio generation. Integrating this into your Openclaw Skills library transforms a standard AI agent into a sophisticated document processing assistant.

PDF Toolkit Use Cases

  • Extracting specific text, tables, or high-resolution images from complex PDF reports.
  • Merging multiple documents or splitting large PDFs into individual pages for easier processing.
  • Performing OCR on scanned PDF documents to transform images into searchable text.
  • Converting text files or existing PDFs into MP3 audio files for eyes-free consumption.
  • Rotating misaligned document pages or generating new PDFs and Word documents from raw text inputs.

How PDF Toolkit Works

  1. The AI agent triggers a command by invoking the local Python entry point via the uv run environment.
  2. The skill analyzes the input parameters, such as file paths, page ranges, or specific processing flags like OCR or TTS.
  3. Core operations (text extraction, merging, splitting) are performed using optimized Python libraries included in the Openclaw Skills package.
  4. For advanced tasks, the skill interfaces with host-level binaries like Tesseract for OCR or FFmpeg for audio normalization.
  5. Output files or extracted data are saved to the host filesystem, and in supported chat interfaces, generated files are automatically uploaded as attachments for the user.

PDF Toolkit Setup

To use this skill, ensure that uv is installed on your system. Certain advanced features require additional host binaries.

# Check which features are currently supported on your host
uv run src/main.py doctor

# Optional: Install system dependencies for OCR and TTS
# macOS
brew install tesseract poppler ffmpeg
# Ubuntu/Debian
sudo apt install tesseract-ocr poppler-utils ffmpeg

PDF Toolkit Data Schema & Taxonomy

The PDF Toolkit manages data through standard file system paths and structured CLI output.

Feature Input Type Output Format
Info PDF Path Plain text (Metadata, Page Count)
Extraction PDF Path Plain text, CSV (Tables), or Image files
OCR Scanned PDF Searchable text or PDF
TTS Text or PDF MP3 Audio file
Conversion Document Path Target format (PDF, DOCX, etc.)

PDF Toolkit Advanced Features

  • Support for selective page range processing (e.g., 1, 3, 5-10) across most commands.
  • High-fidelity text-to-speech using edge-tts with support for various neural voices.
  • Automated table detection and extraction from PDF structures.
  • Integrated document conversion using Pandoc or LibreOffice for complex format transitions.
  • Automatic cleanup of temporary files in cloud or containerized environments after file delivery via Openclaw Skills interfaces.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*