Install
openclaw skills install @shing19/ledger-monthly-reportGenerate monthly ledger statistics in CNY with amount and ratio by tag/category, top expense breakdown, and labeled charts. Use when user asks to统计收支, 看占比, 画图表, or requests monthly summary visuals.
openclaw skills install @shing19/ledger-monthly-reportUse this skill for monthly financial summaries and charts.
amount_cny (RMB baseline).reports/*.png already ignored).IMPORTANT: Get current date on entry to determine the default month.
# Get current year-month in Asia/Taipei timezone
CURRENT_MONTH=$(TZ='Asia/Taipei' date +%Y-%m)
If user does not specify a month, use $CURRENT_MONTH as default.
Use project script (all paths relative to workspace root):
. projects/.venv-chart/bin/activate
python projects/scripts/monthly_report_cny.py \
--data-root projects/data \
--month "$CURRENT_MONTH" \
--out-dir projects/reports
Outputs (under projects/reports/):
projects/reports/<YYYY-MM>_summary_cny.jsonprojects/reports/<YYYY-MM>_expense_by_tag_cny.pngprojects/reports/<YYYY-MM>_expense_by_tag_pie_cny.pngprojects/reports/<YYYY-MM>_expense_by_major_cny.pngprojects/reports/<YYYY-MM>_income_expense_ratio_cny.pngThen send charts.
If user says charts can be removed after sending:
reports/*.png files for that month.