Generate an interactive local HTML spending report from native Alipay CSV exports and WeChat Pay XLSX exports. Use when an agent needs to turn 支付宝交易明细 or 微信支...
Turn native Alipay and WeChat Pay bill exports into a self-contained local HTML report. Prefer the bundled script so the workflow stays deterministic and does not depend on the current repo.
scripts/generate_spending_report.py to build the report.Support these native exports:
支付宝交易明细(...).csv微信支付账单流水文件(...).xlsxIf only the WeChat ZIP exists, stop and ask the user to unzip it locally first. The ZIP is commonly password-protected and this skill expects the extracted .xlsx file.
Use auto-discovery inside a directory:
python /Users/codefriday/.codex/skills/generate-alipay-wechat-report/scripts/generate_spending_report.py \
--input-dir /path/to/bills \
--output /path/to/bills/reports/spending_report.html
Use explicit files:
python /Users/codefriday/.codex/skills/generate-alipay-wechat-report/scripts/generate_spending_report.py \
--alipay /path/to/支付宝交易明细(...).csv \
--wechat /path/to/微信支付账单流水文件(...).xlsx \
--output /path/to/reports/spending_report.html
Open the report after generation:
python /Users/codefriday/.codex/skills/generate-alipay-wechat-report/scripts/generate_spending_report.py \
--input-dir /path/to/bills \
--open
Generate a self-contained HTML report with:
Explain the three report scopes when handing results back:
账户总流出: all effective outflow消费型支出: outflow excluding tax and pure transfers习惯池: outflow excluding non-routine major items so habit analysis stays cleanDo not treat rent, tax, renovation, travel, or one-off major purchases as ordinary daily bad habits.
ZIP package — ready to use