← Back to list

spending-analyzer
by kylesean
支持私有化部署的 AI 个人财务助理,适配 NAS 环境,数据完全自主掌控。
⭐ 30🍴 6📅 Jan 22, 2026
SKILL.md
name: spending-analyzer description: > 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: 分析消费, 本月消费, 消费分析, 消费习惯, 钱花哪了, 钱都去哪了, 各类消费, 消费总结. license: Apache-2.0 metadata: type: analytical version: "1.0" allowed-tools: execute 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 dayscategory: Focus on specific category (e.g., "FOOD_DINING")
Output:
by_category: Spending by category with percentagestop_spenders: Highest individual expensestrends: Month-over-month changes
Workflow
- Run the script directly (no pre-query needed)
- Present the category breakdown visually (GenUI: BudgetAnalysisCard)
- 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
Score
Total Score
65/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
✓最近の活動
1ヶ月以内に更新
+10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
✓タグ
1つ以上のタグが設定されている
+5
Reviews
💬
Reviews coming soon


