← Back to Skills Marketplace
snazar-faberlens

Ocr Local Hardened

by Faberlens · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ocr-local-hardened
Description
Extract text from images using Tesseract.js OCR (100% local, no API key required). Supports Chinese (simplified/traditional) and English.
Usage Guidance
This skill is internally consistent and appears safe for local OCR use. Before installing, note: (1) Node and tesseract.js are required; run npm install or let your package manager install tesseract.js. (2) The first run will typically download Tesseract language data (~20MB per language) from the network unless you pre-cache traineddata — if you need fully offline use, pre-provision those files. (3) The skill warns and enforces guardrails: do not OCR remote URLs via the skill and do not transmit OCR output to external endpoints; outputs may contain secrets. (4) If you have strong security requirements, inspect the tesseract.js dependency source and the traineddata download host(s) to ensure they meet your policies. Otherwise this skill is coherent with its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: ocr-local-hardened Version: 1.0.0 The skill is a local OCR tool using the legitimate Tesseract.js library. The 'hardened' aspect refers to defensive prompt instructions in SKILL.md and SAFETY.md designed to prevent the AI agent from being coerced into exfiltrating data or performing SSRF. The core logic in scripts/ocr.js is minimal, well-documented, and contains no malicious functionality or suspicious network activity beyond the documented download of language data.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
Name/description, package.json, SKILL.md, and scripts/ocr.js all align: the skill uses Node + tesseract.js to OCR local image files and supports Chinese/English. One caveat: although marketed as "100% local," SKILL.md and typical Tesseract.js behavior note that language traineddata (~20MB per language) is downloaded on first run — so an initial network download is expected unless the traineddata are pre-cached. This is a documented behavior, not inconsistent, but users expecting a fully offline install should be aware of it.
Instruction Scope
The runtime instructions and the script operate only on a user-specified local image path, accept language and --json flags, and output text/JSON to stdout. SKILL.md explicitly forbids fetching remote images and network exfiltration and the code does not perform network calls or read unrelated files or environment variables.
Install Mechanism
There is no risky download/install spec in the registry metadata; dependencies are standard (tesseract.js via npm) and package.json declares that dependency. Nothing is pulled from obscure URLs or extracted from archives by the skill itself.
Credentials
The skill requests no environment variables or credentials and does not declare any config paths. The scope of access (reading a user-specified local image file) is proportional to the stated purpose.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or persistent privileges. It does not attempt to modify other skills or system-wide configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ocr-local-hardened
  3. After installation, invoke the skill by name or use /ocr-local-hardened
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release: Extract text from images locally using Tesseract.js, with no API key required. - Supports Chinese (simplified/traditional) and English language recognition. - Offers command-line options for language selection and JSON/text output. - Includes security guardrails: no remote fetching, no network transmission of output, and strict credential redaction. - Language data is downloaded on first run and cached for efficiency.
Metadata
Slug ocr-local-hardened
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Ocr Local Hardened?

Extract text from images using Tesseract.js OCR (100% local, no API key required). Supports Chinese (simplified/traditional) and English. It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install Ocr Local Hardened?

Run "/install ocr-local-hardened" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Ocr Local Hardened free?

Yes, Ocr Local Hardened is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Ocr Local Hardened support?

Ocr Local Hardened is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Ocr Local Hardened?

It is built and maintained by Faberlens (@snazar-faberlens); the current version is v1.0.0.

💬 Comments