Degree Certificate OCR for Openclaw

An AI-powered OCR skill designed to parse and extract structured data from academic degree certificates and diplomas.

scnet-sugon
v1.0.0
Jun 1, 2026
0
630
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install degree-certificate-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 degree-certificate-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 Degree Certificate OCR?

The Degree Certificate OCR skill is a high-performance optical character recognition tool designed to automate the extraction of key academic data from physical and digital diplomas. Powered by the Sugon-Scnet API, this skill allows developers and AI agents to parse credentials seamlessly, pulling critical fields such as the recipient's name, conferred degree type, granting institution, and graduation date.

By integrating this capability into Openclaw Skills, developers can build robust automation pipelines for HR screening, background checks, and academic verification. The skill eliminates manual data entry bottlenecks by translating unstructured document images (including JPG, PNG, and PDF formats) into highly reliable, structured JSON data.

Degree Certificate OCR Use Cases

  • Automated HR & Recruiting Verification: Instantly extract candidate diploma details to cross-reference and pre-populate background verification systems.
  • Academic Credentialing: Help universities, evaluation agencies, and online platforms parse uploaded certificates to accelerate student onboarding and registration.
  • Data Migration & Digitization: Bulk-process historical physical records of academic certificates into a structured, searchable digital database.

How Degree Certificate OCR Works

  1. Trigger: The user or AI agent initiates the skill by providing a local file path of a degree certificate (JPG, PNG, or PDF format) and designating the classification type as DIPLOMA.
  2. Authentication & Request: The skill retrieves the SCNET_API_KEY credentials from the environment variables and sends an authorized request to the Sugon-Scnet OCR endpoint.
  3. OCR Processing: The Sugon-Scnet engine performs visual character recognition and parses the image layout to isolate key academic fields.
  4. Structured Output: The skill receives the raw response, formats it into clean JSON data (with detailed extraction parameters and confidence scores), and returns it to the calling agent or terminal.

Degree Certificate OCR Setup

Follow these steps to configure the Degree Certificate OCR capability within your Openclaw Skills workspace:

1. Request an API Key

  1. Visit the Scnet Official Website to register or log in.
  2. Create an API Key in the user dashboard. The key should follow the format sc-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.
  3. Copy the key for configuration.

2. Configure Environment Variables

Create or edit your local environment file at config/.env:

# Sugon-Scnet OCR API Configuration
SCNET_API_KEY=your_scnet_api_key_here
SCNET_API_BASE=https://api.scnet.cn/api/llm/v1

Security Note: Never paste API keys directly into agent chat sessions.

3. Install Dependencies

Install the necessary Python dependencies via pip:

pip install requests

4. Running the Tool

You can run the OCR skill directly from the CLI command line:

python .claude/skills/degree_certificate_ocr/scripts/main.py DIPLOMA /path/to/test.jpg

Degree Certificate OCR Data Schema & Taxonomy

Input Parameters

Parameter Type Required Description
ocrType string Yes The type of document to identify. Must be DIPLOMA.
filePath string Yes Absolute local file path to the target image or document. Supports jpg, png, and pdf formats.

Output Structure

The output yields structured JSON containing recognized elements and confidence metrics:

{
  "data": [
    {
      "result": [
        {
          "elements": {
            "name": "Recipient Name",
            "degree": "Type of Conferred Degree",
            "institution": "Granting University/Institution",
            "date": "Conferring Date"
          },
          "confidence": 0.98
        }
      ]
    }
  ]
}

Degree Certificate OCR Advanced Features

  • AI Chat Integration: The skill triggers automatically during natural language interactions when users request diploma analysis within Openclaw Skills-supported platforms.
  • Rate-Limit Guarding: Implements automatic handling for API limits (10 QPS limit), suggesting sequential processing and custom timeout options during batch processing tasks.
  • Error Resiliency: Built-in automated retries (up to 3 times) when encountering 429 Too Many Requests status codes to ensure high service availability.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*