← 返回 Skills 市场
mehulupase01

Expense Snap

作者 Mehul Bhojraj Upase · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install expense-snap
功能描述
Capture receipt details, categorize spending, and generate monthly reports from a local SQLite ledger.
使用说明 (SKILL.md)

Expense Snap

Use this skill when the user wants to turn a receipt or spending note into structured expense data, review spending by month, or export records to CSV.

When to Use

  • Logging a new receipt from text or an image transcription.
  • Categorizing spending into consistent buckets.
  • Producing monthly summaries with budget comparisons.
  • Exporting receipts for spreadsheets or reimbursement.

Commands

The helper script stores state in {baseDir}/.runtime/expense-snap.db.

Record a receipt

python {baseDir}/scripts/expense_snap.py record --merchant "Cafe Luna" --date 2026-03-22 --total 18.40 --currency EUR --category meals --line-item "Latte|4.50|1|beverages" --line-item "Sandwich|13.90|1|meals"

List receipts

python {baseDir}/scripts/expense_snap.py list --month 2026-03 --category meals

Monthly report

python {baseDir}/scripts/expense_snap.py monthly-report --month 2026-03

Export to CSV

python {baseDir}/scripts/expense_snap.py export-csv --month 2026-03 --output {baseDir}/.runtime/march-expenses.csv

Safety Boundaries

  • Never claim receipt OCR is perfect. Mark ambiguous fields as inferred.
  • Do not fabricate line items that are not visible or provided.
  • Keep currency and totals consistent with the source receipt.
  • If an image is unreadable, explain the uncertainty instead of inventing data.
安全使用建议
This skill appears to do what it says: run the included Python script to store receipts in a local SQLite DB at {baseDir}/.runtime/expense-snap.db and export CSVs. It does not request credentials or perform network access. Before installing, consider: run it in a safe/isolated base_dir if you have sensitive receipts (it will write files there), review the small Python source yourself if you want assurance, and ensure your agent substitutes {baseDir} to a directory you control. Note: SKILL.md mentions images/OCR, but the script only stores an image_path string and does not perform OCR or read image files. If you need encryption/backups or stricter access controls for financial data, add those protections outside this skill.
功能分析
Type: OpenClaw Skill Name: expense-snap Version: 0.1.0 The expense-snap skill is a legitimate tool for managing personal finances using a local SQLite database. The Python script (scripts/expense_snap.py) uses parameterized SQL queries to prevent injection and restricts file operations to a local runtime directory and user-defined export paths. No network activity, data exfiltration, or malicious instructions were found in the code or documentation.
能力评估
Purpose & Capability
Name/description match the included Python script and CLI: recording receipts, categorizing, monthly reports, and CSV export. Required binary is only python and no unrelated credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs running the included Python CLI against {baseDir}; the CLI only reads/writes a local SQLite DB under {baseDir}/.runtime and CSV export files. There are no instructions to read unrelated system files, access environment secrets, or transmit data externally.
Install Mechanism
There is no install spec or remote download; the skill ships code files and expects a local python to run them. No external packages or network retrievals are performed at install time.
Credentials
The skill declares no required environment variables or credentials. The code does not access environment secrets or external auth tokens.
Persistence & Privilege
always is false and the skill does not request persistent platform privileges. It creates and updates files only within the provided base_dir (.runtime DB and any explicit export paths), which is appropriate for its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install expense-snap
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /expense-snap 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
Slug expense-snap
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Expense Snap 是什么?

Capture receipt details, categorize spending, and generate monthly reports from a local SQLite ledger. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 Expense Snap?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install expense-snap」即可一键安装,无需额外配置。

Expense Snap 是免费的吗?

是的,Expense Snap 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Expense Snap 支持哪些平台?

Expense Snap 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Expense Snap?

由 Mehul Bhojraj Upase(@mehulupase01)开发并维护,当前版本 v0.1.0。

💬 留言讨论