← 返回 Skills 市场
TencentCloud VatInvoice OCR
作者
tencent-ocr
· GitHub ↗
· v1.0.2
· MIT-0
368
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install tencentcloud-ocr-vatinvoice
功能描述
腾讯云通用票据识别高级版(VatInvoiceOCR)接口调用技能。当用户需要识别发票图片中增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通/增值税专用)的全字段信息时,应使用此技能。支持识别发票图片中的发票代码、发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方...
安全使用建议
This package appears to be a straightforward wrapper around Tencent Cloud's VatInvoiceOCR and will send invoice images you provide to Tencent's OCR endpoint. Before installing: (1) be aware you must provide TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY — the registry metadata omits these, so the platform may not prompt you to supply them correctly; (2) only run this if you trust sending your invoice images to Tencent Cloud (they will leave your machine); (3) store the API keys securely (do not hard-code); (4) if you need stronger assurance, inspect/run the included scripts in an isolated environment, and confirm the owner/source since the package page lacks a homepage and the publisher identity is unknown.
功能分析
Type: OpenClaw Skill
Name: tencentcloud-ocr-vatinvoice
Version: 1.0.2
The skill bundle is a legitimate implementation for calling the Tencent Cloud VAT Invoice OCR API. The Python script (scripts/main.py) correctly handles authentication via environment variables, validates input sizes, and uses the official Tencent Cloud SDK to process images or PDFs. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code logic strictly aligns with the stated purpose in SKILL.md.
能力评估
Purpose & Capability
The script and SKILL.md call Tencent Cloud's VatInvoiceOCR and require TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY — these credentials are appropriate for the declared purpose. However, the registry metadata claims no required env vars or primary credential, which is inconsistent with the code and documentation.
Instruction Scope
SKILL.md and scripts/main.py stay within OCR scope: they accept an image URL or local file (or Base64), encode/send it to Tencent's OCR endpoint, and format the response. The instructions do not reference unrelated system files, other credentials, or external endpoints beyond Tencent's OCR service. The script does read local files only when explicitly provided by the user.
Install Mechanism
No install spec is provided; the included Python script depends on tencentcloud-sdk-python (installed via pip). This is a low-risk, expected install pattern for a Python utility and there are no downloads from untrusted URLs or archive extraction in the package.
Credentials
The runtime requires Tencent Cloud credentials (TENCENTCLOUD_SECRET_ID and TENCENTCLOUD_SECRET_KEY), which are proportionate to calling Tencent APIs. The problem is the registry metadata did not declare these required env vars or a primary credential, which is an incoherence that can confuse users and lead to silent failures or improper handling of secrets by the hosting platform.
Persistence & Privilege
The skill does not request persistent/always-on presence and does not modify other skills or system-wide settings. It runs as an on-demand CLI-style tool and uses environment variables at runtime.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install tencentcloud-ocr-vatinvoice - 安装完成后,直接呼叫该 Skill 的名称或使用
/tencentcloud-ocr-vatinvoice触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- 新增请求参数 UserAgent用于标识请求来源
- 其余功能和接口保持不变
v1.0.1
更新显示名称
v1.0.0
tencentcloud-ocr-vatinvoice 1.0.0
- Initial release of Tencent Cloud VatInvoiceOCR skill.
- Supports recognition of all fields in VAT invoice images and PDFs, including invoice code, number, date, buyer/seller details, amounts, items, and more.
- Handles both regular and electronic VAT invoices, with automatic classification for full-electric invoices.
- Provides structured JSON and raw mode outputs.
- Requires Python 3.6+ and Tencent Cloud API credentials.
元数据
常见问题
TencentCloud VatInvoice OCR 是什么?
腾讯云通用票据识别高级版(VatInvoiceOCR)接口调用技能。当用户需要识别发票图片中增值税专用发票、增值税普通发票、增值税电子专票、增值税电子普票、电子发票(普通/增值税专用)的全字段信息时,应使用此技能。支持识别发票图片中的发票代码、发票号码、开票日期、合计金额、校验码、税率、合计税额、价税合计、购买方... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 368 次。
如何安装 TencentCloud VatInvoice OCR?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install tencentcloud-ocr-vatinvoice」即可一键安装,无需额外配置。
TencentCloud VatInvoice OCR 是免费的吗?
是的,TencentCloud VatInvoice OCR 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
TencentCloud VatInvoice OCR 支持哪些平台?
TencentCloud VatInvoice OCR 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 TencentCloud VatInvoice OCR?
由 tencent-ocr(@zt1314p-design)开发并维护,当前版本 v1.0.2。
推荐 Skills