Ollie File Processor for Openclaw

A versatile tool for batch file renaming and multi-format document conversion designed for automated workflows.

ollielin
v1.0.2
May 9, 2026
0
819
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install botbot-file-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 botbot-file-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 Ollie File Processor?

Ollie File Processor is a comprehensive utility within the Openclaw Skills ecosystem designed to handle repetitive file management tasks. It provides developers and power users with robust capabilities for batch renaming—supporting everything from simple prefixes to complex regular expressions—and high-fidelity file format conversions.

By integrating this skill, users can automate the transformation of media and documents, such as converting images to PDF, Markdown to PDF, or switching between various image formats like WebP and PNG. It is engineered for efficiency, featuring a dry-run mode to prevent accidental data loss during bulk operations.

Ollie File Processor Use Cases

  • Batch renaming image libraries with sequential numbering or custom timestamps.
  • Automating the conversion of Markdown documentation or Word documents into professional PDF reports.
  • Transforming large directories of high-resolution images into optimized WebP formats for web use.
  • Extracting individual pages from PDF documents as standalone image files for social media or presentations.
  • Standardizing messy file naming conventions using regex-based text replacement.

How Ollie File Processor Works

  1. Initialization: The user creates an instance of either the FileRenamer or FormatConverter class, specifying the target directory or file path.
  2. Configuration: Specific operations are defined, such as adding a suffix, defining a regex pattern, or setting the target conversion format and quality.
  3. Validation (Optional): A dry-run execution is triggered to preview changes without modifying the actual file system.
  4. Execution: The script processes the files sequentially, handling conflicts and ensuring data integrity during the renaming or conversion process.
  5. Verification: The system outputs the results, allowing the user to confirm that the files meet the expected specifications.

Ollie File Processor Setup

To use this component of Openclaw Skills, install the necessary Python SDKs and dependencies:

pip install tencentcloud-sdk-python cos-python-sdk-v5
pip install Pillow pdf2image docx2pdf markdown weasyprint

Note: For PDF to image conversion, Windows users must also install the Poppler library.

Ollie File Processor Data Schema & Taxonomy

The skill interacts with the local file system and cloud storage using a structured approach:

Feature Input Type Output Type Metadata Handled
Renaming Directory Path Renamed Files File index, timestamps, regex groups
Conversion Source File/Dir Target File/Dir DPI settings, image quality (1-100), sort order
Cloud Sync Local Files COS Objects Task IDs, usage metrics, storage paths

Scripts are organized into scripts/rename_files.py and scripts/convert_format.py for modular access.

Ollie File Processor Advanced Features

  • Dry Run Mode: Preview all file changes in the console without committing any writes to the disk.
  • Regex Integration: Perform complex string manipulations for file naming using standard regular expression groups.
  • Quality Control: Granular control over output quality (especially for WebP/JPG) and DPI settings for PDF rendering.
  • Batch PDF Merging: Automatically sort and combine a collection of images into a single, paginated PDF document.
  • Conflict Avoidance: Built-in logic to skip operations that would result in filename collisions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*