Xpersona
R

RapidOCR

CLAWHUB · Unverified

Extract text from local image files with RapidOCR. Use when the user wants OCR on a JPG, PNG, WEBP, BMP, or TIFF image and may want plain text or JSON output. Skill: RapidOCR Owner: rapidai Summary: Extract text from local image files with RapidOCR. Use when the user wants OCR on a JPG, PNG, WEBP, BMP, or TIFF image and may want plain text or JSON output. Tags: latest:1.0.3 Version history: v1.0.3 | 2026-04-23T03:44:37.423Z | user **Summary:** RapidOCR skill v1.0.3 introduces a new Node.js wrapper and updates usage instructions for improved clarity and reliability. - Added

62
Rank
84
Safety
967
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 967 downloads reported by the source. Last updated 10/12/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174nep1yd6xrc380cy1zwza7x84f862:rapidocr
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-rapidai-rapidocr/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

25,390 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: rapidocr
description: Extract text from local image files with RapidOCR. Use when the user wants OCR on a JPG, PNG, WEBP, BMP, or TIFF image and may want plain text or JSON output.
version: 1.0.3
homepage: https://rapidai.github.io/RapidOCRDocs
user-invocable: true
metadata: {"openclaw":{"requires":{"bins":["node"],"anyBins":["python3","python","py"]},"homepage":"https://rapidai.github.io/RapidOCRDocs","emoji":"🔎","os":["macos","linux","windows"]}}
---

# RapidOCR

ClawHub skill for local image OCR with RapidOCR.

## When to use

- The user wants text extracted from a local image file.
- The input is a local `png`, `jpg`, `jpeg`, `webp`, `bmp`, `tif`, or `tiff` file.
- The user wants either plain text output or structured JSON output.

## Do not use

- Remote image URLs.
- PDF OCR.
- Relative paths when an absolute path is available.

## Execution

1. Pass the user's original request directly to the wrapper script.
2. Run `node "{baseDir}/run_rapidocr.js" "{{input}}"`.
3. If the host does not substitute `{baseDir}`, resolve the directory containing this `SKILL.md` and run the sibling file `run_rapidocr.js` from there.
4. For local testing, `RAPIDOCR_PYTHON=/path/to/python` can be used to force a specific interpreter.
5. Otherwise the wrapper auto-discovers `python3`, `python`, or `py`.
6. If the user asks for JSON, preserve the script's JSON output exactly.
7. If dependencies are missing, tell the user to run `<python> -m pip install rapidocr onnxruntime` with the interpreter they intend to use.
8. Publish this folder to ClawHub with slug `rapidocr`.

## Behavior

- The wrapper extracts a local image path from natural language, JSON-like input, or a direct path.
- The wrapper only reads existing local image files.
- Default output is plain text, one recognized line per line.
- JSON mode returns `text`, `lines`, `boxes`, `scores`, and `source`.

README.md

# RapidOCR Skill

ClawHub skill for local image OCR with RapidOCR.

## Files

- `SKILL.md`: ClawHub skill definition
- `run_rapidocr.js`: wrapper that extracts a local image path and launches Python
- `run_rapidocr.py`: Python OCR entrypoint
- `_meta.json`: local publish metadata

## Features

- Local image OCR for `png`, `jpg`, `jpeg`, `webp`, `bmp`, `tif`, `tiff`
- Natural-language input parsing
- Plain text output
- JSON output with `text`, `lines`, `boxes`, `scores`, `source`
- No remote URL download

## Dependencies

Install RapidOCR into the interpreter you want to use:

```bash
python -m pip install rapidocr onnxruntime
```

The wrapper auto-discovers `python3`, `python`, or `py`.

For local testing, you can override the interpreter:

```bash
RAPIDOCR_PYTHON=/path/to/python node ./run_rapidocr.js "/absolute/path/to/demo.png" --json
```

## Publish

Recommended ClawHub slug: `rapidocr`

Typical publish flow:

```bash
clawhub skill publish . --slug rapidocr --version 1.0.3
```

_meta.json

{
  "ownerId": "kn76d1p8he6b9hfb4b3wjjt28d84ecrr",
  "slug": "rapidocr",
  "version": "1.0.3",
  "publishedAt": 1776915877423
}

skill-card.md

## Description:

Extract text from local image files with RapidOCR. Use when the user wants OCR on a JPG, PNG, WEBP, BMP, or TIFF image and may want plain text or JSON output.

This skill is ready for commercial/non-commercial use.

## Publisher:

[rapidai](https://clawhub.ai/user/rapidai)

### License/Terms of Use:

MIT-0

## Use Case:

External users and developers use this skill to run local OCR on supported image files and receive recognized text as plain text or structured JSON.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: OCR may process sensitive information contained in local image files.

Mitigation: Avoid running OCR on sensitive images unless the local RapidOCR and onnxruntime installation is approved for that content.

Risk: Installing Python OCR dependencies from an untrusted package index can introduce runtime supply-chain risk.

Mitigation: Install rapidocr and onnxruntime only from trusted package indexes or pinned requirements.

## Reference(s):

- [RapidOCR Documentation](https://rapidai.github.io/RapidOCRDocs)

## Skill Output:

**Output Type(s):** [Text, JSON]

**Output Format:** [Plain text or JSON]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [JSON mode includes text, lines, boxes, scores, and source.]

## Skill Version(s):

1.0.3 (source: SKILL.md frontmatter and server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to RapidOCR and adjacent AI workflows.