← 返回 Skills 市场
讯飞票据识别
作者
Iflytek AIcloud
· GitHub ↗
· v1.0.0
· MIT-0
212
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xfei-invoice
功能描述
Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train ticket...
安全使用建议
This skill appears to genuinely implement iFlytek invoice OCR, but the package metadata omitted the three required environment variables. Before installing: 1) Confirm the registry entry is updated to declare XFEI_APP_ID, XFEI_API_KEY, and XFEI_API_SECRET. 2) Only supply credentials that are scoped/minimal (use a dedicated/test account if possible). 3) Do not run the SKILL.md echo debug lines in a shared environment (they print secrets). 4) Test with non-sensitive images first and verify the endpoint (https://api.xf-yun.com/v1/private/sc45f0684) and your account limits/costs. 5) If you need stronger assurance, request the publisher to explain why metadata lacks env var declarations and to provide a homepage/source repository for review.
功能分析
Type: OpenClaw Skill
Name: xfei-invoice
Version: 1.0.0
The skill is a functional OCR tool for Chinese invoices and receipts using the iFlytek (iFlytek) API. The Python script (scripts/invoice.py) uses standard libraries to perform HMAC-SHA256 signed requests to the legitimate iFlytek endpoint (api.xf-yun.com). While the SKILL.md includes troubleshooting instructions that suggest printing environment variables (XFEI_APP_ID, etc.) to verify configuration, this is presented as a standard debugging aid for the user and does not indicate malicious intent or hidden data exfiltration.
能力评估
Purpose & Capability
The name/description, SKILL.md, and scripts/invoice.py all consistently implement iFlytek (讯飞) invoice OCR and call the documented API endpoint (api.xf-yun.com). However, the registry metadata shows no required environment variables while both the documentation and code require XFEI_APP_ID, XFEI_API_KEY, and XFEI_API_SECRET — a coherence mismatch that should be corrected.
Instruction Scope
SKILL.md instructs the user to run scripts/invoice.py and to set the three XFEI env vars. The runtime instructions and code only read the provided image file and the three credentials and make a POST to the iFlytek API; they do not access other system files or unrelated services. One minor caution: SKILL.md includes explicit echo commands to print environment variables for debugging, which could expose secrets if run in an unsafe/shared environment.
Install Mechanism
Instruction-only skill with no install spec and no external downloads. The included Python script uses only standard library modules; nothing will be written to disk beyond the normal runtime behavior.
Credentials
Requiring XFEI_APP_ID, XFEI_API_KEY, and XFEI_API_SECRET is proportionate to the stated purpose (signed API calls). The concern is that the registry metadata did not declare those required env vars; this omission can mislead users about what secrets they'll need to provide and trust the skill with.
Persistence & Privilege
The skill does not request always:true and does not attempt to modify other skills or system configuration. It runs as an on-demand script and uses environment variables for credentials.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install xfei-invoice - 安装完成后,直接呼叫该 Skill 的名称或使用
/xfei-invoice触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of xfei-invoice: OCR-based invoice and receipt recognition using the iFlytek (科大讯飞) API.
- Supports extraction of structured data from multiple invoice types, including VAT invoices, taxi receipts, train tickets, toll invoices, medical bills, and bank receipts.
- Accepts common image formats (png, jpg, bmp, gif, tif, pdf) for recognition.
- Simple CLI tool (scripts/invoice.py) for processing images and retrieving results in human-readable or raw JSON formats.
- Authentication via environment variables for secure API access.
- Comprehensive troubleshooting guide and error code reference included for easy problem resolution.
元数据
常见问题
讯飞票据识别 是什么?
Recognize and extract structured data from invoices, receipts, and bills using iFlytek OCR API (科大讯飞票据识别). Supports VAT invoices, taxi receipts, train ticket... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 212 次。
如何安装 讯飞票据识别?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install xfei-invoice」即可一键安装,无需额外配置。
讯飞票据识别 是免费的吗?
是的,讯飞票据识别 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
讯飞票据识别 支持哪些平台?
讯飞票据识别 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 讯飞票据识别?
由 Iflytek AIcloud(@qingzhe2020)开发并维护,当前版本 v1.0.0。
推荐 Skills