Unified Social Credit Code OCR for Openclaw

A specialized OCR skill for high-accuracy identification and extraction of data from Unified Social Credit Code certificates.

scnet-sugon
v1.0.3
Apr 16, 2026
0
891
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install credit-code-cert-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 credit-code-cert-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 Unified Social Credit Code OCR?

The Unified Social Credit Code OCR skill is a robust tool designed to integrate Sugon-Scnet OCR services directly into your AI workflows. It specializes in the automated recognition of corporate credentials and certificates, translating visual data into structured JSON formats. As part of the Openclaw Skills ecosystem, it enables developers and AI agents to handle complex document processing tasks with minimal configuration.

This skill is particularly valuable for businesses requiring automated KYC (Know Your Customer) processes or administrative data entry. By leveraging advanced vision models, it can extract text and certificate identifiers from common image formats and PDFs, ensuring that your AI agent can verify enterprise identities efficiently.

Unified Social Credit Code OCR Use Cases

  • Automating the verification of business licenses and social credit certificates.
  • Extracting structured enterprise data for CRM or ERP systems from scanned documents.
  • Streamlining financial auditing and corporate compliance checks.
  • Integrating vision-to-text capabilities into AI-driven business research assistants.

How Unified Social Credit Code OCR Works

  1. The AI agent receives a request to process a specific certificate image or PDF located at a local file path.
  2. The skill validates the input parameters, specifically the ocrType (UNIFIED_SOCIAL_CREDIT_REG) and the accessibility of the filePath.
  3. A secure request is dispatched to the Sugon-Scnet API using the configured SCNET_API_KEY.
  4. The remote service processes the image and returns a detailed JSON response containing identified elements and confidence scores.
  5. The skill parses this raw data and presents a structured JSON output to the user or the calling agent.

Unified Social Credit Code OCR Setup

To get started with this skill in the Openclaw Skills framework, follow these steps:

  1. Install Dependencies:
pip install requests
  1. Configure Environment: Create a config/.env file in the skill directory and add your API credentials:
SCNET_API_KEY=your_scnet_api_key_here
SCNET_API_BASE=https://api.scnet.cn/api/llm/v1
  1. Usage via CLI:
python .claude/skills/credit_code_cert_ocr/scripts/main.py UNIFIED_SOCIAL_CREDIT_REG /path/to/certificate.jpg

Unified Social Credit Code OCR Data Schema & Taxonomy

The skill returns a structured JSON object containing the extraction results. Below is the organization of the returned data:

Field Description
data The root array containing recognition results.
result A nested object containing the specific elements extracted from the OCR process.
elements Individual data points (e.g., Credit Code, Company Name) found on the certificate.
confidence A numerical score indicating the reliability of the extraction for each field.

In case of failure, an error message starting with 错误: is returned.

Unified Social Credit Code OCR Advanced Features

  • Rate Limiting Management: Built-in handling for the 10 QPS limit with automatic retries on 429 errors.
  • Comprehensive File Support: Compatible with jpg, png, and pdf formats for versatile document processing.
  • AI-Native Integration: Designed to be triggered naturally through conversational prompts within Openclaw Skills supported environments.
  • Configurable API Base: Allows for redirection to custom endpoints or enterprise-specific Scnet deployments.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*