← Back to Skills Marketplace
gongsunyanming

Receipt Word Tool

by gongsunyanming · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
35
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install yiqi-receipt-word-tool
Description
付款截图Word排版工具。批量处理微信/支付宝付款截图,EasyOCR自动识别实付金额,生成带缩略图、金额、小计、总计的Word文档。 完整GUI工具,支持手动修正金额、缩略图预览。包含源码、维护指南、国内离线模型下载方案。 适用场景: - "帮我处理付款截图"(批量OCR识别+Word排版) - "修正一下识别...
README (SKILL.md)

付款截图 Word 排版工具

一款 tkinter GUI 工具,批量将付款截图(微信/支付宝)转换为格式化 Word 报销文档。用户选择截图文件夹后,EasyOCR 自动识别每张图的实付金额,支持手动修正,一键生成包含缩略图、金额标注、小计和总计的 Word 文档。

核心功能

  1. 用户选择付款截图文件夹(.jpg/.png/.bmp/.gif/.webp/.tiff
  2. EasyOCR 读取每张图,自动提取最终实付金额
  3. 用户可手动修正任何识别错误的金额
  4. 生成格式化 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

Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install yiqi-receipt-word-tool
  3. After installation, invoke the skill by name or use /yiqi-receipt-word-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
v1.0.0: 付款截图批量OCR+Word排版GUI工具; EasyOCR自动识别实付金额; 手动修正+缩略图预览; 含离线模型下载方案
Metadata
Slug yiqi-receipt-word-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Receipt Word Tool?

付款截图Word排版工具。批量处理微信/支付宝付款截图,EasyOCR自动识别实付金额,生成带缩略图、金额、小计、总计的Word文档。 完整GUI工具,支持手动修正金额、缩略图预览。包含源码、维护指南、国内离线模型下载方案。 适用场景: - "帮我处理付款截图"(批量OCR识别+Word排版) - "修正一下识别... It is an AI Agent Skill for Claude Code / OpenClaw, with 35 downloads so far.

How do I install Receipt Word Tool?

Run "/install yiqi-receipt-word-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Receipt Word Tool free?

Yes, Receipt Word Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Receipt Word Tool support?

Receipt Word Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Receipt Word Tool?

It is built and maintained by gongsunyanming (@gongsunyanming); the current version is v1.0.0.

💬 Comments