微算力 · API 导航与自营网关
API 接入 EN
未登录登录
💰

对话式智能记账与财富管家

Budget & Expense Tracker · v1.0.0
入口已确认,内容待校验 文件树里有 SKILL.md,但正文还没采回,frontmatter 未核对。
效率 安全 S 级 作者 1kalin 公开目录收录
1.1k 下载 1 安装 2.4k 收藏 35 浏览

简介

AI驱动的个人记账与预算管理工具,支持自然语言录入、智能预算预警、储蓄目标追踪及财务健康评分,数据完全本地存储。

原始描述

Track expenses, enforce budgets, detect unusual spending, manage savings goals, and get weekly/monthly financial reports via natural language with your AI ag...

通过你的 Agent 添加

安装目录:budget-expense-tracker/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/budget-expense-tracker/
Codex CLI~/.codex/skills/budget-expense-tracker/
DeepSeek Harness~/.agents/skills/budget-expense-tracker/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

Budget & Expense Tracker — AI Agent Financial Command Center

核心用法

该技能是一套完整的个人财务管理解决方案,用户通过自然语言与AI对话即可完成记账、预算管理和财务分析。核心工作流程包括:

  1. 初始化配置:创建 budget-profile.json 定义收入、支出分类、预算额度及储蓄目标
  2. 自然语言记账:说"花了45美元买杂货"或"工资到账2500",AI自动解析为结构化交易记录
  3. 智能预算监控:实时计算支出进度、日均消费 pace,并在75%/90%/100%阈值触发分级预警
  4. 周期性报告:自动生成周度摘要、月度深度分析及年度财务健康评分
  5. 目标导向储蓄:追踪多目标进度,智能建议盈余再分配

显著优点

  • 零摩擦交互:彻底消除传统记账App的手动分类痛苦, conversational UI 大幅降低坚持成本
  • 预测性智能:pace tracking 机制不仅告诉"花了多少",更预测"按此速度将超支多少",真正 actionable
  • 完整闭环:从录入→监控→分析→优化建议→目标追踪,覆盖个人财务管理的全生命周期
  • 极致隐私:纯本地JSON存储,零外部API,金融数据永不离开用户设备
  • 高度可定制:分类结构、预算周期、预警阈值、储蓄目标完全由用户定义

潜在缺点与局限性

  • 无自动同步:不支持银行API自动导入,依赖用户主动录入,漏记风险存在
  • 货币兑换粗糙:外币消费需手动或估算汇率,无实时汇率API
  • 缺乏投资追踪:专注于现金流管理,不支持股票、基金等资产估值
  • 共享财务薄弱:多人分摊、借贷往来仅支持简单标签,无完整债权债务管理
  • 长期依赖风险:AI解析可能存在歧义,复杂交易(如退款跨月、分期付款)需人工校验
  • 无云端备份:本地文件损坏或误删将导致数据丢失,需用户自行维护备份习惯

适合人群

  • 希望建立记账习惯但抗拒传统App繁琐操作的入门用户
  • 重视财务隐私、不信任云端财务管理工具的安全敏感型用户
  • 需要灵活自定义分类结构的自由职业者或多收入来源人群
  • 以储蓄目标为导向、需要智能预警防止超支的预算执行困难者
  • 技术素养较好、能理解和维护本地JSON文件的进阶用户

常规风险

  • 数据完整性:AI自然语言解析可能误分类或漏提关键信息,建议定期人工复核
  • 预算幻觉:预警系统基于已记录数据,漏记消费将导致预算虚胖
  • 过度优化焦虑:详细的pace tracking和财务评分可能引发不必要的财务焦虑
  • 文件管理:多JSON文件结构需用户理解文件关系,误操作可能破坏数据一致性
  • 无审计追踪:修改/删除交易无完整日志,不利于长期财务审计需求

总体评估:这是一款设计理念先进、交互体验革新、隐私保护极致的个人财务管理工具,适合愿意投入少量时间维护、追求掌控感与隐私的理性财务管理者。技术门槛和手动录入成本是其主要采用障碍。

技能正文

Budget & Expense Tracker — AI Agent Financial Command Center

Track every dollar, enforce budgets, spot spending patterns, and build wealth — all through natural conversation with your AI agent.

How It Works

You talk to your agent naturally: "I spent $45 on groceries" or "How much did I spend on food this month?" The agent maintains a local JSON ledger, enforces your budgets, and gives you weekly/monthly financial intelligence.


1. Setup — Your Financial Profile

On first use, create budget-profile.json in your workspace:

{
  "currency": "USD",
  "monthlyIncome": 5000,
  "payDays": [1, 15],
  "fiscalMonthStart": 1,
  "categories": {
    "housing": { "budget": 1500, "essential": true },
    "food": { "budget": 600, "essential": true, "subcategories": ["groceries", "dining", "delivery", "coffee"] },
    "transport": { "budget": 300, "essential": true, "subcategories": ["fuel", "public", "rideshare", "parking"] },
    "utilities": { "budget": 200, "essential": true, "subcategories": ["electric", "water", "internet", "phone"] },
    "health": { "budget": 200, "essential": true, "subcategories": ["gym", "medical", "supplements"] },
    "entertainment": { "budget": 200, "essential": false, "subcategories": ["streaming", "games", "events", "hobbies"] },
    "shopping": { "budget": 300, "essential": false, "subcategories": ["clothes", "electronics", "home", "gifts"] },
    "education": { "budget": 100, "essential": false, "subcategories": ["books", "courses", "subscriptions"] },
    "savings": { "budget": 500, "essential": true, "target": "emergency-fund" },
    "misc": { "budget": 100, "essential": false }
  },
  "alerts": {
    "budgetWarning": 0.75,
    "budgetCritical": 0.90,
    "unusualSpend": 2.0,
    "dailyMax": 200
  },
  "goals": []
}

Customize categories, budgets, and subcategories to your life. The agent adapts to whatever structure you define.


2. The Ledger — Transaction Format

All transactions live in budget-ledger.json:

{
  "transactions": [
    {
      "id": "tx_20260213_001",
      "date": "2026-02-13",
      "type": "expense",
      "amount": 45.67,
      "category": "food",
      "subcategory": "groceries",
      "description": "Weekly shop at Aldi",
      "merchant": "Aldi",
      "paymentMethod": "debit",
      "tags": ["weekly", "essentials"],
      "recurring": false,
      "note": ""
    }
  ],
  "recurringRules": [],
  "metadata": {
    "lastUpdated": "2026-02-13T10:30:00Z",
    "transactionCount": 1,
    "ledgerVersion": "1.0"
  }
}

Transaction ID Convention

tx_YYYYMMDD_NNN — date + sequential number. Never reuse IDs.


3. Natural Language Parsing

When a user says something about money, parse it into a transaction:

Parsing Rules

User says Extracted
"spent $45 on groceries" expense, $45, food/groceries
"paid rent $1500" expense, $1500, housing
"got paid $2500" income, $2500, salary
"uber $12" expense, $12, transport/rideshare
"Netflix $15.99 monthly" expense, $15.99, entertainment/streaming, recurring
"coffee $5" expense, $5, food/coffee
"sent mom $200" expense, $200, misc (ask: gift or loan?)
"returned shoes got $80 back" refund, $80, shopping/clothes

Ambiguity Resolution

  • If category is unclear, make your best guess AND confirm: "Logged $45 under food/groceries — correct?"
  • If amount is missing, ask: "How much was that?"
  • If "monthly" or "every week" mentioned, create a recurring rule
  • "Returned" or "refund" = negative expense (credit)
  • "Lent" vs "borrowed" — always clarify direction

Recurring Transactions

When a user mentions recurring expenses, create a rule:

{
  "id": "rec_001",
  "description": "Netflix subscription",
  "amount": 15.99,
  "category": "entertainment",
  "subcategory": "streaming",
  "frequency": "monthly",
  "dayOfMonth": 15,
  "active": true,
  "lastApplied": "2026-02-15"
}

On each budget check, auto-apply any recurring transactions that are due.


4. Budget Enforcement Engine

Real-Time Budget Checks

After EVERY expense logged, run this check:

1. Calculate total spent in category this month
2. Compare to budget limit
3. Calculate percentage used
4. Check days remaining in month
5. Calculate daily budget remaining
6. Trigger alerts if needed

Alert Levels

Level Trigger Response
🟢 On track < 75% budget, proportional to month progress Silent (log only)
🟡 Warning 75-90% budget used "Heads up — you've used 78% of your $600 food budget with 18 days left. That's $3.67/day remaining."
🔴 Critical > 90% budget used "⚠️ Food budget is at 92% ($552/$600) with 12 days left. Only $4/day remaining. Consider cooking at home this week."
🚨 Over budget > 100% "🚨 You're $47 over your $600 food budget. Total: $647. This eats into your savings target."
⚡ Unusual Single transaction > 2x average for category "That $89 coffee purchase seems unusual — your average is $5.20. Correct amount?"

Pace Tracking (Smart Budget Intelligence)

Don't just track totals — track spending PACE:

Days elapsed this month: 13
Days remaining: 15
Budget: $600
Spent so far: $380
Daily pace: $29.23/day (spending)
Sustainable pace: $21.43/day (budget / total days)
Remaining pace: $14.67/day (remaining budget / remaining days)

Verdict: Spending 37% faster than sustainable. Will exceed budget by ~$160 at current pace.

This is MORE useful than just "you spent X of Y" because it predicts the future.


5. Savings Goals

Goal Structure

{
  "id": "goal_001",
  "name": "Emergency Fund",
  "targetAmount": 10000,
  "currentAmount": 3500,
  "deadline": "2026-12-31",
  "priority": "high",
  "contributions": [
    { "date": "2026-02-01", "amount": 500, "note": "Monthly auto-save" }
  ],
  "autoContribute": {
    "enabled": true,
    "amount": 500,
    "frequency": "monthly",
    "dayOfMonth": 1
  }
}

Goal Intelligence

When checking goals, calculate:

  • On track? Compare current savings rate to required rate
  • Projected completion: At current rate, when will goal be hit?
  • Acceleration options: "If you save $100 more/month, you'll hit your goal 2 months early"
  • Surplus allocation: If under budget this month, suggest putting surplus toward goals

6. Reports & Intelligence

Weekly Summary (run every Sunday or on demand)

📊 Week of Feb 7-13, 2026

💸 Spent: $487.23
💰 Income: $2,500.00
📈 Net: +$2,012.77

Top categories:
  🏠 Housing: $375 (rent proration)
  🍔 Food: $112.23 (18.7% of budget used, on track)

⚡ Unusual: $0 flagged
🎯 Goals: Emergency Fund 35% → 40% (+$500)
💡 Insight: Food spending down 12% vs last week. Nice work.

Monthly Report (run on 1st of each month)

📊 January 2026 — Full Report

INCOME:         $5,000.00
EXPENSES:       $3,847.23
NET SAVINGS:    $1,152.77 (23.1% savings rate)

BUDGET PERFORMANCE:
  ✅ Housing:      $1,500 / $1,500 (100%) — on budget
  ✅ Food:         $534 / $600 (89%) — $66 under
  ✅ Transport:    $187 / $300 (62%) — $113 under
  ⚠️ Shopping:     $342 / $300 (114%) — $42 OVER
  ✅ Entertainment: $156 / $200 (78%) — $44 under

CATEGORY TRENDS (vs last month):
  📈 Food: +8% ($534 vs $495)
  📉 Transport: -23% ($187 vs $243) — nice!
  📈 Shopping: +37% ($342 vs $250) — watch this

SAVINGS GOALS:
  🎯 Emergency Fund: $4,000 / $10,000 (40%) — on track for Aug completion
  🎯 Vacation: $800 / $2,000 (40%) — on track

TOP MERCHANTS:
  1. Aldi — $178 (12 visits)
  2. Amazon — $156 (8 orders)
  3. Shell — $89 (6 fills)

💡 INSIGHTS:
  • Shopping was 14% over budget — 3 Amazon orders on Feb 8 totaled $120
  • You saved $113 on transport (worked from home more?)
  • At current savings rate ($1,153/mo), emergency fund complete by August
  • Consider moving $66 food surplus → vacation goal

Year-to-Date Dashboard (on demand)

📊 2026 YTD (Jan-Feb)

Total Income:    $10,000
Total Expenses:  $7,694
Total Saved:     $2,306 (23.1% rate)
Goal Progress:   Emergency Fund 40%, Vacation 40%

Best month: January (24.2% savings rate)
Worst category: Shopping (avg 107% of budget)
Most improved: Transport (-15% trend)

7. Smart Insights Engine

Beyond basic tracking, provide ACTIONABLE intelligence:

Spending Patterns

  • Day-of-week analysis: "You spend 40% more on weekends. Saturday average: $67 vs weekday $23"
  • Merchant loyalty: "You've been to Starbucks 18 times this month. A home coffee setup pays for itself in 3 weeks."
  • Category creep: "Shopping has increased 15% each of the last 3 months. Projected: $450 next month."

Optimization Suggestions

  • Subscription audit: "You have 6 streaming services ($78/mo). Used Netflix 20 times, Disney+ once. Consider canceling Disney+."
  • Budget rebalancing: "You've been under transport budget for 3 months. Consider reducing to $200 and moving $100 to savings."
  • Cash flow timing: "Your biggest expenses hit on the 1st-5th. Consider moving some to the 15th paycheck cycle."

Financial Health Score (0-100)

Calculate monthly:

Factor Weight Scoring
Savings rate 30% 20%+ = 100, 10-20% = 70, 5-10% = 40, <5% = 10
Budget adherence 25% All under = 100, 1 over = 80, 2-3 over = 50, 4+ = 20
Goal progress 20% On track = 100, slightly behind = 60, way behind = 20
Expense stability 15% Low variance = 100, moderate = 60, volatile = 20
Debt-free spending 10% No credit used = 100, some = 50, heavy = 10

Score interpretation:

  • 90-100: 💪 Excellent — wealth building mode
  • 70-89: 👍 Good — minor optimizations possible
  • 50-69: ⚠️ Fair — specific areas need attention
  • Below 50: 🚨 Needs work — create an action plan

8. Commands Reference

Command What it does
"I spent $X on Y" Log expense
"Got paid $X" Log income
"Budget check" Show all budgets vs actuals with pace
"Weekly summary" This week's report
"Monthly report" Full month analysis
"How much on food?" Category deep-dive
"Set food budget to $500" Update budget
"Add goal: Vacation $2000 by June" Create savings goal
"Save $200 toward vacation" Log goal contribution
"Financial health" Calculate health score
"Unusual spending?" Flag outliers
"Subscription audit" List recurring + usage
"Compare to last month" Month-over-month trends
"Export CSV" Export ledger for spreadsheets
"Undo last" Remove last transaction

9. Data Management

File Locations

  • budget-profile.json — Your financial profile and budgets
  • budget-ledger.json — All transactions
  • budget-goals.json — Savings goals and contributions
  • budget-recurring.json — Recurring transaction rules

CSV Export Format

When user asks to export:

Date,Type,Amount,Category,Subcategory,Description,Merchant,Tags
2026-02-13,expense,45.67,food,groceries,Weekly shop,Aldi,"weekly,essentials"

Backup

Periodically remind users to back up their ledger. Offer to commit to git if workspace is a repo.

Privacy

All data stays local. No external APIs. No cloud sync. Your money data never leaves your machine.


10. Edge Cases

  • Split transactions: "Dinner $80, split with friend" → Log $40 as your share
  • Foreign currency: "Spent €50 in Paris" → Convert at current rate, note original currency
  • Cash back / rewards: Track as income subcategory "cashback"
  • Transfers between accounts: Don't count as expense or income — log as "transfer" type
  • Shared expenses: Tag with "shared" and note who owes what
  • Tax deductible: Tag with "tax-deductible" for year-end filtering
  • Returns within same month: Net against the category. Cross-month: log as refund income.
  • Variable income: If income varies, use 3-month rolling average for budget calculations

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

personal-financebudgetingexpense-trackingsavings-goalsprivacy-firstlocal-storageai-assistantfinancial-planningmoney-management

同类 Skill