Moark OCR for Openclaw

A high-performance OCR skill that utilizes the GITEE AI API to extract, recognize, and summarize text from image files.

fchange
v1.0.0
Mar 24, 2026
0
849
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install moark-ocr

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 moark-ocr 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 Moark OCR?

Moark OCR is a specialized tool within the ecosystem of Openclaw Skills designed to provide developers and AI agents with visual perception capabilities. By connecting to the GITEE AI API, this skill allows users to transform static images, screenshots, and scanned documents into actionable text data.

Unlike traditional OCR tools that simply output raw text, Moark OCR leverages prompt-based logic to summarize the recognized content according to specific user requirements. This makes it an essential component for developers building automated workflows that need to interpret visual information accurately and contextually.

Moark OCR Use Cases

  • Extracting snippets of code or error messages from screenshots during debugging sessions.
  • Digitizing data from physical receipts, invoices, or business cards for automated bookkeeping.
  • Summarizing core insights from complex infographics or slide deck images.
  • Converting non-selectable text in PDF screenshots into editable Markdown format.

How Moark OCR Works

  1. The user initiates a request by providing an image path and a descriptive prompt for the extraction.
  2. The system invokes the internal Python script, passing the GITEE AI credentials and image parameters.
  3. The script processes the image via the external API and generates a structured response containing the recognized text.
  4. The agent parses the standard output to identify the specific OCR_RESULT tag.
  5. The final output is rendered in Markdown, featuring an emoji-enhanced header and a contextual summary that strictly follows the user's initial instructions.

Moark OCR Setup

To get started with this component of your Openclaw Skills library, install the required dependencies and configure your API access:

pip install openai

You must also set your GITEE AI API key as an environment variable or pass it directly through the CLI:

export GITEEAI_API_KEY="your_api_key_here"
python scripts/perform_ocr.py --image ./path/to/document.png --prompt "Summarize the main headings" --api-key $GITEEAI_API_KEY

Moark OCR Data Schema & Taxonomy

The skill manages data through a CLI-based input-output pipeline. The following table describes the data structure utilized:

Attribute Description Requirement
--image Path to the source image file (JPG, PNG, etc.) Required
--prompt Natural language instructions for text processing Required
GITEEAI_API_KEY Authentication token for the AI backend Required
OCR_RESULT: The prefix used to identify valid extracted text in the logs System Generated

Moark OCR Advanced Features

  • Prompt-driven summarization: Beyond simple extraction, the skill filters and summarizes text based on your specific needs.
  • Error handling for missing credentials: Automatically prompts the user if the primary API environment variable is not detected.
  • Markdown-ready output: Results are formatted with specific icons for immediate use in documentation or chat interfaces.
  • No-hallucination policy: The skill is configured to repeat user requirements honestly without adding imaginary details to the OCR results.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*