{"id":"5174c71e-691b-4ff4-92c1-234bd220102a","entityType":"agent","slug":"clawhub-scnet-sugon-enterprise-license-ocr","name":"enterprise_license_ocr","canonicalUrl":"https://www.xpersona.co/agent/clawhub-scnet-sugon-enterprise-license-ocr","canonicalPath":"/agent/clawhub-scnet-sugon-enterprise-license-ocr","generatedAt":"2026-10-10T04:58:22.956Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T23:15:39.265Z","emptyReason":null},"description":"支持企业许可证的票据识别。 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","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 1.9K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s17aan1jdk93c5398r3ypc523d83hqys:enterprise-license-ocr","sourceUrl":"https://clawhub.ai/scnet-sugon/enterprise-license-ocr","homepage":"https://clawhub.ai/scnet-sugon/skills/enterprise-license-ocr","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/scnet-sugon/enterprise-license-ocr","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/scnet-sugon/skills/enterprise-license-ocr","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":66,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"支持企业许可证的票据识别。 Skill: enterprise_license_ocr Owner: scnet-sugon Summary: 支持企业许可证的票据识别。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-11T04:07:38.309Z | au"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:15:39.265Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:15:39.265Z","emptyReason":null},"stars":null,"forks":null,"downloads":1901,"packageName":null,"latestVersion":"0.1.0","tractionLabel":"1.9K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:15:39.257Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T23:15:39.265Z","lastCrawledAt":"2026-10-09T23:15:39.257Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T23:15:39.257Z","lastVerifiedAt":null,"highlights":[{"version":"0.1.0","createdAt":"2026-08-11T04:07:38.309Z","changelog":"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.","fileCount":14,"zipByteSize":16580}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17aan1jdk93c5398r3ypc523d83hqys:enterprise-license-ocr","setupComplexity":"low","setupSteps":["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":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T04:58:22.956Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-enterprise-license-ocr/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T23:15:39.265Z","emptyReason":null},"readme":"Skill: enterprise_license_ocr\n\nOwner: scnet-sugon\n\nSummary: 支持企业许可证的票据识别。\n\nTags: latest:0.1.0\n\nVersion history:\n\nv0.1.0 | 2026-08-11T04:07:38.309Z | auto\n\nInitial release supporting enterprise license OCR:\n\n- Provides OCR for various enterprise licenses, including business, food production, hygiene, financial, institution code, payment, and account opening permits.\n- Requires SCNET_API_KEY for authentication; optional configuration for API base URL.\n- Outputs structured JSON with recognition results and confidence scores.\n- Command-line and AI conversation usage supported.\n- Documents error handling, configuration steps, and rate limiting (10 QPS).\n- Depends on Python 3 and the requests library.\n\nArchive index:\n\nArchive v0.1.0: 14 files, 16580 bytes\n\nFiles: assets (0b), assets/templates (0b), assets/templates/fields-summary.md (3092b), CHANGELOG.md (77b), LICENSE.txt (1090b), README.md (5973b), references (0b), references/api-docs.md (12467b), scripts (0b), scripts/main.py (7437b), skill-card.md (2518b), SKILL.md (5808b), skill.yaml (645b), _meta.json (141b)\n\nFile v0.1.0:SKILL.md\n\n---\nname: enterprise_license_ocr\ndescription: 支持企业许可证的票据识别。\nversion: 1.0.0\nauthor: SCNet\nlicense: MIT\ntags:\n  - OCR\n  - 证件识别\n  - 企业许可证\n  - 食品经营许可证\n  - 食品生产许可证\n  - 卫生许可证\n  - 金融许可证\n  - 金融机构代码证\n  - 支付业务许可证\n  - 开户许可证\nrequired_env_vars:\n  - SCNET_API_KEY\noptional_env_vars:\n  - SCNET_API_BASE\nprimary_credential: SCNET_API_KEY\ndependencies:\n  - python3\n  - requests\ninput:\n  - ocrType : 识别类型，可选值见下文\n  - filePath : 待识别图片的本地路径\noutput: 结构化的 JSON 数据，包含识别结果和置信度\n---\n# Sugon-Scnet 企业许可证 OCR 技能\n\n本技能封装了企业许可证识别的 OCR 服务，通过单一接口即可调用 7种识别能力，高效提取票据内容。\n\n---\n\n## 功能特性\n\n- **企业许可证识别**：支持识别企业经营许可证、食品生产许可证、卫生许可证、金融许可证、金融机构代码证、支付业务许可证、开户许可证的票据信息。\n\n## 前置配置\n\n> **⚠️ 重要**：使用前需要申请 Scnet API Token\n\n### 申请 API Token\n\n1. 访问 [Scnet 官网](https://www.scnet.cn) 注册/登录\n2. 在控制台申请 API 密钥（格式：`sc-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`）\n3. 复制密钥备用\n\n### 配置 Token\n\n**手动配置（推荐）**\n1. 在技能目录下创建 `config/.env` 文件，内容如下：\n```ini\n# =====  Sugon-Scnet OCR API 配置 =====\n# 申请地址：https://www.scnet.cn\nSCNET_API_KEY=your_scnet_api_key_here\n\n# API 基础地址（一般无需修改）\nSCNET_API_BASE=https://api.scnet.cn/api/llm/v1\n```\n2. 添加：`SCNET_API_KEY=你的密钥`\n3. 设置文件权限为 600（仅所有者可读写）\n**⚠️ 安全警告**：切勿将 API Key 直接粘贴到聊天对话中，否则可能被记录或泄露。\n\n### Token 更新\n\nToken 过期后调用会返回 401 或 403 错误。更新方法：重新申请 Token 并替换 config/.env 中的 SCNET_API_KEY。\n\n### 依赖安装\n\n本技能需要 Python 3.6+ 和 requests 库。请运行以下命令：\n\n```bash\n   pip install requests\n```\n---\n### 使用方法\n\n### 参数说明\n\n| 参数名 | 类型 | 必填 | 描述                                      |\n|--------|------|------|-----------------------------------------|\n| 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（开户许可证） |\n| filePath | string | 是 | 待识别图片的本地绝对路径。支持 jpg、png、pdf 等常见格式。      |\n\n### 命令行调用示例\n\n```bash\n   python .claude/skills/enterprise_license_ocr/scripts/main.py ENTERPRISE_OPERATING_LICENSE /path/to/test.jpg\n```\n\n### 在 AI 对话中使用\n\n用户可以说：\n\n- “帮我识别这张图像中的企业经营许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的食品生产许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的卫生许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的金融许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的金融机构代码证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的支付业务许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的开户许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n\n\nAI 会根据 description 中的关键词自动触发本技能。\n\n### AI 调用建议\n为避免触发 API 速率限制（10 QPS），请串行调用本技能，即等待前一个识别完成后再发起下一个请求。\n如果使用 OpenClaw 的 exec 工具，建议设置 timeout 或 yieldMs 参数，让命令同步执行，避免多个命令同时运行导致并发。\n\n### 配置选项\n\n编辑 `config/.env` 文件：\n\n| 变量名 | 默认值 | 说明 |\n|--------|--------|------|\n| SCNET_API_KEY | 必需 | Scnet API 密钥 |\n| SCNET_API_BASE | https://api.scnet.cn/api/llm/v1 | API 基础地址（一般无需修改） |\n\n### 输出\n\n- 标准输出：识别结果的 JSON 数据，结构与 API 文档一致，位于 `data` 字段内。\n- 识别结果位于 data[0].result[0].elements 中，具体字段取决于 ocrType。\n- 错误信息：如果发生错误，会输出以 `错误:` 开头的友好提示。\n\n### 注意事项\n\n- 本技能调用的 OCR API 有 10 QPS 的速率限制。\n- 如果遇到 429 错误，请等待 2-3 秒后重试，不要连续发起请求。\n- 建议在调用前确保图片已准备就绪，避免因网络问题导致重复调用。\n\n### 故障排除\n\n| 问题 | 解决方案 |\n|------|----------|\n| 配置文件不存在 | 创建 config/.env 并填入 Token（参考前置配置） |\n| API Key 无效/过期 | 重新申请 Token 并更新 `.env` 文件 |\n| 文件不存在 | 检查提供的文件路径是否正确 |\n| 网络连接失败 | 检查网络连接或防火墙设置 |\n| 不支持的文件类型 | 确保文件扩展名为允许的类型（参考 API 文档） |\n| 401/403/Unauthorized | Token 无效或过期，重新申请并配置 |\n| 429 Too Many Requests | 请求过于频繁，技能会自动等待并重试（最多 3 次）。若持续失败，请降低调用频率或联系服务方提高限额。 |\n\nFile v0.1.0:README.md\n\n# enterprise_license_ocr\n\n\n\n## Getting started\n\nTo make it easy for you to get started with GitLab, here's a list of recommended next steps.\n\nAlready 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)!\n\n## Add your files\n\n* [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\n* [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:\n\n```\ncd existing_repo\ngit remote add origin https://github.com/SCNet-sugon/enterprise_license_ocr.git\ngit branch -M main\ngit push -uf origin main\n```\n\n\n## Collaborate with your team\n\n* [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)\n* [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)\n* [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)\n* [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)\n* [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)\n\n## Test and Deploy\n\nUse the built-in continuous integration in GitLab.\n\n* [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/)\n* [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)\n* [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)\n* [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)\n* [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)\n\n***\n\n# Editing this README\n\nWhen 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.\n\n## Suggestions for a good README\n\nEvery 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.\n\n## Name\nChoose a self-explaining name for your project.\n\n## Description\nLet 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 Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.\n\n## Badges\nOn some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.\n\n## Visuals\nDepending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.\n\n## Installation\nWithin a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.\n\n## Usage\nUse examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.\n\n## Support\nTell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.\n\n## Roadmap\nIf you have ideas for releases in the future, it is a good idea to list them in the README.\n\n## Contributing\nState if you are open to contributions and what your requirements are for accepting them.\n\nFor people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.\n\nYou can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.\n\n## Authors and acknowledgment\nShow your appreciation to those who have contributed to the project.\n\n## License\nFor open source projects, say how it is licensed.\n\n## Project status\nIf you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.\n\nFile v0.1.0:_meta.json\n\n{\n  \"ownerId\": \"kn7ax58mnefnavcfwakqxpsgqn82tacy\",\n  \"slug\": \"enterprise-license-ocr\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1786421258309\n}\n\nFile v0.1.0:references/api-docs.md\n\n# Sugon-Scnet OCR API 文档摘要\n\n## 接口地址\n`POST https://api.scnet.cn/api/llm/v1/ocr/recognize`\n\n## 请求头\n- `Content-Type: multipart/form-data`\n- `Authorization: Bearer <你的 API Key>`\n\n## 请求参数（表单）\n| 参数名  | 类型 | 必填 | 描述                                   |\n| ------- | ---- | ---- | -------------------------------------- |\n| file    | File | 是   | 需要识别的图片文件                     |\n| ocrType | str  | 是   | 识别类型枚举，详见 SKILL.md 参数说明   |\n\n## 响应结构\n```json\n{\n  \"code\": \"0\",\n  \"msg\": \"success\",\n  \"data\": [\n    {\n      \"traceId\": \"202604010000016\",\n      \"originalFilename\": \"食品经营许可证示例.jpg\",\n      \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n      \"result\": [\n        {\n          \"status\": 200,\n          \"originFilename\": \"食品经营许可证示例.jpg\",\n          \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n          \"fileIndex\": 1,\n          \"cutIndex\": 0,\n          \"coordinate\": [],\n          \"classifyCode\": \"\",\n          \"confidence\": 0.6496,\n          \"elements\": {\n            \"title\": \"食品经营许可证\",\n            \"copyFlag\": \"副本\",\n            \"operatorName\": \"广州市青青源餐饮管理服务有限公司\",\n            \"licenseNumber\": \"JY14414414414449(1-1)\",\n            \"socialCreditCode\": \"17711771177177100E\",\n            \"legalRepresentative\": \"邓勇勇\",\n            \"address\": \"广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺\",\n            \"businessPlace\": \"广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺\",\n            \"businessType\": \"餐饮服务经营者(餐饮管理企业)\",\n            \"businessItems\": \"预包装食品销售(含冷藏冷冻食品)，食品经营管理\",\n            \"dailySupervisionAuthority\": \"广州市番禺区食品药品监督管理局\",\n            \"dailySupervisionStaff\": \"蓝企明、师哲等\",\n            \"complaintHotline\": \"12331\",\n            \"issuingAuthority\": \"广州市番禺区食品药品监督管理局\",\n            \"signatory\": \"古业\",\n            \"issueDate\": \"2017年08月04日\",\n            \"expiryDate\": \"2022年05月30日\"\n          },\n          \"stamps\": []\n        }\n      ]\n    }\n  ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"食品生产许可证示例.jpg\",\n            \"cosPath\": \"scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"食品生产许可证示例.jpg\",\n                    \"cosPath\": \"scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.6979,\n                    \"elements\": {\n                      \"title\": \"食品生产许可证\",\n                      \"copyFlag\": \"副本\",\n                      \"producerName\": \"合肥卡卡咖啡食品有限公司\",\n                      \"licenseNumber\": \"SC50485048504848\",\n                      \"socialCreditCode\": \"91391391391391305G(1-1)\",\n                      \"legalRepresentative\": \"许雪\",\n                      \"address\": \"安徽省卡卡经济开发区团结路91号\",\n                      \"productionAddress\": \"安徽省合肥市卡卡经济开发区团结路91号\",\n                      \"foodCategory\": \"食品\",\n                      \"dailySupervisionAuthority\": \"肥东县市场监督管理局直属二分局\",\n                      \"dailySupervisionStaff\": \"袁团结、丁开发\",\n                      \"complaintHotline\": \"12331\",\n                      \"issuingAuthority\": \"合肥市食品药品监督管理局\",\n                      \"signatory\": \"胡国春\",\n                      \"issueDate\": \"2015年12月2日\",\n                      \"expiryDate\": \"2020年12月1日\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"卫生许可证示例.jpg\",\n            \"cosPath\": \"scnetAPIService/20260101/7fd9d6780dc6454eaf11699244f46ef3.jpg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"卫生许可证示例.jpg\",\n                    \"cosPath\": \"scnetAPIService/20260101/7fd9d6780dc6454eaf11699244f46ef3.jpg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.8814,\n                    \"elements\": {\n                      \"title\": \"卫生许可证\",\n                      \"licenseNumber\": \"北京卫监字(2018)第12091号\",\n                      \"operatorName\": \"北京来来碗餐饮有限公司\",\n                      \"address\": \"北京市朝阳区来广营地区奥北中心大厦B1-1002\",\n                      \"legalRepresentative\": \"李卫东\",\n                      \"placeCategory\": \"餐饮\",\n                      \"permittedItems\": \"餐饮\",\n                      \"issuingAuthority\": \"朝阳区行政审批局\",\n                      \"issueDate\": \"2018年12月12日\",\n                      \"expiryDate\": \"2018年12月12日至2023年12月12日\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"金融许可证示例.jpeg\",\n            \"cosPath\": \"scnetAPIService/20260101/41ba187eeaf14c1abba5c131ccd1d659.jpeg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"金融许可证示例.jpeg\",\n                    \"cosPath\": \"scnetAPIService/20260101/41ba187eeaf14c1abba5c131ccd1d659.jpeg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.987,\n                    \"elements\": {\n                      \"title\": \"中华人民共和国金融许可证\",\n                      \"certificateNumber\": \"11223344\",\n                      \"institutionName\": \"广东业银农村商业银行股份有限公司\",\n                      \"shortName\": \"业银农村商业银行\",\n                      \"institutionEnName\": \"Guangdong Sodong Ruoal Commercial Bank Company Limited\",\n                      \"businessScope\": \"许可该机构经营银行业监督管理机构依照有关法律、行政法规和其他规定批准的业务，经营范围以批准文件所列的为准。\",\n                      \"approvalDate\": \"2009年12月21日\",\n                      \"institutionAddress\": \"佛山市顺德区顺德街道办事处顺德居委会顺德路2号\",\n                      \"institutionCode\": \"B0001000100010001\",\n                      \"issuingAuthority\": \"中国银行保险监督管理委员会佛山监管分局\",\n                      \"issueDate\": \"2024年11月27日\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"金融机构代码证示例.png\",\n            \"cosPath\": \"scnetAPIService/20260101/f238072fa2f4467fbf80e94e861187a2.png\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"金融机构代码证示例.png\",\n                    \"cosPath\": \"scnetAPIService/20260101/f238072fa2f4467fbf80e94e861187a2.png\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.8887,\n                    \"elements\": {\n                      \"title\": \"金融机构代码证\",\n                      \"certificateNumber\": \"2001010022001\",\n                      \"code\": \"C1101101100110\",\n                      \"institutionName\": \"武汉邮政储蓄银行股份有限公司钱江分行\",\n                      \"address\": \"湖北省武汉市钱江区河头沟地区潜龙家园3单元202-204号\",\n                      \"legalRepresentative\": \"赵晋迈\",\n                      \"firstIssueDate\": \"2014-09-18\",\n                      \"issuingAuthority\": \"中国人民银行资阳市中心支行\",\n                      \"registrationNumber\": \"512002000352\",\n                      \"replacementDate\": \"2017-12-05\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"支付业务许可证示例.jpeg\",\n            \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"支付业务许可证示例.jpeg\",\n                    \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.9222,\n                    \"elements\": {\n                      \"title\": \"中华人民共和国支付业务许可证\",\n                      \"copyFlag\": \"副本\",\n                      \"licenseNumber\": \"Z2008200820082\",\n                      \"companyName\": \"北京卡卡发宝通支付服务有限公司\",\n                      \"legalRepresentative\": \"徐京胜\",\n                      \"address\": \"北京市卡卡区卡卡口东大街14号308室\",\n                      \"businessType\": \"预付卡发行与受理\",\n                      \"businessCoverage\": \"北京市\",\n                      \"issueDate\": \"2026年12月22日\",\n                      \"expiryDate\": \"二〇二一年十二月二十一日\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"开户许可证示例.jpg\",\n            \"cosPath\": \"scnetAPIService/20260101/8242e6a7e4a849ebb576e9ffe38ea2d5.jpg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"开户许可证示例.jpg\",\n                    \"cosPath\": \"scnetAPIService/20260101/8242e6a7e4a849ebb576e9ffe38ea2d5.jpg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.6667,\n                    \"elements\": {\n                      \"title\": \"开户许可证\",\n                      \"approvalNumber\": \"J19827410913413\",\n                      \"licenseNumber\": \"4910-00009200\",\n                      \"companyName\": \"新乡市新新头头有限公司\",\n                      \"legalRepresentative\": \"苗林林\",\n                      \"bankName\": \"中国工商银行嘉嘉县支行\",\n                      \"bankAccount\": \"89000919364391898314\",\n                      \"issueDate\": \"2009年11月19日\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}\n```\n\n## 错误码\n- `401 / 403: Token 无效或过期`\n- `其他 4xx/5xx: 请检查请求参数或联系服务商`\n- `业务错误码（如 code 非 0）：见返回的 msg 字段`\n\n## 注意事项\n- `支持单张图片、PDF 或多页压缩包（自动解压识别）`\n- `识别结果位于 data[0].result[0].elements 中`\n- `不同 ocrType 返回的 elements 字段不同，详见 assets/templates/fields-summary.md`\n- `识别结果位于 data[0].result[0].stamps 中`\n- `不同 ocrType 返回的 stamps 字段不同，详见 assets/templates/fields-summary.md`\n\nFile v0.1.0:assets/templates/fields-summary.md\n\n# 各识别类型的字段说明（elements 内容）\n\n根据 ocrType 不同，返回的 `elements` 对象包含以下字段：\n\n## FOOD_BUSINESS_LICENSE (食品经营许可证)\n\n- `title`: 标题\n- `copyFlag`: 副本标识\n- `operatorName`: 经营者名称\n- `licenseNumber`: 许可证编号\n- `socialCreditCode`: 社会信用代码\n- `legalRepresentative`: 法定代表人\n- `address`: 住所\n- `businessPlace`: 经营场所\n- `businessType`: 主体业态\n- `businessItems`: 经营项目\n- `dailySupervisionAuthority`: 日常监督管理机构\n- `dailySupervisionStaff`: 日常监督管理人员\n- `complaintHotline`: 投诉举报电话\n- `issuingAuthority`: 发证机关\n- `signatory`: 签发人\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期至\n\n## FOOD_PRODUCTION_LICENSE (食品生产许可证)\n\n- `title`: 标题\n- `copyFlag`: 副本标识\n- `producerName`: 生产者名称\n- `licenseNumber`: 许可证编号\n- `socialCreditCode`: 社会信用代码\n- `legalRepresentative`: 法定代表人\n- `address`: 住所\n- `productionAddress`: 生产地址\n- `foodCategory`: 食品类别\n- `dailySupervisionAuthority`: 日常监督管理机构\n- `dailySupervisionStaff`: 日常监督管理人员\n- `complaintHotline`: 投诉举报电话\n- `issuingAuthority`: 发证机关\n- `signatory`: 签发人\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期至\n\n## HYGIENE_LICENSE (卫生许可证)\n\n- `title`: 标题\n- `licenseNumber`: 许可证编号\n- `operatorName`: 单位名称\n- `address`: 单位地址\n- `legalRepresentative`: 法定代表人\n- `placeCategory`: 场所类别\n- `permittedItems`: 许可项目\n- `issuingAuthority`: 发证机关\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期\n\n## FINANCIAL_LICENSE (金融许可证)\n\n- `title`: 标题\n- `certificateNumber`: 证件编号\n- `institutionName`: 机构名称\n- `shortName`: 简称\n- `institutionEnName`: 英文名称\n- `businessScope`: 业务范围\n- `approvalDate`: 批准日期\n- `institutionAddress`: 机构住所\n- `institutionCode`: 机构编码\n- `issuingAuthority`: 发证机关\n- `issueDate`: 发证日期\n\n## FINANCIAL_INSTITUTION_CODE_CERT (金融机构代码证)\n\n- `title`: 标题\n- `certificateNumber`: 证件编号\n- `code`: 代码\n- `institutionName`: 机构名称\n- `address`: 地址\n- `legalRepresentative`: 法定代表人\n- `firstIssueDate`: 首次颁发日期\n- `issuingAuthority`: 颁发机关\n- `registrationNumber`: 登记号\n- `replacementDate`: 更换日期\n\n## PAYMENT_BUSINESS_LICENSE (支付业务许可证)\n\n- `title`: 标题\n- `copyFlag`: 副本标识\n- `licenseNumber`: 许可证编号\n- `companyName`: 公司名称\n- `legalRepresentative`: 法定代表人\n- `address`: 住所\n- `businessType`: 业务类型\n- `businessCoverage`: 业务覆盖范围\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期至\n\n## ACCOUNT_OPENING_LICENSE (开户许可证)\n\n- `title`: 标题\n- `approvalNumber`: 核准号\n- `licenseNumber`: 编号\n- `companyName`: 公司名称\n- `legalRepresentative`: 法定代表人\n- `bankName`: 开户银行\n- `bankAccount`: 开户银行账号\n- `issueDate`: 发证日期\n\nFile v0.1.0:CHANGELOG.md\n\n# 变更日志\n\n## [1.0.0] - 2026-08-11\n新增企业许可证识别功能\n\nFile v0.1.0:skill-card.md\n\n## Description:\n\nEnterprise License OCR uses the Scnet OCR API to extract structured fields from enterprise license, food license, hygiene license, financial license, payment license, and account-opening permit documents.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[scnet-sugon](https://clawhub.ai/user/scnet-sugon)\n\n### License/Terms of Use:\n\nMIT\n\n## Use Case:\n\nDevelopers and business users use this skill to run OCR on enterprise license images or PDFs and receive structured recognition results for downstream review or processing.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Sensitive business documents may be uploaded to Scnet or to another configured OCR endpoint.\n\nMitigation: Use the skill only with documents you are authorized to send to the selected endpoint, and validate any non-default endpoint before use.\n\nRisk: The SCNET_API_KEY credential is required for API access and could be exposed if handled carelessly.\n\nMitigation: Store the key only in the local configuration file with restrictive permissions and do not paste it into chat or shared logs.\n\nRisk: Changing SCNET_API_BASE can redirect document uploads and credentials away from the official Scnet HTTPS endpoint.\n\nMitigation: Keep SCNET_API_BASE at the official Scnet URL unless the replacement endpoint is explicitly trusted and has been reviewed.\n\n## Reference(s):\n\n- [Server-resolved source repository](https://github.com/SCNet-sugon/enterprise_license_ocr)\n- [ClawHub skill page](https://clawhub.ai/scnet-sugon/skills/enterprise-license-ocr)\n- [Scnet website](https://www.scnet.cn)\n- [Sugon-Scnet OCR API docs](artifact/references/api-docs.md)\n- [OCR field summary](artifact/assets/templates/fields-summary.md)\n\n## Skill Output:\n\n**Output Type(s):** [json, text, shell commands, configuration, guidance]\n\n**Output Format:** [JSON recognition results with text error messages and setup guidance]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires SCNET_API_KEY; sends local document files to the configured Scnet OCR endpoint and returns the API data payload.]\n\n## Skill Version(s):\n\n0.1.0 (source: server release metadata; artifact frontmatter and changelog report 1.0.0)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.\n\nFile v0.1.0:skill.yaml\n\nname: enterprise_license_ocr\nversion: 1.0.0\ndescription: 支持企业许可证的票据识别。\nauthor: SCNet\nlicense: MIT\ntags:\n  - OCR\n  - 证件识别\n  - 企业许可证\n  - 食品经营许可证\n  - 食品生产许可证\n  - 卫生许可证\n  - 金融许可证\n  - 金融机构代码证\n  - 支付业务许可证\n  - 开户许可证\nrequired_env_vars:\n  - SCNET_API_KEY\n\noptional_env_vars:\n  - SCNET_API_BASE\n\nprimary_credential: SCNET_API_KEY\n\n# 增加项目主页，解决 missing homepage 警告\nhomepage: https://github.com/SCNet-sugon/enterprise_license_ocr.git  # 请替换为实际仓库地址\ndependencies:\n  - python3\n  - requests\n\nFile v0.1.0:LICENSE.txt\n\nMIT License\n\nCopyright (c) 2025 Sugon-Scnet OCR Skill Contributors\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","readmeExcerpt":"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","codeSnippets":[],"executableExamples":[{"language":"ini","snippet":"# =====  Sugon-Scnet OCR API 配置 =====\n# 申请地址：https://www.scnet.cn\nSCNET_API_KEY=your_scnet_api_key_here\n\n# API 基础地址（一般无需修改）\nSCNET_API_BASE=https://api.scnet.cn/api/llm/v1"},{"language":"bash","snippet":"pip install requests"},{"language":"bash","snippet":"python .claude/skills/enterprise_license_ocr/scripts/main.py ENTERPRISE_OPERATING_LICENSE /path/to/test.jpg"},{"language":"text","snippet":"cd existing_repo\ngit remote add origin https://github.com/SCNet-sugon/enterprise_license_ocr.git\ngit branch -M main\ngit push -uf origin main"},{"language":"json","snippet":"{\n  \"code\": \"0\",\n  \"msg\": \"success\",\n  \"data\": [\n    {\n      \"traceId\": \"202604010000016\",\n      \"originalFilename\": \"食品经营许可证示例.jpg\",\n      \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n      \"result\": [\n        {\n          \"status\": 200,\n          \"originFilename\": \"食品经营许可证示例.jpg\",\n          \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n          \"fileIndex\": 1,\n          \"cutIndex\": 0,\n          \"coordinate\": [],\n          \"classifyCode\": \"\",\n          \"confidence\": 0.6496,\n          \"elements\": {\n            \"title\": \"食品经营许可证\",\n            \"copyFlag\": \"副本\",\n            \"operatorName\": \"广州市青青源餐饮管理服务有限公司\",\n            \"licenseNumber\": \"JY14414414414449(1-1)\",\n            \"socialCreditCode\": \"17711771177177100E\",\n            \"legalRepresentative\": \"邓勇勇\",\n            \"address\": \"广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺\",\n            \"businessPlace\": \"广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺\",\n            \"businessType\": \"餐饮服务经营者(餐饮管理企业)\",\n            \"businessItems\": \"预包装食品销售(含冷藏冷冻食品)，食品经营管理\",\n            \"dailySupervisionAuthority\": \"广州市番禺区食品药品监督管理局\",\n            \"dailySupervisionStaff\": \"蓝企明、师哲等\",\n            \"complaintHotline\": \"12331\",\n            \"issuingAuthority\": \"广州市番禺区食品药品监督管理局\",\n            \"signatory\": \"古业\",\n            \"issueDate\": \"2017年08月04日\",\n            \"expiryDate\": \"2022年05月30日\"\n          },\n          \"stamps\": []\n        }\n      ]\n    }\n  ]\n}"},{"language":"json","snippet":"{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"食品生产许可证示例.jpg\",\n            \"cosPath\": \"scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"食品生产许可证示例.jpg\",\n                    \"cosPath\": \"scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.6979,\n                    \"elements\": {\n                      \"title\": \"食品生产许可证\",\n                      \"copyFlag\": \"副本\",\n                      \"producerName\": \"合肥卡卡咖啡食品有限公司\",\n                      \"licenseNumber\": \"SC50485048504848\",\n                      \"socialCreditCode\": \"91391391391391305G(1-1)\",\n                      \"legalRepresentative\": \"许雪\",\n                      \"address\": \"安徽省卡卡经济开发区团结路91号\",\n                      \"productionAddress\": \"安徽省合肥市卡卡经济开发区团结路91号\",\n                      \"foodCategory\": \"食品\",\n                      \"dailySupervisionAuthority\": \"肥东县市场监督管理局直属二分局\",\n                      \"dailySupervisionStaff\": \"袁团结、丁开发\",\n                      \"complaintHotline\": \"12331\",\n                      \"issuingAuthority\": \"合肥市食品药品监督管理局\",\n                      \"signatory\": \"胡国春\",\n                      \"issueDate\": \"2015年12月2日\",\n                      \"expiryDate\": \"2020年12月1日\"\n                    },\n                    \"stamps\": []\n                }\n            ]\n        }\n    ]\n}"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: enterprise_license_ocr\ndescription: 支持企业许可证的票据识别。\nversion: 1.0.0\nauthor: SCNet\nlicense: MIT\ntags:\n  - OCR\n  - 证件识别\n  - 企业许可证\n  - 食品经营许可证\n  - 食品生产许可证\n  - 卫生许可证\n  - 金融许可证\n  - 金融机构代码证\n  - 支付业务许可证\n  - 开户许可证\nrequired_env_vars:\n  - SCNET_API_KEY\noptional_env_vars:\n  - SCNET_API_BASE\nprimary_credential: SCNET_API_KEY\ndependencies:\n  - python3\n  - requests\ninput:\n  - ocrType : 识别类型，可选值见下文\n  - filePath : 待识别图片的本地路径\noutput: 结构化的 JSON 数据，包含识别结果和置信度\n---\n# Sugon-Scnet 企业许可证 OCR 技能\n\n本技能封装了企业许可证识别的 OCR 服务，通过单一接口即可调用 7种识别能力，高效提取票据内容。\n\n---\n\n## 功能特性\n\n- **企业许可证识别**：支持识别企业经营许可证、食品生产许可证、卫生许可证、金融许可证、金融机构代码证、支付业务许可证、开户许可证的票据信息。\n\n## 前置配置\n\n> **⚠️ 重要**：使用前需要申请 Scnet API Token\n\n### 申请 API Token\n\n1. 访问 [Scnet 官网](https://www.scnet.cn) 注册/登录\n2. 在控制台申请 API 密钥（格式：`sc-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`）\n3. 复制密钥备用\n\n### 配置 Token\n\n**手动配置（推荐）**\n1. 在技能目录下创建 `config/.env` 文件，内容如下：\n```ini\n# =====  Sugon-Scnet OCR API 配置 =====\n# 申请地址：https://www.scnet.cn\nSCNET_API_KEY=your_scnet_api_key_here\n\n# API 基础地址（一般无需修改）\nSCNET_API_BASE=https://api.scnet.cn/api/llm/v1\n```\n2. 添加：`SCNET_API_KEY=你的密钥`\n3. 设置文件权限为 600（仅所有者可读写）\n**⚠️ 安全警告**：切勿将 API Key 直接粘贴到聊天对话中，否则可能被记录或泄露。\n\n### Token 更新\n\nToken 过期后调用会返回 401 或 403 错误。更新方法：重新申请 Token 并替换 config/.env 中的 SCNET_API_KEY。\n\n### 依赖安装\n\n本技能需要 Python 3.6+ 和 requests 库。请运行以下命令：\n\n```bash\n   pip install requests\n```\n---\n### 使用方法\n\n### 参数说明\n\n| 参数名 | 类型 | 必填 | 描述                                      |\n|--------|------|------|-----------------------------------------|\n| 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（开户许可证） |\n| filePath | string | 是 | 待识别图片的本地绝对路径。支持 jpg、png、pdf 等常见格式。      |\n\n### 命令行调用示例\n\n```bash\n   python .claude/skills/enterprise_license_ocr/scripts/main.py ENTERPRISE_OPERATING_LICENSE /path/to/test.jpg\n```\n\n### 在 AI 对话中使用\n\n用户可以说：\n\n- “帮我识别这张图像中的企业经营许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的食品生产许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的卫生许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的金融许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的金融机构代码证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的支付业务许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n- “帮我识别这张图像中的开户许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\n\n\nAI 会根据 description 中的关键词自动触发本技能。\n\n### AI 调用建议\n为避免触发 API 速率限制（10 QPS），请串行调用本技能，即等待前一个识别完成后再发起下一个请求。\n如果使用 OpenClaw 的 exec 工具，建议设置 timeout 或 yieldMs 参数，让命令同步执行，避免多个命令同时运行导致并发。\n\n### 配置选项\n\n编辑 `config/.env` 文件：\n\n| 变量名 | 默认值 | 说明 |\n|--------|--------|------|\n| SCNET_API_KEY | 必需 | Scnet API 密钥 |\n| SCNET_API_BASE | https://api.scnet.cn/api/llm/v1 | API 基础地址（一般无需修改） |\n\n### 输出\n\n- 标准输出：识别结果的 JSON 数据，结构与 API 文档一致，位于 `data` 字段内。\n- 识别结果位于 data[0].result[0].elements 中，具体字段取决于 ocrType。\n- 错误信息：如果发生错误，会输出以 `错误:` 开头的友好提示。\n\n### 注意事项\n\n- 本技能调用的 OCR A"},{"path":"README.md","content":"# enterprise_license_ocr\n\n\n\n## Getting started\n\nTo make it easy for you to get started with GitLab, here's a list of recommended next steps.\n\nAlready 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)!\n\n## Add your files\n\n* [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\n* [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:\n\n```\ncd existing_repo\ngit remote add origin https://github.com/SCNet-sugon/enterprise_license_ocr.git\ngit branch -M main\ngit push -uf origin main\n```\n\n\n## Collaborate with your team\n\n* [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)\n* [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)\n* [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)\n* [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)\n* [Set auto-merge](https://docs.gitlab.com/user/project/merge_requests/auto_merge/)\n\n## Test and Deploy\n\nUse the built-in continuous integration in GitLab.\n\n* [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/)\n* [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)\n* [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)\n* [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)\n* [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)\n\n***\n\n# Editing this README\n\nWhen 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.\n\n## Suggestions for a good README\n\nEvery 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.\n\n## Name\nChoose a self-explaining name for your project.\n\n## Description\nLet 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"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7ax58mnefnavcfwakqxpsgqn82tacy\",\n  \"slug\": \"enterprise-license-ocr\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1786421258309\n}"},{"path":"references/api-docs.md","content":"# Sugon-Scnet OCR API 文档摘要\n\n## 接口地址\n`POST https://api.scnet.cn/api/llm/v1/ocr/recognize`\n\n## 请求头\n- `Content-Type: multipart/form-data`\n- `Authorization: Bearer <你的 API Key>`\n\n## 请求参数（表单）\n| 参数名  | 类型 | 必填 | 描述                                   |\n| ------- | ---- | ---- | -------------------------------------- |\n| file    | File | 是   | 需要识别的图片文件                     |\n| ocrType | str  | 是   | 识别类型枚举，详见 SKILL.md 参数说明   |\n\n## 响应结构\n```json\n{\n  \"code\": \"0\",\n  \"msg\": \"success\",\n  \"data\": [\n    {\n      \"traceId\": \"202604010000016\",\n      \"originalFilename\": \"食品经营许可证示例.jpg\",\n      \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n      \"result\": [\n        {\n          \"status\": 200,\n          \"originFilename\": \"食品经营许可证示例.jpg\",\n          \"cosPath\": \"scnetAPIService/20260101/71d0320caf3a445486259ea8f41ed1dd.jpg\",\n          \"fileIndex\": 1,\n          \"cutIndex\": 0,\n          \"coordinate\": [],\n          \"classifyCode\": \"\",\n          \"confidence\": 0.6496,\n          \"elements\": {\n            \"title\": \"食品经营许可证\",\n            \"copyFlag\": \"副本\",\n            \"operatorName\": \"广州市青青源餐饮管理服务有限公司\",\n            \"licenseNumber\": \"JY14414414414449(1-1)\",\n            \"socialCreditCode\": \"17711771177177100E\",\n            \"legalRepresentative\": \"邓勇勇\",\n            \"address\": \"广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺\",\n            \"businessPlace\": \"广州市番禺区番禺街番禺东村番禺南路10号之D15、D16铺\",\n            \"businessType\": \"餐饮服务经营者(餐饮管理企业)\",\n            \"businessItems\": \"预包装食品销售(含冷藏冷冻食品)，食品经营管理\",\n            \"dailySupervisionAuthority\": \"广州市番禺区食品药品监督管理局\",\n            \"dailySupervisionStaff\": \"蓝企明、师哲等\",\n            \"complaintHotline\": \"12331\",\n            \"issuingAuthority\": \"广州市番禺区食品药品监督管理局\",\n            \"signatory\": \"古业\",\n            \"issueDate\": \"2017年08月04日\",\n            \"expiryDate\": \"2022年05月30日\"\n          },\n          \"stamps\": []\n        }\n      ]\n    }\n  ]\n}\n```\n\n```json\n{\n    \"code\": \"0\",\n    \"msg\": \"success\",\n    \"data\": [\n        {\n            \"traceId\": \"202604010000016\",\n            \"originalFilename\": \"食品生产许可证示例.jpg\",\n            \"cosPath\": \"scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg\",\n            \"result\": [\n                {\n                    \"status\": 200,\n                    \"originFilename\": \"食品生产许可证示例.jpg\",\n                    \"cosPath\": \"scnetAPIService/20260101/a04febbc736d4e888496548cb2e8e7c0.jpg\",\n                    \"fileIndex\": 1,\n                    \"cutIndex\": 0,\n                    \"coordinate\": [],\n                    \"classifyCode\": \"\",\n                    \"confidence\": 0.6979,\n                    \"elements\": {\n                      \"title\": \"食品生产许可证\",\n                      \"copyFlag\": \"副本\",\n                      \"producerName\": \"合肥卡卡咖啡食品有限公司\",\n                      \"licenseNumber\": \"SC50485048504848\",\n                      \"socialCreditCode\": \"91391391391391305G(1-1)\",\n                      \"legalRepresentative\": \"许雪\",\n                      \"address\": \"安徽省卡卡经济开发区团结路91号\",\n                      \"productionAddress\": \"安徽省合肥市卡卡经济开发区团结路"},{"path":"assets/templates/fields-summary.md","content":"# 各识别类型的字段说明（elements 内容）\n\n根据 ocrType 不同，返回的 `elements` 对象包含以下字段：\n\n## FOOD_BUSINESS_LICENSE (食品经营许可证)\n\n- `title`: 标题\n- `copyFlag`: 副本标识\n- `operatorName`: 经营者名称\n- `licenseNumber`: 许可证编号\n- `socialCreditCode`: 社会信用代码\n- `legalRepresentative`: 法定代表人\n- `address`: 住所\n- `businessPlace`: 经营场所\n- `businessType`: 主体业态\n- `businessItems`: 经营项目\n- `dailySupervisionAuthority`: 日常监督管理机构\n- `dailySupervisionStaff`: 日常监督管理人员\n- `complaintHotline`: 投诉举报电话\n- `issuingAuthority`: 发证机关\n- `signatory`: 签发人\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期至\n\n## FOOD_PRODUCTION_LICENSE (食品生产许可证)\n\n- `title`: 标题\n- `copyFlag`: 副本标识\n- `producerName`: 生产者名称\n- `licenseNumber`: 许可证编号\n- `socialCreditCode`: 社会信用代码\n- `legalRepresentative`: 法定代表人\n- `address`: 住所\n- `productionAddress`: 生产地址\n- `foodCategory`: 食品类别\n- `dailySupervisionAuthority`: 日常监督管理机构\n- `dailySupervisionStaff`: 日常监督管理人员\n- `complaintHotline`: 投诉举报电话\n- `issuingAuthority`: 发证机关\n- `signatory`: 签发人\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期至\n\n## HYGIENE_LICENSE (卫生许可证)\n\n- `title`: 标题\n- `licenseNumber`: 许可证编号\n- `operatorName`: 单位名称\n- `address`: 单位地址\n- `legalRepresentative`: 法定代表人\n- `placeCategory`: 场所类别\n- `permittedItems`: 许可项目\n- `issuingAuthority`: 发证机关\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期\n\n## FINANCIAL_LICENSE (金融许可证)\n\n- `title`: 标题\n- `certificateNumber`: 证件编号\n- `institutionName`: 机构名称\n- `shortName`: 简称\n- `institutionEnName`: 英文名称\n- `businessScope`: 业务范围\n- `approvalDate`: 批准日期\n- `institutionAddress`: 机构住所\n- `institutionCode`: 机构编码\n- `issuingAuthority`: 发证机关\n- `issueDate`: 发证日期\n\n## FINANCIAL_INSTITUTION_CODE_CERT (金融机构代码证)\n\n- `title`: 标题\n- `certificateNumber`: 证件编号\n- `code`: 代码\n- `institutionName`: 机构名称\n- `address`: 地址\n- `legalRepresentative`: 法定代表人\n- `firstIssueDate`: 首次颁发日期\n- `issuingAuthority`: 颁发机关\n- `registrationNumber`: 登记号\n- `replacementDate`: 更换日期\n\n## PAYMENT_BUSINESS_LICENSE (支付业务许可证)\n\n- `title`: 标题\n- `copyFlag`: 副本标识\n- `licenseNumber`: 许可证编号\n- `companyName`: 公司名称\n- `legalRepresentative`: 法定代表人\n- `address`: 住所\n- `businessType`: 业务类型\n- `businessCoverage`: 业务覆盖范围\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期至\n\n## ACCOUNT_OPENING_LICENSE (开户许可证)\n\n- `title`: 标题\n- `approvalNumber`: 核准号\n- `licenseNumber`: 编号\n- `companyName`: 公司名称\n- `legalRepresentative`: 法定代表人\n- `bankName`: 开户银行\n- `bankAccount`: 开户银行账号\n- `issueDate`: 发证日期"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"支持企业许可证的票据识别。 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","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":1094,"uniquenessScore":54,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:15:39.265Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:15:39.265Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T04:58:22.956Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"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!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"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","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}