{"id":"111833f0-e4b9-4bd6-946e-9e327eebcf1f","entityType":"agent","slug":"clawhub-scnet-sugon-health-license-ocr","name":"health_license_ocr","canonicalUrl":"https://www.xpersona.co/agent/clawhub-scnet-sugon-health-license-ocr","canonicalPath":"/agent/clawhub-scnet-sugon-health-license-ocr","generatedAt":"2026-10-10T02:13:44.832Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T23:32:56.789Z","emptyReason":null},"description":"支持卫生许可证的票据识别。 Skill: health_license_ocr Owner: scnet-sugon Summary: 支持卫生许可证的票据识别。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-11T03:48:06.478Z | auto health-license-ocr 0.1.0 Changelog - Initial release: provides OCR recognition for hygiene license receipts. - Supports recognition via a single interface for \"卫生许可证\" (Hygiene License) types. - Output is structured JSON with recognition results and confidence levels. - Requi","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:health-license-ocr","sourceUrl":"https://clawhub.ai/scnet-sugon/health-license-ocr","homepage":"https://clawhub.ai/scnet-sugon/skills/health-license-ocr","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/scnet-sugon/health-license-ocr","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/scnet-sugon/skills/health-license-ocr","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":66,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"支持卫生许可证的票据识别。 Skill: health_license_ocr Owner: scnet-sugon Summary: 支持卫生许可证的票据识别。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-11T03:48:06.478Z | auto h"},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:32:56.789Z","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:32:56.789Z","emptyReason":null},"stars":null,"forks":null,"downloads":1886,"packageName":null,"latestVersion":"0.1.0","tractionLabel":"1.9K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T23:32:56.789Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T23:32:56.789Z","lastCrawledAt":"2026-10-09T23:32:56.789Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T23:32:56.789Z","lastVerifiedAt":null,"highlights":[{"version":"0.1.0","createdAt":"2026-08-11T03:48:06.478Z","changelog":"health-license-ocr 0.1.0 Changelog - Initial release: provides OCR recognition for hygiene license receipts. - Supports recognition via a single interface for \"卫生许可证\" (Hygiene License) types. - Output is structured JSON with recognition results and confidence levels. - Requires SCNET_API_KEY configuration; optional custom API base. - Includes detailed setup, usage instructions, and troubleshooting guide.","fileCount":14,"zipByteSize":13491}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s17aan1jdk93c5398r3ypc523d83hqys:health-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-health-license-ocr/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-license-ocr/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-license-ocr/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-license-ocr/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-license-ocr/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-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-10T02:13:44.831Z"}},"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-health-license-ocr/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-license-ocr/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-license-ocr/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-scnet-sugon-health-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:32:56.789Z","emptyReason":null},"readme":"Skill: health_license_ocr\n\nOwner: scnet-sugon\n\nSummary: 支持卫生许可证的票据识别。\n\nTags: latest:0.1.0\n\nVersion history:\n\nv0.1.0 | 2026-08-11T03:48:06.478Z | auto\n\nhealth-license-ocr 0.1.0 Changelog\n\n- Initial release: provides OCR recognition for hygiene license receipts.\n- Supports recognition via a single interface for \"卫生许可证\" (Hygiene License) types.\n- Output is structured JSON with recognition results and confidence levels.\n- Requires SCNET_API_KEY configuration; optional custom API base.\n- Includes detailed setup, usage instructions, and troubleshooting guide.\n\nArchive index:\n\nArchive v0.1.0: 14 files, 13491 bytes\n\nFiles: assets (0b), assets/templates (0b), assets/templates/fields-summary.md (472b), CHANGELOG.md (77b), LICENSE.txt (1090b), README.md (5965b), references (0b), references/api-docs.md (2328b), scripts (0b), scripts/main.py (7284b), skill-card.md (2093b), SKILL.md (4435b), skill.yaml (474b), _meta.json (137b)\n\nFile v0.1.0:SKILL.md\n\n---\nname: health_license_ocr\ndescription: 支持卫生许可证的票据识别。\nversion: 1.0.0\nauthor: SCNet\nlicense: MIT\ntags:\n  - OCR\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 服务，通过单一接口即可调用 1种识别能力，高效提取票据内容。\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>• HYGIENE_LICENSE（卫生许可证） |\n| filePath | string | 是 | 待识别图片的本地绝对路径。支持 jpg、png、pdf 等常见格式。      |\n\n### 命令行调用示例\n\n```bash\n   python .claude/skills/health_license_ocr/scripts/main.py HYGIENE_LICENSE /path/to/test.jpg\n```\n\n### 在 AI 对话中使用\n\n用户可以说：\n\n- “帮我识别这张图像中的卫生许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\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# health_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/health_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\": \"health-license-ocr\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1786420086478\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/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## 错误码\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## HYGIENE_LICENSE (卫生许可证)\n- `title`: 标题\n- `licenseNumber`: 许可证编号\n- `operatorName`: 单位名称\n- `address`: 单位地址\n- `legalRepresentative`: 法定代表人\n- `placeCategory`: 场所类别\n- `permittedItems`: 许可项目\n- `issuingAuthority`: 发证机关\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期\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\nSupports OCR recognition for hygiene license 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 operations teams use this skill to send hygiene license images, PDFs, or archives to the Scnet OCR service and receive structured recognition results.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: Health-license images or PDFs may contain sensitive information and are uploaded to an external OCR service.\n\nMitigation: Use only documents that are authorized for external processing and complete any required privacy review before upload.\n\nRisk: The skill uses a Scnet API token and a configurable API base URL.\n\nMitigation: Keep config/.env private, avoid pasting tokens into chat, and verify SCNET_API_BASE is the intended Scnet HTTPS endpoint before use.\n\n## Reference(s):\n\n- [ClawHub skill page](https://clawhub.ai/scnet-sugon/skills/health-license-ocr)\n- [Server-resolved GitHub source](https://github.com/SCNet-sugon/health_license_ocr)\n- [Sugon-Scnet OCR API documentation summary](references/api-docs.md)\n- [Recognized hygiene license fields](assets/templates/fields-summary.md)\n- [Scnet website](https://www.scnet.cn)\n- [Scnet OCR API base](https://api.scnet.cn/api/llm/v1)\n\n## Skill Output:\n\n**Output Type(s):** [text, markdown, code, shell commands, configuration, guidance]\n\n**Output Format:** [Markdown guidance and shell commands for running a Python OCR wrapper that returns structured JSON recognition data.]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Requires SCNET_API_KEY and accepts an OCR type plus a local file path.]\n\n## Skill Version(s):\n\n0.1.0 (source: ClawHub release metadata)\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: health_license_ocr\nversion: 1.0.0\ndescription: 支持卫生许可证的票据识别。\nauthor: SCNet\nlicense: MIT\ntags:\n  - ocr\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/health_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: health_license_ocr Owner: scnet-sugon Summary: 支持卫生许可证的票据识别。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-11T03:48:06.478Z | auto health-license-ocr 0.1.0 Changelog - Initial release: provides OCR recognition for hygiene license receipts. - Supports recognition via a single interface for \"卫生许可证\" (Hygiene License) types. - Output is structured JSON with recognition results and confidence levels. - Requi","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/health_license_ocr/scripts/main.py HYGIENE_LICENSE /path/to/test.jpg"},{"language":"text","snippet":"cd existing_repo\ngit remote add origin https://github.com/SCNet-sugon/health_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/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}"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: health_license_ocr\ndescription: 支持卫生许可证的票据识别。\nversion: 1.0.0\nauthor: SCNet\nlicense: MIT\ntags:\n  - OCR\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 服务，通过单一接口即可调用 1种识别能力，高效提取票据内容。\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>• HYGIENE_LICENSE（卫生许可证） |\n| filePath | string | 是 | 待识别图片的本地绝对路径。支持 jpg、png、pdf 等常见格式。      |\n\n### 命令行调用示例\n\n```bash\n   python .claude/skills/health_license_ocr/scripts/main.py HYGIENE_LICENSE /path/to/test.jpg\n```\n\n### 在 AI 对话中使用\n\n用户可以说：\n\n- “帮我识别这张图像中的卫生许可证票据信息，图片在 /Users/name/Downloads/test.jpg”\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 次）。若持续失败，请降低调用频率或联系服务方提高限额。 |"},{"path":"README.md","content":"# health_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/health_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 B"},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn7ax58mnefnavcfwakqxpsgqn82tacy\",\n  \"slug\": \"health-license-ocr\",\n  \"version\": \"0.1.0\",\n  \"publishedAt\": 1786420086478\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/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## 错误码\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`"},{"path":"assets/templates/fields-summary.md","content":"# 各识别类型的字段说明（elements 内容）\n\n根据 ocrType 不同，返回的 `elements` 对象包含以下字段：\n\n## HYGIENE_LICENSE (卫生许可证)\n- `title`: 标题\n- `licenseNumber`: 许可证编号\n- `operatorName`: 单位名称\n- `address`: 单位地址\n- `legalRepresentative`: 法定代表人\n- `placeCategory`: 场所类别\n- `permittedItems`: 许可项目\n- `issuingAuthority`: 发证机关\n- `issueDate`: 发证日期\n- `expiryDate`: 有效期"}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"支持卫生许可证的票据识别。 Skill: health_license_ocr Owner: scnet-sugon Summary: 支持卫生许可证的票据识别。 Tags: latest:0.1.0 Version history: v0.1.0 | 2026-08-11T03:48:06.478Z | auto health-license-ocr 0.1.0 Changelog - Initial release: provides OCR recognition for hygiene license receipts. - Supports recognition via a single interface for \"卫生许可证\" (Hygiene License) types. - Output is structured JSON with recognition results and confidence levels. - Requi","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":935,"uniquenessScore":56,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T23:32:56.789Z","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:32:56.789Z","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-10T02:13:44.832Z","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"}]}}}