← 返回
未分类

FapiaoClaw

Process and organize invoice PDFs by fixing extensions, removing duplicates and invalid files, checking for keywords, and calculating total amounts.
处理并整理发票PDF,修复扩展名,删除重复及无效文件,检查关键词,计算总金额。
jie jie 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 315
下载
💾 0
安装
1
版本
#latest

概述

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:

  1. Fixing .pdf extensions (files ending in ? or ).
  2. Removing duplicate files based on MD5 hash.
  3. Removing invalid files (e.g. containing "行程单").
  4. Checking PDF contents for a mandatory missing keyword.
  5. 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 -d

Instructions for the Agent

When the user asks you to process or organize invoices (e.g., "整理 ./fapiao 里 的发票,关键字是 银河科技;腾讯"):

  1. 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).
  2. Handle Missing Keyword:
    • You MUST prompt the user for the if it is missing from their request. Do not guess it.
  3. Execute Command:
    • Construct and run the following terminal command (replacing placeholders with extracted values):

python main.py process -d

  1. Report Results:
    • After the script completes, summarize the printed results for the user (files fixed, dupes removed, files moved to /invoices, and files moved to /invoices/unknown, plus the grand total).

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-07 16:44 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

suspicious
查看报告

🔗 相关推荐

office-efficiency

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 937 📥 188,106
office-efficiency

腾讯文档 TENCENT DOCS

u_b0de8114
腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill
★ 183 📥 130,769
office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 402 📥 150,523