/install invoice-processing
WORKFLOW SKILL — Process and organize invoice PDFs using main.py.
USE FOR: Organizing invoices in a directory when the user provides a keyword. Capabilities include:
- Fixing
.pdfextensions (files ending in?or?). - Removing duplicate files based on MD5 hash.
- Removing invalid files (e.g. containing "行程单").
- Checking PDF contents for a mandatory missing
keyword. - Calculating the grand total amount from all valid invoices.
DO NOT USE FOR: General Python debugging or other non-invoice related tasks.
INVOKES: Terminal tool to run python main.py process \x3Ckeyword> -d \x3Cdir>
Instructions for the Agent
When the user asks you to process or organize invoices (e.g., "整理 ./fapiao 里 的发票,关键字是 银河科技;腾讯"):
- Extract Arguments:
dir: The target directory. If the user does not specify a directory, safely default to the current directory (.) or ask the user if it is ambiguous.keyword: The target keyword to check inside the PDFs (e.g., a company name). Note: Multiple keywords can be provided separated by a semicolon;(e.g.,CompanyA;CompanyB).
- Handle Missing Keyword:
- You MUST prompt the user for the
\x3Ckeyword>if it is missing from their request. Do not guess it.
- You MUST prompt the user for the
- Execute Command:
- Construct and run the following terminal command (replacing placeholders with extracted values):
python main.py process \x3Ckeyword> -d \x3Cdir>
- Construct and run the following terminal command (replacing placeholders with extracted values):
- Report Results:
- After the script completes, summarize the printed results for the user (files fixed, dupes removed, files moved to
\x3Cdir>/invoices, and files moved to\x3Cdir>/invoices/unknown, plus the grand total).
- After the script completes, summarize the printed results for the user (files fixed, dupes removed, files moved to
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install invoice-processing - 安装完成后,直接呼叫该 Skill 的名称或使用
/invoice-processing触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
FapiaoClaw 是什么?
Process and organize invoice PDFs by fixing extensions, removing duplicates and invalid files, checking for keywords, and calculating total amounts. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 97 次。
如何安装 FapiaoClaw?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install invoice-processing」即可一键安装,无需额外配置。
FapiaoClaw 是免费的吗?
是的,FapiaoClaw 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
FapiaoClaw 支持哪些平台?
FapiaoClaw 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 FapiaoClaw?
由 JOE(@jie)开发并维护,当前版本 v1.0.0。