UniversalDocProcessor for Openclaw

A sophisticated document processing framework that provides intelligent analysis, modification, and conversion for any file format using Openclaw Skills.

cyril-ruidong
v2.0.0
Apr 7, 2026
0
618
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install universal-doc-processor

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 universal-doc-processor 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 UniversalDocProcessor?

UniversalDocProcessor is a robust framework designed for the intelligent handling of diverse document types within the Openclaw Skills ecosystem. Unlike traditional tools that perform rigid actions, this skill utilizes a state-management mechanism to parse, store, and manipulate data based on explicit user instructions. It supports everything from structured JSON data to complex PDF layouts, ensuring high-fidelity results without file size limitations.

By integrating this skill, developers and power users can automate the heavy lifting of document analysis. Whether you are dealing with batch processing or intricate multi-turn modifications, UniversalDocProcessor maintains context and state, ensuring that your document workflows are precise and responsive to changing requirements within Openclaw Skills.

UniversalDocProcessor Use Cases

  • Extracting key insights, summaries, or comparative data from lengthy PDF reports.
  • Batch modifying Word documents for consistent formatting or content updates.
  • Performing statistical analysis and generating visual summaries from Excel datasets.
  • Translating technical documentation into multiple languages while preserving original file structures.
  • Converting unstructured text logs or CSV data into structured reports or clean Markdown files.

How UniversalDocProcessor Works

  1. The process begins in a WAITING_FOR_FILES state, where the agent stands by for user uploads.
  2. Upon receiving files, the agent parses the content and metadata, transitioning to the FILES_RECEIVED state while notifying the user via Openclaw Skills.
  3. The agent waits for a specific task command (analyze, modify, translate) before initiating any logical operations.
  4. During the EXECUTING_TASK phase, the agent checks if all necessary parameters are met; if not, it shifts to NEED_INFO to clarify requirements.
  5. Once the task is complete, processed files are generated with descriptive suffixes and delivered to the user while maintaining the session for further requests.

UniversalDocProcessor Setup

To get started with this skill in your environment, ensure your agent has access to the standard document processing libraries. No complex installation is required for Openclaw Skills users as the state machine is handled natively.

# Register the skill to your agent
openclaw install universal-doc-processor

# Ensure your environment handles high-memory tasks for large files
export DOC_PROCESSOR_CHUNK_SIZE=50MB

UniversalDocProcessor Data Schema & Taxonomy

UniversalDocProcessor organizes data through a strict state registry and file metadata taxonomy to ensure reliability across Openclaw Skills workflows:

Component Details Metadata Tracked
Input Source PDF, Word, Excel, PPT, TXT, MD, CSV, JSON Filename, size, encoding type
State Management WAITING, RECEIVED, EXECUTING, NEED_INFO Current state, session duration
Output Files Suffixed files (e.g., _processed, _summary) Task completion status
Error Handling Parsing logs and suggestion records Failure reason, encoding attempts

UniversalDocProcessor Advanced Features

  • Smart encoding detection using chardet to handle legacy text files and various character sets.
  • Intelligent chunking for large-scale files exceeding 50MB to prevent memory overflow and ensure stability.
  • Multi-turn persistence allows users to perform a sequence of different operations on the same uploaded documents.
  • Automated session cleanup after 72 hours of inactivity to maintain workspace hygiene within Openclaw Skills.
  • Recursive parsing capabilities for nested data structures in JSON and Markdown formats.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*