Track daily expenses in structured markdown files organized by month. Use when the user wants to log spending, view expense summaries, analyze spending patte...
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install expense-tracker或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install expense-tracker⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/expense-tracker/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: expense-tracker description: Track daily expenses in structured markdown files organized by month. Use when the user wants to log spending, view expense summaries, analyze spending patterns, or manage personal finance tracking. Supports categories, tags, and monthly summaries. ---
Log and track daily expenses in markdown files organized by month.
python3 scripts/log_expense.py log <amount> <category> [--description "text"] [--tags "tag1,tag2"] [--date YYYY-MM-DD]
Examples:
# Simple expense
python3 scripts/log_expense.py log 45000 Coffee
# With description
python3 scripts/log_expense.py log 250000 Dining --description "Lunch with team"
# With tags
python3 scripts/log_expense.py log 500000 Shopping --tags "clothes,sale" --description "New shirt"
# Specify date (for backdating)
python3 scripts/log_expense.py log 1200000 Vehicle --description "Gas" --date 2026-02-15
# Current month
python3 scripts/log_expense.py summary
# Specific month
python3 scripts/log_expense.py summary 2026-02
# JSON output (for parsing)
python3 scripts/log_expense.py summary 2026-02 --json
Expenses are stored in expenses/ directory at workspace root:
expenses/
├── 2026-01.md
├── 2026-02.md
└── 2026-03.md
Each file contains a markdown table:
# Expenses - 2026-02
| Date | Category | Amount (VND) | Description | Tags |
|------|----------|-------------|-------------|------|
| 2026-02-17 | Coffee | 45,000 | | |
| 2026-02-17 | Dining | 250,000 | Lunch with team | |
| 2026-02-17 | Shopping | 500,000 | New shirt | clothes,sale |
See references/categories.md for common expense categories. Use existing categories or create custom ones as needed.
Common categories:
When the user mentions spending money:
# User: "Just paid 35k for coffee"
python3 scripts/log_expense.py log 35000 Coffee
# User: "Grabbed lunch for 120k at Phở 24"
python3 scripts/log_expense.py log 120000 Dining --description "Phở 24"
# User: "Filled up gas, 400k"
python3 scripts/log_expense.py log 400000 Vehicle --description "Gas"
# Get summary
python3 scripts/log_expense.py summary 2026-02
# Read the expense file to see details
cat expenses/2026-02.md
# Get JSON for analysis
python3 scripts/log_expense.py summary 2026-02 --json
# Compare multiple months
python3 scripts/log_expense.py summary 2026-01 --json > jan.json
python3 scripts/log_expense.py summary 2026-02 --json > feb.json
Before every write, the script automatically backs up the current expense file to:
~/Documents/expenses_backup/YYYY-MM.md
rm -rf or corruption of the workspaceWhen tracking expenses, consider:
Commands:
log - Add an expense entrysummary - View monthly summaryArguments (log):
amount - Amount in VND (required)category - Category name (required)--description/-d - Optional description--tags/-t - Optional comma-separated tags--date - Optional date (YYYY-MM-DD, defaults to today)--workspace - Optional workspace path (defaults to ~/.openclaw/workspace)Arguments (summary):
year_month - Optional YYYY-MM (defaults to current month)--json - Output as JSON--workspace - Optional workspace pathOutput:
expenses/ directory安装 Expense Tracker 后,可以对 AI 说这些话来触发它
Help me get started with Expense Tracker
Explains what Expense Tracker does, walks through the setup, and runs a quick demo based on your current project
Use Expense Tracker to track daily expenses in structured markdown files organized by month
Invokes Expense Tracker with the right parameters and returns the result directly in the conversation
What can I do with Expense Tracker in my finance & investment workflow?
Lists the top use cases for Expense Tracker, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/expense-tracker/ 目录(个人级,所有项目可用),或 .claude/skills/expense-tracker/(项目级)。重启 AI 客户端后,用 /expense-tracker 主动调用,或让 AI 根据上下文自动发现并使用。
Expense Tracker 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Expense Tracker 可免费安装使用。请查阅仓库了解许可证信息。
Track daily expenses in structured markdown files organized by month. Use when the user wants to log spending, view expense summaries, analyze spending patte...
Expense Tracker 属于「Finance & Investment」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my finance & investment tasks using Expense Tracker
Identifies repetitive steps in your workflow and sets up Expense Tracker to handle them automatically