enterprise_license_ocr
支持企业许可证的票据识别。 Skill: enterprise_license_ocr Owner: scnet-sugon Summary: 支持企业许可证的票据识别。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-11T04:07:38.309Z | auto Initial release supporting enterprise license OCR: - Provides OCR for various enterprise licenses, including business, food production, hygiene, financial, institution code, payment, and account opening permits. - Requires SCNET_API_KEY for authentication; optional confi
Rank
62
Safety
84
Downloads
1.9k
Updated
Oct 9, 2026
Version
0.1.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 1.9K downloadsadoption · observed Oct 9, 2026
- Latest release
- 0.1.0release · observed Aug 11, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17aan1jdk93c5398r3ypc523d83hqys:enterprise-license-ocr- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- 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-license-ocr/snapshot"
Documentation
CLAWHUB
27,977 characters of source documentation, loaded on request.
Extracted files
5 files captured from the source.
SKILL.md
--- name: enterprise_license_ocr description: 支持企业许可证的票据识别。 version: 1.0.0 author: SCNet license: MIT tags: - OCR - 证件识别 - 企业许可证 - 食品经营许可证 - 食品生产许可证 - 卫生许可证 - 金融许可证 - 金融机构代码证 - 支付业务许可证 - 开户许可证 required_env_vars: - SCNET_API_KEY optional_env_vars: - SCNET_API_BASE primary_credential: SCNET_API_KEY dependencies: - python3 - requests input: - ocrType : 识别类型,可选值见下文 - filePath : 待识别图片的本地路径 output: 结构化的 JSON 数据,包含识别结果和置信度 --- # Sugon-Scnet 企业许可证 OCR 技能 本技能封装了企业许可证识别的 OCR 服务,通过单一接口即可调用 7种识别能力,高效提取票据内容。 --- ## 功能特性 - **企业许可证识别**:支持识别企业经营许可证、食品生产许可证、卫生许可证、金融许可证、金融机构代码证、支付业务许可证、开户许可证的票据信息。 ## 前置配置 > **⚠️ 重要**:使用前需要申请 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>• ENTERPRISE_OPERATING_LICENSE(企业经营许可证)<br>• ENTERPRISE_PRODUCTION_LICENSE(食品生产许可证)<br>• ENTERPRISE_HYGIENE_LICENSE(卫生许可证)<br>• ENTERPRISE_FINANCIAL_LICENSE(金融许可证)<br>• ENTERPRISE_FINANCIAL_LICENSE(金融机构代码证)<br>• ENTERPRISE_PAYMENT_LICENSE(支付业务许可证)<br>• ENTERPRISE_ACCOUNTING_LICENSE(开户许可证) | | filePath | string | 是 | 待识别图片的本地绝对路径。支持 jpg、png、pdf 等常见格式。 | ### 命令行调用示例 ```bash python .claude/skills/enterprise_license_ocr/scripts/main.py ENTERPRISE_OPERATING_LICENSE /path/to/test.jpg ``` ### 在 AI 对话中使用 用户可以说: - “帮我识别这张图像中的企业经营许可证票据信息,图片在 /Users/name/Downloads/test.jpg” - “帮我识别这张图像中的食品生产许可证票据信息,图片在 /Users/name/Downloads/test.jpg” - “帮我识别这张图像中的卫生许可证票据信息,图片在 /Users/name/Downloads/test.jpg” - “帮我识别这张图像中的金融许可证票据信息,图片在 /Users/name/Downloads/test.jpg” - “帮我识别这张图像中的金融机构代码证票据信息,图片在 /Users/name/Downloads/test.jpg” - “帮我识别这张图像中的支付业务许可证票据信息,图片在 /Users/name/Downloads/test.jpg” - “帮我识别这张图像中的开户许可证票据信息,图片在 /Users/name/Downloads/test.jpg” AI 会根据 description 中的关键词自动触发本技能。 ### AI 调用建议 为避免触发 API 速率限制(10 QPS),请串行调用本技能,即等待前一个识别完成后再发起下一个请求。 如果使用 OpenClaw 的 exec 工具,建议设置 timeout 或 yieldMs 参数,让命令同步执行,避免多个命令同时运行导致并发。 ### 配置选项 编辑 `config/.env` 文件: | 变量名 | 默认值 | 说明 | |--------|--------|------| | SCNET_API_KEY | 必需 | Scnet API 密钥 | | SCNET_API_BASE | https://api.scnet.cn/api/llm/v1 | API 基础地址(一般无需修改) | ### 输出 - 标准输出:识别结果的 JSON 数据,结构与 API 文档一致,位于 `data` 字段内。 - 识别结果位于 data[0].result[0].elements 中,具体字段取决于 ocrType。 - 错误信息:如果发生错误,会输出以 `错误:` 开头的友好提示。 ### 注意事项 - 本技能调用的 OCR A
README.md
# enterprise_license_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_license_ocr.git git branch -M main git push -uf origin main ``` ## 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-explaining name for your project. ## Description Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Feature
_meta.json
{
"ownerId": "kn7ax58mnefnavcfwakqxpsgqn82tacy",
"slug": "enterprise-license-ocr",
"version": "0.1.0",
"publishedAt": 1786421258309
}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": "202604010000016",
"originalFilename": "食品经营许可证示例.jpg",
"cosPath": "scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg",
"result": [
{
"status": 200,
"originFilename": "食品经营许可证示例.jpg",
"cosPath": "scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg",
"fileIndex": 1,
"cutIndex": 0,
"coordinate": [],
"classifyCode": "",
"confidence": 0.6496,
"elements": {
"title": "食品经营许可证",
"copyFlag": "副本",
"operatorName": "广州市青青源餐饮管理服务有限公司",
"licenseNumber": "JY14414414414449(1-1)",
"socialCreditCode": "17711771177177100E",
"legalRepresentative": "邓勇勇",
"address": "广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺",
"businessPlace": "广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺",
"businessType": "餐饮服务经营者(餐饮管理企业)",
"businessItems": "预包装食品销售(含冷藏冷冻食品),食品经营管理",
"dailySupervisionAuthority": "广州市番禺区食品药品监督管理局",
"dailySupervisionStaff": "蓝企明、师哲等",
"complaintHotline": "12331",
"issuingAuthority": "广州市番禺区食品药品监督管理局",
"signatory": "古业",
"issueDate": "2017年08月04日",
"expiryDate": "2022年05月30日"
},
"stamps": []
}
]
}
]
}
```
```json
{
"code": "0",
"msg": "success",
"data": [
{
"traceId": "202604010000016",
"originalFilename": "食品生产许可证示例.jpg",
"cosPath": "scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg",
"result": [
{
"status": 200,
"originFilename": "食品生产许可证示例.jpg",
"cosPath": "scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg",
"fileIndex": 1,
"cutIndex": 0,
"coordinate": [],
"classifyCode": "",
"confidence": 0.6979,
"elements": {
"title": "食品生产许可证",
"copyFlag": "副本",
"producerName": "合肥卡卡咖啡食品有限公司",
"licenseNumber": "SC50485048504848",
"socialCreditCode": "91391391391391305G(1-1)",
"legalRepresentative": "许雪",
"address": "安徽省卡卡经济开发区团结路91号",
"productionAddress": "安徽省合肥市卡卡经济开发区团结路assets/templates/fields-summary.md
# 各识别类型的字段说明(elements 内容) 根据 ocrType 不同,返回的 `elements` 对象包含以下字段: ## FOOD_BUSINESS_LICENSE (食品经营许可证) - `title`: 标题 - `copyFlag`: 副本标识 - `operatorName`: 经营者名称 - `licenseNumber`: 许可证编号 - `socialCreditCode`: 社会信用代码 - `legalRepresentative`: 法定代表人 - `address`: 住所 - `businessPlace`: 经营场所 - `businessType`: 主体业态 - `businessItems`: 经营项目 - `dailySupervisionAuthority`: 日常监督管理机构 - `dailySupervisionStaff`: 日常监督管理人员 - `complaintHotline`: 投诉举报电话 - `issuingAuthority`: 发证机关 - `signatory`: 签发人 - `issueDate`: 发证日期 - `expiryDate`: 有效期至 ## FOOD_PRODUCTION_LICENSE (食品生产许可证) - `title`: 标题 - `copyFlag`: 副本标识 - `producerName`: 生产者名称 - `licenseNumber`: 许可证编号 - `socialCreditCode`: 社会信用代码 - `legalRepresentative`: 法定代表人 - `address`: 住所 - `productionAddress`: 生产地址 - `foodCategory`: 食品类别 - `dailySupervisionAuthority`: 日常监督管理机构 - `dailySupervisionStaff`: 日常监督管理人员 - `complaintHotline`: 投诉举报电话 - `issuingAuthority`: 发证机关 - `signatory`: 签发人 - `issueDate`: 发证日期 - `expiryDate`: 有效期至 ## HYGIENE_LICENSE (卫生许可证) - `title`: 标题 - `licenseNumber`: 许可证编号 - `operatorName`: 单位名称 - `address`: 单位地址 - `legalRepresentative`: 法定代表人 - `placeCategory`: 场所类别 - `permittedItems`: 许可项目 - `issuingAuthority`: 发证机关 - `issueDate`: 发证日期 - `expiryDate`: 有效期 ## FINANCIAL_LICENSE (金融许可证) - `title`: 标题 - `certificateNumber`: 证件编号 - `institutionName`: 机构名称 - `shortName`: 简称 - `institutionEnName`: 英文名称 - `businessScope`: 业务范围 - `approvalDate`: 批准日期 - `institutionAddress`: 机构住所 - `institutionCode`: 机构编码 - `issuingAuthority`: 发证机关 - `issueDate`: 发证日期 ## FINANCIAL_INSTITUTION_CODE_CERT (金融机构代码证) - `title`: 标题 - `certificateNumber`: 证件编号 - `code`: 代码 - `institutionName`: 机构名称 - `address`: 地址 - `legalRepresentative`: 法定代表人 - `firstIssueDate`: 首次颁发日期 - `issuingAuthority`: 颁发机关 - `registrationNumber`: 登记号 - `replacementDate`: 更换日期 ## PAYMENT_BUSINESS_LICENSE (支付业务许可证) - `title`: 标题 - `copyFlag`: 副本标识 - `licenseNumber`: 许可证编号 - `companyName`: 公司名称 - `legalRepresentative`: 法定代表人 - `address`: 住所 - `businessType`: 业务类型 - `businessCoverage`: 业务覆盖范围 - `issueDate`: 发证日期 - `expiryDate`: 有效期至 ## ACCOUNT_OPENING_LICENSE (开户许可证) - `title`: 标题 - `approvalNumber`: 核准号 - `licenseNumber`: 编号 - `companyName`: 公司名称 - `legalRepresentative`: 法定代表人 - `bankName`: 开户银行 - `bankAccount`: 开户银行账号 - `issueDate`: 发证日期
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/scnet-sugon/skills/enterprise-license-ocr",
"sourceUrl": "https://clawhub.ai/scnet-sugon/skills/enterprise-license-ocr",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T23:15:39.265Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T23:15:39.265Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1.9K downloads",
"href": "https://clawhub.ai/scnet-sugon/enterprise-license-ocr",
"sourceUrl": "https://clawhub.ai/scnet-sugon/enterprise-license-ocr",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T23:15:39.265Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "0.1.0",
"href": "https://clawhub.ai/scnet-sugon/enterprise-license-ocr",
"sourceUrl": "https://clawhub.ai/scnet-sugon/enterprise-license-ocr",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-11T04:07:38.309Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 0.1.0",
"description": "Initial release supporting enterprise license OCR: - Provides OCR for various enterprise licenses, including business, food production, hygiene, financial, institution code, payment, and account opening permits. - Requires SCNET_API_KEY for authentication; optional configuration for API base URL. - Outputs structured JSON with recognition results and confidence scores. - Command-line and AI conversation usage supported. - Documents error handling, configuration steps, and rate limiting (10 QPS). - Depends on Python 3 and the requests library.",
"href": "https://clawhub.ai/scnet-sugon/enterprise-license-ocr",
"sourceUrl": "https://clawhub.ai/scnet-sugon/enterprise-license-ocr",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-08-11T04:07:38.309Z",
"isPublic": true
}
]
}Record generated Oct 10, 2026.
