daily-expense-tracker

Lightweight personal expense-tracking skill. Used to record daily expenses and income, perform category statistics, monthly summaries, and export CSV. Data is stored locally at ~/.ledger with no external dependencies, emphasizing privacy and local storage. Activates when users want to record an entry, view today’s spending, monthly summaries, or export accounts.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "daily-expense-tracker" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-0b5f954a1339cb803bc47fe70c90dee3dac2b7b3173253a0acf8787ddfd14d6b. Verify the upstream source and version against https://skillhub.cn/skills/user_cb37ec27/daily-expense-tracker before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Lightweight personal expense-tracking skill. Used to record daily expenses and income, perform category statistics, monthly summaries, and export CSV. Data is stored locally at ~/.ledger with no external dependencies, emphasizing privacy and local storage. Activates when users want to record an entry, view today’s spending, monthly summaries, or export accounts.

0 Downloads

Introduction source: third_party · user_cb37ec27 · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: daily-expense-tracker
slug: daily-expense-tracker
displayName: 每日记账本
description: 轻量个人记账 skill。当用户想"记一笔/记账/记支出/记收入/看今天花了多少/本月账单汇总/导出账单"时使用。覆盖日常消费记录、分类统计、月度汇总与 CSV 导出,数据存于本地 ~/.ledger,零依赖、隐私安全。
version: 1.0.0
category: 生活助手
platforms:
  - WorkBuddy
  - Claude Code
  - Cursor
  - QClaw
  - ima
author: Dream
license: MIT

每日记账本(Daily Expense Tracker)

一个零依赖、纯本地的个人收支记账工具。数据保存在用户家目录 ~/.ledger/expenses.jsonl,不上传任何服务器,隐私完全在自己的机器上。

适用场景

  • 随手记一笔消费 / 收入
  • 查看今日花了多少
  • 按月、按分类汇总,搞清楚钱花在哪
  • 导出 CSV 做进一步分析或报销

核心能力

  • add <分类> <金额> [备注]:记一笔。金额正数 = 收入,负数 = 支出(如 -12 表示支出 12 元)。
  • today:显示今日所有明细与合计。
  • month [YYYY-MM]:本月(或指定月份)按分类汇总。
  • export [YYYY-MM]:导出当月 CSV 到 ~/Downloads。

执行方式

脚本位于本 skill 目录 expense_tracker.py,用系统 python3 运行即可(无需任何三方依赖):

# 记一笔早餐支出 12 元
python3 <skill_dir>/expense_tracker.py add 餐饮 -12 早餐

# 记一笔工资收入
python3 <skill_dir>/expense_tracker.py add 工资 8000 月度工资

# 看今天
python3 <skill_dir>/expense_tracker.py today

# 看本月汇总
python3 <skill_dir>/expense_tracker.py month

# 导出 CSV
python3 <skill_dir>/expense_tracker.py export

说明:<skill_dir> 指本 SKILL.md 所在目录,即 ~/.workbuddy/skills/daily-expense-tracker/。调用时替换为实际绝对路径即可。

交互约定

  • 用户说「记一笔 午餐 35」时,自动归类为分类「餐饮」、金额 -35、备注「午餐」。
  • 用户未指定分类时,按常见分类(餐饮 / 交通 / 购物 / 居家 / 娱乐 / 医疗 / 学习 / 其他)智能归类,必要时简短追问。
  • 金额默认视为支出;用户明确说「收入 / 工资 / 退款 / 报销」时才记为正值。
  • 支持自然语言金额(「十二块」「35元」「1.5k」),解析后写入数值。

数据存储

  • 账本文件:~/.ledger/expenses.jsonl(每行一条 JSON 记录)
  • 字段:date, time, category, amount, note
  • 导出目录:~/Downloads/记账_YYYY-MM.csv(UTF-8 with BOM,Excel 直接打开中文不乱码)

发布建议(仅文字,不自动发布)

适合所有想培养记账习惯、但嫌传统记账 App 太重的人。核心场景:随手记、月度复盘、攒钱计划、简易报销。若发布到技能市场,建议标题「每日记账本 · 零依赖本地记账」,简介:「一句话记一笔,自动分类汇总、月度复盘、一键导出 CSV。数据全在本地,隐私无忧。」

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决个人记账刚需,覆盖记录、统计、汇总、导出全流程
  • 零依赖本地存储,隐私安全,适合高频日常使用
Trigger Precision90/100

Highlights

  • 触发词覆盖完整,边界清晰,不易误触或漏触
Structure and Standards90/100

Highlights

  • 结构清晰,步骤完整,示例详实,frontmatter 规范
Execution Reliability75/100

Areas to improve

  • 缺少异常处理说明 Reported severity: Minor

    未说明文件读写失败、参数错误等异常情况的处理方式

    Recommendation: 建议在文档中补充常见异常处理说明,如文件权限不足、参数格式错误等情况的应对方案

Highlights

  • 工具来源明确,参数说明清晰,数据存储路径规范
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.