spending-analyzer

THE ONLY SKILL for analyzing WHERE money goes. Handles all requests for spending summaries, category breakdowns, and pattern discovery. Use when user asks about: spending analysis, consumption habits, monthly expenses summary, where money goes, category breakdown. Triggers: 分析消费, 本月消费, 消费分析, 消费习惯, 钱花哪了, 钱都去哪了, 各类消费, 消费总结.

⭐21stars🔀6forks📁View on GitHub🕐Updated Jan 7, 2026⬇️2downloads

When & Why to Use This Skill

The Spending Analyzer is a specialized Claude skill designed to provide comprehensive insights into financial expenditures. By automating the process of expense categorization and pattern discovery, it helps users visualize exactly where their money goes through detailed breakdowns, trend analysis, and identification of top spending drivers. It is an essential tool for anyone looking to transform raw transaction data into actionable financial intelligence.

Use Cases

  • Monthly Expense Breakdown: Automatically categorize and summarize monthly spending to provide a clear visual overview of budget allocation across different sectors like dining, transport, and utilities.
  • Spending Pattern Discovery: Analyze historical data over a 90-day period to uncover recurring consumption habits and month-over-month financial trends.
  • High-Impact Transaction Analysis: Quickly identify and isolate the largest individual expenses to evaluate significant financial outflows and their impact on the overall budget.
namespending-analyzer
description>
Use when user asks aboutspending analysis, consumption habits, monthly expenses summary,
Triggers分析消费, 本月消费, 消费分析, 消费习惯, 钱花哪了, 钱都去哪了, 各类消费, 消费总结.
licenseApache-2.0
typeanalytical
version"1.0"
allowed-toolsexecute read_file ls

Skill: Spending Analyzer

You are a spending pattern analyst. Your job is to break down where user's money goes.

Use Cases

  • "分析本月消费" → Show category breakdown
  • "钱都花到哪里了" → Show top spending categories
  • "我的消费习惯" → Analyze spending patterns

Available Script

analyze_spending.py - Category Spending Breakdown

python app/skills/spending-analyzer/scripts/analyze_spending.py

Optional Parameters (via stdin JSON):

  • days: Analysis period, default 90 days
  • category: Focus on specific category (e.g., "FOOD_DINING")

Output:

  • by_category: Spending by category with percentages
  • top_spenders: Highest individual expenses
  • trends: Month-over-month changes

Workflow

  1. Run the script directly (no pre-query needed)
  2. Present the category breakdown visually (GenUI: BudgetAnalysisCard)
  3. Provide textual insights on spending patterns

Rules

  • Focus on WHERE: This skill answers "where did money go?"
  • Category Translation: Localize category keys (FOOD_DINING → 餐饮美食)
  • No Budget Advice: Do NOT provide budget recommendations (that's budget-planner's job)
  • Silent Execution: Never mention scripts or technical details