OCR.space Text Recognition Skill for Openclaw

A high-performance text recognition tool that enables AI agents to extract content from images across 20+ languages using the OCR.space API.

juguangyuan520-dotcom
v1.0.0
Mar 10, 2026
3
2.8k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ocr-space

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 ocr-space 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 OCR.space Text Recognition Skill?

The OCR.space Text Recognition Skill provides a robust interface for AI agents to perform Optical Character Recognition (OCR) on various image formats. By integrating the free OCR.space API, this skill allows developers to expand the vision capabilities of their Openclaw Skills workflows, enabling agents to read screenshots, scanned documents, and localized text without requiring complex local model hosting. It serves as a bridge between visual data and textual intelligence, making it an essential component for any vision-capable agent ecosystem.

OCR.space Text Recognition Skill Use Cases

  • Automated text extraction from system screenshots or uploaded images.
  • Processing multi-language documents like receipts, invoices, and business cards.
  • Enabling translation workflows by feeding extracted image text into LLMs.
  • Facilitating data entry tasks from legacy document scans within Openclaw Skills.

How OCR.space Text Recognition Skill Works

  1. The AI agent or user invokes the skill by providing the file path to an image and an optional language code.
  2. The ocr_space.py script handles the request, automatically managing image compression if the file exceeds the 5MB limit.
  3. A request is sent to the OCR.space API using the provided credentials (defaulting to the helloworld test key).
  4. The API identifies characters and layout, returning a JSON response containing the parsed text.
  5. The skill extracts the relevant text string and returns it to the agent for further decision-making or storage.

OCR.space Text Recognition Skill Setup

To use this skill within your Openclaw Skills environment, ensure you have the necessary script files in your workspace.

# Navigate to your skills directory
cd ~/.openclaw/workspace/skills/ocr-space

# Ensure Python 3 is installed and verify dependencies
# The script uses the requests library for API communication
pip install requests

# Test the skill directly via CLI
python3 ocr_space.py /path/to/your/image.png eng

OCR.space Text Recognition Skill Data Schema & Taxonomy

The skill maintains a simple and efficient data structure to ensure compatibility across different Openclaw Skills implementations.

Attribute Type Description
image_path String The absolute path to the image file (JPG, PNG, PDF supported).
language String ISO language code (e.g., chs, eng, jpn) for targeted recognition.
result String The raw text output extracted from the source image.
api_key String The OCR.space API key (defaults to helloworld for free tier).

OCR.space Text Recognition Skill Advanced Features

  • Support for over 20 global languages including Simplified Chinese, Japanese, and Korean.
  • Seamless integration with Openclaw Skills through the exec execution layer.
  • Automatic file size optimization to comply with API constraints.
  • Access to Engine 2 and Engine 3 for advanced features like automatic language detection.
  • High-availability free tier allowing up to 500 requests per day for development and testing.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*