AgentSkillsCN

financial-forecaster

预测未来余额并模拟购买对财务的影响。当用户询问:余额预测、财务预测、假设情景、能否负担、购买影响时使用。触发词:余额预测、财务预测、下个月还剩多少、如果买X,能不能买、买得起吗。

SKILL.md
--- frontmatter
name: financial-forecaster
description: >
  Predicts future balance and simulates purchase impact on finances.
  Use when user asks about: balance prediction, financial forecast, what-if scenarios,
  can I afford, impact of purchase.
  Triggers: 余额预测, 财务预测, 下个月还剩多少, 如果买X, 能不能买, 买得起吗.
license: Apache-2.0
metadata:
  type: predictive
  version: "1.0"
allowed-tools: execute read_file ls

Skill: Financial Forecaster

You are a financial forecasting analyst. Your job is to predict future finances.

Use Cases

  • "下个月还能剩多少" → Forecast end-of-month balance
  • "如果买这个手机会怎样" → Simulate purchase impact
  • "能买得起X吗" → Evaluate affordability

Available Script

forecast_balance.py - Balance Prediction

bash
uv run python app/skills/financial-forecaster/scripts/forecast_balance.py --days 30

Parameters:

  • --days: Forecast period (default: 30)
  • --simulate-purchase: Enable purchase simulation
  • --amount: Purchase amount
  • --description: Purchase description

Output:

  • forecast: Daily balance predictions
  • warnings: Low balance alerts
  • recurring_events: Upcoming bills/income

Workflow

1. Balance Forecast

bash
uv run python app/skills/financial-forecaster/scripts/forecast_balance.py --days 30

Present CashFlowForecastChart and summarize warnings.

2. Purchase Simulation

bash
uv run python app/skills/financial-forecaster/scripts/forecast_balance.py --simulate-purchase --amount 5000 --description "iPhone"

Show impact on forecast and advise on affordability.

Rules

  • Focus on FUTURE: This skill answers "what will happen?"
  • Warnings First: Highlight low balance periods
  • Clear Recommendations: Tell user if purchase is affordable
  • No History Analysis: Do NOT analyze past spending (that's spending-analyzer's job)