← 返回 Skills 市场
Receipt Word Tool
作者
gongsunyanming
· GitHub ↗
· v1.0.0
· MIT-0
35
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install yiqi-receipt-word-tool
功能描述
付款截图Word排版工具。批量处理微信/支付宝付款截图,EasyOCR自动识别实付金额,生成带缩略图、金额、小计、总计的Word文档。 完整GUI工具,支持手动修正金额、缩略图预览。包含源码、维护指南、国内离线模型下载方案。 适用场景: - "帮我处理付款截图"(批量OCR识别+Word排版) - "修正一下识别...
使用说明 (SKILL.md)
付款截图 Word 排版工具
一款 tkinter GUI 工具,批量将付款截图(微信/支付宝)转换为格式化 Word 报销文档。用户选择截图文件夹后,EasyOCR 自动识别每张图的实付金额,支持手动修正,一键生成包含缩略图、金额标注、小计和总计的 Word 文档。
核心功能
- 用户选择付款截图文件夹(
.jpg/.png/.bmp/.gif/.webp/.tiff) - EasyOCR 读取每张图,自动提取最终实付金额
- 用户可手动修正任何识别错误的金额
- 生成格式化 Word 文档:
- 每页 2列 × 3行 = 6 张图
- 每张图下方居中显示金额(红色加粗)
- 每 18 张(3页)插入蓝色小计行
- 文档末尾红色加粗总计
文件结构
| 文件 | 用途 |
|---|---|
scripts/receipt_word_tool.py |
完整可运行的 GUI 工具源码 |
scripts/启动付款排版工具.bat |
Windows 一键启动脚本 |
references/maintenance_guide.md |
技术维护记录(14个已修复问题) |
references/easyocr_offline_setup.md |
国内离线模型下载指南 |
运行方式
python scripts/receipt_word_tool.py
依赖:easyocr, Pillow, python-docx, numpy
安全使用建议
Install only if you are comfortable processing receipt images locally with EasyOCR and potentially downloading OCR model files on first use. Prefer normal TLS downloads or verified offline model files; avoid using --ssl-no-revoke unless you understand the reduced certificate-checking protection. Review generated amounts before reimbursement use.
能力评估
Purpose & Capability
The code matches the stated purpose: it lets the user select local payment screenshots, runs EasyOCR locally, allows manual amount correction, and writes a user-chosen .docx file.
Instruction Scope
The runtime actions are mostly user-directed through the GUI, but OCR can trigger EasyOCR's first-use model download and the generated Word file is opened automatically after creation.
Install Mechanism
Dependencies are disclosed, and offline model-download guidance is provided; however the documentation recommends curl --ssl-no-revoke without explaining the security tradeoff, and SKILL.md references a Windows .bat launcher that is not present in the artifact.
Credentials
Reading payment screenshots is expected for this tool and appears local-only; there is no evidence of uploading receipt data, credential access, broad filesystem indexing, or unrelated network behavior.
Persistence & Privilege
No background persistence, privilege escalation, credential use, or destructive behavior was found; EasyOCR models may be cached locally and os.startfile uses the OS file association to open the generated document.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install yiqi-receipt-word-tool - 安装完成后,直接呼叫该 Skill 的名称或使用
/yiqi-receipt-word-tool触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
v1.0.0: 付款截图批量OCR+Word排版GUI工具; EasyOCR自动识别实付金额; 手动修正+缩略图预览; 含离线模型下载方案
元数据
常见问题
Receipt Word Tool 是什么?
付款截图Word排版工具。批量处理微信/支付宝付款截图,EasyOCR自动识别实付金额,生成带缩略图、金额、小计、总计的Word文档。 完整GUI工具,支持手动修正金额、缩略图预览。包含源码、维护指南、国内离线模型下载方案。 适用场景: - "帮我处理付款截图"(批量OCR识别+Word排版) - "修正一下识别... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 35 次。
如何安装 Receipt Word Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install yiqi-receipt-word-tool」即可一键安装,无需额外配置。
Receipt Word Tool 是免费的吗?
是的,Receipt Word Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Receipt Word Tool 支持哪些平台?
Receipt Word Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Receipt Word Tool?
由 gongsunyanming(@gongsunyanming)开发并维护,当前版本 v1.0.0。
推荐 Skills