Xpersona
E

Enterprise Qualification Ocr

CLAWHUB · Unverified

将图片中的文字、营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书等信息识别并提取出来。本技能应在用户需要 OCR 识别图片中的文字,或识别营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书时使用。 Skill: Enterprise Qualification Ocr Owner: scnet-sugon Summary: 将图片中的文字、营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书等信息识别并提取出来。本技能应在用户需要 OCR 识别图片中的文字,或识别营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书时使用。 Tags: latest:1.0.5 Version history: v1.0.5 | 2026-07-03T03:47:19.640Z | user - 增加了显著的隐私与安全警告,明确提示图片数据将上传至第三方服务进行识别,并强调用户需注意数据敏感性与法律合规责任。 - tags 字段优化,将“发票识别”更正为“企业资质识别”以更准确反映技

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/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 s17aan1jdk93c5398r3ypc523d83hqys:enterprise-qualification-ocr
  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-scnet-sugon-enterprise-qualification-ocr/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

85,961 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: enterprise_qualification_ocr
description: 将图片中的文字、营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书等信息识别并提取出来。本技能应在用户需要 OCR 识别图片中的文字,或识别营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书时使用。
version: 1.0.5
author: SCNet
license: MIT
tags:
  - OCR
  - 证件识别
  - 企业资质识别
  - 文字提取
dependencies:
  - python3
  - requests
input:
  - ocrType : 识别类型,可选值见下文
  - filePath : 待识别图片的本地路径
output: 结构化的 JSON 数据,包含识别结果和置信度
---
# Sugon-Scnet 企业资质证书 OCR 技能

本技能封装了 Sugon-Scnet 企业资质证书 OCR 服务,通过单一接口即可调用 7 种识别能力,高效提取文字及票据信息。

> ## 🚨 重要隐私与安全警告(使用前必读)
>
> **1. 数据外传性质**  
> 本技能会将您提供的企业资质证照图片,**通过网络传输至第三方服务商(`api.scnet.cn`)** 进行 OCR 处理。图片数据**会离开您的本地设备**,并非在本地离线处理。
>
> **2. 数据的敏感性**  
> 企业资质证照包含以下高度敏感的商业信息:
> - **企业身份**:统一社会信用代码、企业名称、法定代表人、注册地址。
> - **注册资本与成立时间**。
> - **登记机关及有效期**(部分证照)。
    > 这些信息一旦泄露,可能被用于假冒企业注册、商业欺诈、合同诈骗等违法活动,对企业声誉和经营造成严重影响。
>
> **3. 数据用途与保留**
> - **用途**:上传的数据仅用于本次文本识别请求,服务商不会用于其他目的。
> - **保留期限**:请查阅服务商(`scnet.cn`)官方隐私政策。**强烈建议您在获取识别结果后,立即手动删除本地图片及任何缓存副本**,以最大程度降低数据暴露风险。
>
> **4. 法律合规与授权**  
> 使用本技能处理非本企业或未经授权的企业证照时,您必须**确保已获得该企业信息主体的明确授权**。未经授权处理他人商业信息可能违反《个人信息保护法》及《反不正当竞争法》等相关法律法规。
>
> **5. 用户知情同意**  
> **使用本技能即表示您已阅读、理解并同意上述数据处理方式,并自愿承担因不当使用、未授权处理或数据泄露所引发的一切法律责任。**

---

## 功能特性

- **行业资质**:营业执照、社会团体法人登记证书、工会法人资格证书、宗教活动场所登记证、民办非企业单位登记证书、事业单位法人证书、统一社会信用代码证书。

## 前置配置

> **⚠️ 重要**:使用前需要申请 Scnet API Token

### 申请 API Token

1. 访问 [Scnet 官网](https://www.scnet.cn) 注册/登录
2. 在控制台申请 API 密钥(格式:`sc-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`)
3. 复制密钥备用

### 配置 Token

**手动配置(推荐)**
1. 在技能目录下创建 `config/.env` 文件,内容如下:
```ini
# =====  Sugon-Scnet OCR API 配置 =====
# 申请地址:https://www.scnet.cn
SCNET_API_KEY=your_scnet_api_key_here

# API 基础地址(一般无需修改)
SCNET_API_BASE=https://api.scnet.cn/api/llm/v1
```
2. 添加:`SCNET_API_KEY=你的密钥`
3. 设置文件权限为 600(仅所有者可读写)
**⚠️ 安全警告**:切勿将 API Key 直接粘贴到聊天对话中,否则可能被记录或泄露。

### Token 更新

Token 过期后调用会返回 401 或 403 错误。更新方法:重新申请 Token 并替换 config/.env 中的 SCNET_API_KEY。

### 依赖安装

本技能需要 Python 3.6+ 和 requests 库。请运行以下命令:

```bash
   pip install requests
```
---
### 使用方法

### 参数说明

| 参数名 | 类型 | 必填 | 描述 |
|--------|------|------|------|
| ocrType | string | 是 | 识别类型枚举。必须为以下之一:<br>• BUSINESS_LICENSE(营业执照)<br>• SOCIAL_ORG_REG (社会团体法人登记证书)<br>• TRADE_UNION_REG (工会法人资格证书)<br>• RELIGIOUS_ACTIVITY_REG(宗教活动场所登记证)<br>• PRIVATE_NON_ENTERPRISE_REG(民办非企业单位登记证书)<br>• INSTITUTION_LEGAL_REG(事业单位法人证书)<br>• UNIFIED_SOCIAL_CREDIT_REG(统一社会信用代码证书) |
| filePath | string | 是 | 待识别图片的本地绝对路径。支持 jpg、png、pdf 等常见格式。 |

### 命令行调用示例

```bash
   python .claude/skills/enterprise_qualification_ocr/scripts/main.py BUSINESS_LICENSE /path/to/invoice.jpg
```

### 在 AI 对话中使用

用户可以说:

- “请识别这张营业执照上的统一社会信用代码和企业名称,图片在 /Desktop/license.jpg”
- “帮我提取这个社会团体法人登记证书的有效期,路径是……”

AI 会根据 description 中的关键词自动触发本技能。

### AI 调用建议
为避免触发 API 速率限制(10 QPS),请串行调用本技能,即等待前一个识别完成后再发起下一个请求。
如果使用 OpenClaw 的 exec 工具,建议设置 timeout 或 yieldMs 参数,让命令同步执行,避免多个命令同时运行导致并发。

### 配置

README.md

# enterprise_qualification_ocr



## Getting started

To make it easy for you to get started with GitLab, here's a list of recommended next steps.

Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!

## Add your files

* [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
* [Add files using the command line](https://docs.gitlab.com/topics/git/add_files/#add-files-to-a-git-repository) or push an existing Git repository with the following command:

```
cd existing_repo
git remote add origin https://github.com/SCNet-sugon/enterprise_qualification_ocr.git
git branch -M main
git push -uf origin main
```

## Integrate with your tools

* [Set up project integrations](http://10.19.0.66:10068/sugon/sugon-scnet-ocr/-/settings/integrations)

## Collaborate with your team

* [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
* [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
* [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
* [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
* [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)

## Test and Deploy

Use the built-in continuous integration in GitLab.

* [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/)
* [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
* [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
* [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
* [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)

***

# Editing this README

When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.

## Suggestions for a good README

Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.

## Name
Choose a self-expla

_meta.json

{
  "ownerId": "kn7ax58mnefnavcfwakqxpsgqn82tacy",
  "slug": "enterprise-qualification-ocr",
  "version": "1.0.5",
  "publishedAt": 1783050439640
}

references/api-docs.md

# Sugon-Scnet OCR API 文档摘要

## 接口地址
`POST https://api.scnet.cn/api/llm/v1/ocr/recognize`

## 请求头
- `Content-Type: multipart/form-data`
- `Authorization: Bearer <你的 API Key>`

## 请求参数(表单)
| 参数名  | 类型 | 必填 | 描述                                   |
| ------- | ---- | ---- | -------------------------------------- |
| file    | File | 是   | 需要识别的图片文件                     |
| ocrType | str  | 是   | 识别类型枚举,详见 SKILL.md 参数说明   |

## 响应结构
```json
{
    "code": "0",
    "msg": "success",
    "data": [
        {
            "traceId": "202604010000011",
            "originalFilename": "营业执照示例.jpg",
            "cosPath": "/ocr/202604/01/营业执照示例.jpg",
            "result": [
                {
                    "status": 200,
                    "originFilename": "营业执照示例.jpg",
                    "cosPath": "/ocr/202604/01/营业执照示例.jpg",
                    "fileIndex": 1,
                    "cutIndex": 0,
                    "coordinate": [],
                    "classifyCode": "BUSINESS_LICENSE",
                    "confidence": 0.996,
                    "elements": {
                        "title": "营业执照",
                        "socialCreditCode": "9141225973G225973G",
                        "name": "技术开发电子科技有限公司",
                        "capital": "陆佰壹拾万圆整",
                        "type": "有限责任公司(自然人投资或控股的法人独资)",
                        "date": "2003年04月28日",
                        "directorType": "法定代表人",
                        "director": "张开发",
                        "businessTerm": "2003年04月28日至2028年04月01日",
                        "businessScope": "电子产品的技术开发, 安全生产检测检验(凭有效资质证经营)。(依法须经批准的项目, 经相关部门批准后方可开展经营活动)",
                        "address": "山州市圆山路330号院307室"
                    },
                    "stamps": []
                }
            ]
        }
    ]
}
```
## 错误码
- `401 / 403: Token 无效或过期`
- `其他 4xx/5xx: 请检查请求参数或联系服务商`
- `业务错误码(如 code 非 0):见返回的 msg 字段`

## 注意事项
- `支持单张图片、PDF 或多页压缩包(自动解压识别)`
- `识别结果位于 data[0].result[0].elements 中`
- `不同 ocrType 返回的 elements 字段不同,详见 assets/templates/fields-summary.md`

assets/templates/fields-summary.md

# 各识别类型的字段说明(elements 内容)

根据 ocrType 不同,返回的 `elements` 对象包含以下字段:

## BUSINESS_LICENSE (营业执照)
- `title`: 标题
- `socialCreditCode`: 统一社会信用代码
- `name`: 名称
- `capital`: 注册资本
- `type`: 类型
- `date`: 成立日期
- `directorType`: 负责人类型
- `director`: 负责人
- `businessTerm`: 有效日期至
- `businessScope`: 经营范围
- `address`: 住所

## SOCIAL_ORG_REG (社会团体法人登记证书)
- `title`: 标题
- `name`: 名称
- `directorType`: 负责人类型
- `director`: 负责人
- `scope`: 业务范围
- `regionAct`: 活动地域
- `capital`: 注册资金
- `address`: 住所
- `businessUnit`: 业务主管单位
- `code`: 统一社会信用代码
- `due`: 有效期限
- `issueUnit`: 发证机关
- `issueDate`: 发证日期

## TRADE_UNION_REG (工会法人资格证书)
- `title`: 标题
- `name`: 工会名称
- `address`: 住所
- `directorType`: 负责人类型
- `director`: 负责人
- `issueUnit`: 发证机关
- `due`: 有效期
- `code`: 社会统一信用代码
- `issueDate`: 发证日期

## RELIGIOUS_ACTIVITY_REG (宗教活动场所登记证)
- `title`: 标题
- `name`: 名称
- `religion`: 教别
- `orgNature`: 类别
- `directorType`: 负责人类型
- `director`: 负责人
- `address`: 地址
- `code`: 统一社会信用代码
- `religionNo`: 宗场证字
- `issueUnit`: 发证机关
- `issueDate`: 发证日期

## PRIVATE_NON_ENTERPRISE_REG (民办非企业单位登记证书)
- `title`: 标题
- `name`: 名称
- `directorType`: 负责人类型
- `director`: 法定代表人
- `address`: 住所
- `capital`: 开办资金
- `scope`: 业务范围
- `businessUnit`: 业务主管单位
- `code`: 统一社会信用代码
- `due`: 有效期限
- `issueUnit`: 发证机关
- `issueDate`: 发证日期

## INSTITUTION_LEGAL_REG (事业单位法人证书)
- `title`: 标题
- `name`: 名称
- `directorType`: 负责人类型
- `director`: 法定代表人
- `scope`: 宗旨和业务范围
- `resource`: 经费来源
- `capital`: 开办资金
- `address`: 住所
- `organizer`: 举办单位
- `code`: 统一社会信用代码
- `due`: 有效期

## UNIFIED_SOCIAL_CREDIT_REG (统一社会信用代码证书)
- `title`: 标题
- `name`: 机构名称
- `orgNature`: 机构性质
- `address`: 机构地址
- `directorType`: 负责人类型
- `director`: 负责人
- `code`: 统一社会信用代码
- `due`: 有效期至
- `issueDate`: 颁发日期

Sponsored

Ads related to Enterprise Qualification Ocr and adjacent AI workflows.