Finance Tracker
Businessfinance-trackerFinance Tracker is an Agent Skill for business published in the fuyuxiang/echo-agent repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Track expenses, analyze spending patterns, categorize transactions. Works with bank CSV exports or manual input.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/fuyuxiang/echo-agent/blob/HEAD/skills/finance/finance-tracker/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/finance-tracker, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Finance Tracker
Personal finance tracking with SQLite backend. Supports Chinese bank CSV imports.
Storage
SQLite database at ~/.echo-agent/finance.db.
Script
# Add expense
python3 scripts/finance_manager.py add 35.5 餐饮 --note "午餐"
# Import bank CSV
python3 scripts/finance_manager.py import ~/Downloads/alipay_record.csv
# Monthly summary
python3 scripts/finance_manager.py summary --month 2026-06
# Trend (month-over-month)
python3 scripts/finance_manager.py trend --months 6
# Budget check
python3 scripts/finance_manager.py budget 餐饮 3000
Categories (默认)
餐饮, 交通, 购物, 住房, 娱乐, 医疗, 教育, 通讯, 投资, 其他
CSV Import
Auto-detects format from common Chinese sources:
- 支付宝 (Alipay) —
alipay_record_*.csv - 微信支付 (WeChat Pay) —
微信支付账单*.csv - 招商银行 — 信用卡账单 CSV
- 工商银行 — 明细导出 CSV
Database Schema
CREATE TABLE expenses (
id INTEGER PRIMARY KEY,
amount REAL NOT NULL,
category TEXT NOT NULL,
note TEXT,
date TEXT DEFAULT (date('now')),
source TEXT DEFAULT 'manual',
created_at TEXT DEFAULT CURRENT_TIMESTAMP
);
Reports
Monthly summary shows total spending by category with percentage breakdown. Trend analysis compares month-over-month changes per category.