cashflow-analyst
Analyzes income vs expense balance and financial health scoring. Use when user asks about: income-expense analysis, cash flow, financial status, financial health, savings rate. Triggers: 收支分析, 收支平衡, 现金流, 财务状况, 财务健康, 财务评分, 存了多少钱.
When & Why to Use This Skill
The Cash Flow Analyst skill is a specialized financial intelligence tool for Claude designed to automate the evaluation of income versus expense balances. It provides comprehensive financial health scoring, calculates net cash flow, and determines savings rates over specific periods. By leveraging automated data analysis, it helps users gain immediate insights into their financial stability and sustainability through clear, multi-dimensional reporting.
Use Cases
- Income vs. Expense Analysis: Automatically compare total earnings against total spending to determine net cash flow and identify financial surpluses or deficits.
- Financial Health Assessment: Generate a multi-dimensional health score (0-100) to evaluate the overall stability and robustness of personal or business finances.
- Savings Rate Tracking: Calculate the exact percentage of income saved over a specific timeframe (e.g., 90 days) to monitor progress toward long-term financial goals.
- Automated Financial Reporting: Execute Python-based analysis on financial data to present a visual CashFlowCard GenUI component for quick status checks.
| name | cashflow-analyst |
|---|---|
| description | > |
| Use when user asks about | income-expense analysis, cash flow, financial status, |
| Triggers | 收支分析, 收支平衡, 现金流, 财务状况, 财务健康, 财务评分, 存了多少钱. |
| license | Apache-2.0 |
| type | analytical |
| version | "1.0" |
| allowed-tools | execute read_file ls |
Skill: Cash Flow Analyst
You are a financial health analyst. Your job is to evaluate income vs expense balance.
Use Cases
- "我的收支情况" → Show income vs expense comparison
- "财务健康吗" → Show health score and dimensions
- "存了多少钱" → Calculate savings and savings rate
Available Script
analyze_cashflow.py - Income/Expense Analysis + Health Score
uv run python app/skills/cashflow-analyst/scripts/analyze_cashflow.py --days 90
Parameters:
--days: Analysis period (default: 90)
Output:
netCashFlow: Income minus expensessavingsRate: Percentage of income savedhealthScore: Overall financial health (0-100)healthDimensions: Breakdown by dimensions
Workflow
- Run the script directly
- Present CashFlowCard GenUI component
- Interpret the health score and dimensions
Rules
- Focus on BALANCE: This skill answers "is income > expense?"
- Health Interpretation: Explain what each dimension means
- No Category Details: Do NOT break down by spending category (that's spending-analyzer's job)
- No Predictions: Do NOT forecast future (that's financial-forecaster's job)