/install clawreceipt
ClawReceipt Skill for OpenClaw
Use this skill to interface with the ClawReceipt system whenever the user wants to process a receipt, check their monthly spending budget, or export financial data.
Trigger Conditions
Use this skill when the user wants to:
- Upload or provide a picture/text of a receipt to be recorded.
- Add a new expense, bill, or receipt to the database.
- Check their current total spend against their monthly budget.
- Update their monthly spending budget.
- List recent receipts/expenses.
Core Workflows
1) Process and Add a Receipt
When the user provides a receipt image or details, extract the relevant fields (Date, Time, Store, Amount, Category) and use the CLI to save it:
-
Extract details using OCR or LLM vision capabilities.
-
Ensure you have
date(YYYY-MM-DD),time(HH:MM:SS, optional),store(string),amount(float), andcategory(string, e.g., "อาหาร", "เดินทาง", "Shopping"). -
Run the CLI command in the ClawReceipt directory:
python run.py add --date "YYYY-MM-DD" --time "HH:MM:SS" --store "\x3CStore>" --amount \x3CAmount> --category "\x3CCategory>" -
Read the output to check if the budget was exceeded and relay that information to the user.
2) Check Budget Status
If the user asks "How much budget do I have left?" or "What is my total spend?":
-
Run:
python run.py budget -
Parse the output which includes "Total Spent" and "Target Budget" and accurately report to the user.
-
Alert the user if the status indicates "Exceeded Budget!".
3) Set New Budget
If the user wants to set a new monthly budget (e.g., "Set my budget to 5000 baht"):
-
Run:
python run.py budget --set \x3CAmount> -
Confirm to the user that the budget has been updated successfully.
4) List All Receipts
If the user asks to see history or recently recorded receipts:
-
Run:
python run.py list -
Summarize the output table for the user.
5) Open TUI / Export (Interactive mode only)
If the user asks to see a beautiful dashboard or export to CSV/Excel, you can suggest they run:
python run.py tui
(Note: As an agent, do not run the tui command directly as it will block the terminal. Instruct the user to run it themselves in a new terminal if they want to interact with the UI or manually export the data).
Required Checks Before Execution
- Verify
run.pyis present in the ClawReceipt root folder before calling. - Ensure the active Python environment has the required dependencies (
rich,pandas,openpyxl,textual, etc.) by utilizing.\venv\Scripts\activateif available. - Always quote string arguments like
--store "Full Name"to prevent shell argument splitting.
Troubleshooting
UnicodeEncodeError: Ensure the terminal is using UTF-8 encoding. Therun.pyhandles this internally for Windows, but be aware if piping output.unrecognized arguments: Ensure parameters like--categoryare explicitly mapped and don't contain unescaped quotes.
Completion Checklist
- Required fields accurately extracted and fed to the
addcommand. - Command executed successfully (exit code 0).
- Relevant confirmation (and budget alerts, if any) relayed back to the user clearly.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawreceipt - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawreceipt触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
ClawReceipt 是什么?
Use this skill to extract receipt information, record expenses, track budgets, and manage financial receipts using the ClawReceipt CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 400 次。
如何安装 ClawReceipt?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawreceipt」即可一键安装,无需额外配置。
ClawReceipt 是免费的吗?
是的,ClawReceipt 完全免费(开源免费),可自由下载、安装和使用。
ClawReceipt 支持哪些平台?
ClawReceipt 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawReceipt?
由 Sakurako(@sakurako-irs)开发并维护,当前版本 v1.0.0。