finance-reconciler
БесплатноБез исполняемых скриптовНе проверенPrivacy-first personal finance tracker with local SQLite storage
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
Finance Reconciler
A privacy-first personal finance skill that imports bank transactions, auto-categorizes them, tracks budgets, answers natural language spending queries, and generates reports. All data stays local in SQLite — nothing is sent to external servers.
First-Time Setup
On first use, run these two commands before anything else:
pip3 install pandas ofxparse tabulate python-dateutil
python3 scripts/db.py
If either command fails, stop and show the user the error. Do not proceed until setup succeeds.
First-Time User Onboarding
If the user has no transactions in the database yet (or says something general like "help me track my finances", "get started", or "what can you do"), walk them through this:
- Explain that this tool tracks spending from bank statement files — all data stays on their machine.
- Tell them to download a statement from their bank:
- Chase: chase.com → Statements & Documents → Download account activity → CSV
- Bank of America: bankofamerica.com → Statements & Documents → Download Transactions → CSV
- Wells Fargo: wellsfargo.com → Account Activity → Download → Comma Delimited
- Any bank: Look for "Export to Quicken" or "Download OFX/QFX" for OFX format, or any CSV download option
- Ask them to share the file path or drop the file into the conversation.
- Suggest they try these after importing:
- "How much did I spend on groceries last month?"
- "Set a $400 monthly budget for dining"
- "Show me my monthly report"
Handling File Input
When the user wants to import a bank statement:
- If they provide a file path (e.g.,
~/Downloads/chase_jan.csv): use that path directly with the import script. - If they attach/upload a file: the file will be available at a local temp path. Use that path with the import script.
- If they mention a bank but don't provide a file: tell them exactly how to download it. For example: "To get your Chase statement, log in to chase.com, go to Statements & Documents, select your account, choose a date range, and download as CSV. Then share the file path with me."
- If the file format is unclear: the import script auto-detects Chase, Bank of America, and Wells Fargo formats. For other banks, it falls back to generic CSV parsing that matches common column names (Date, Description, Amount). If that also fails, ask the user what columns their CSV has.
Supported file types: .csv (Chase, BofA, Wells Fargo, generic) and .ofx/.qfx (universal).
Operations
1. Import Transactions
For CSV files:
python3 scripts/import_csv.py <file_path> [--format chase|bofa|wells_fargo|generic] [--account <name>]
For OFX/QFX files:
python3 scripts/import_ofx.py <file_path> [--account <name>]
Choose the import script based on file extension (.ofx/.qfx → import_ofx.py, everything else → import_csv.py). The bank format is auto-detected if --format is omitted. Both scripts output JSON.
After a successful import, always run categorization automatically (step 2) without the user asking. Then present a summary like: "Imported 47 transactions from Jan 1–31. Here's the breakdown: Groceries $342, Dining $189, ..."
If the import returns duplicates > 0, mention it: "Skipped 12 duplicate transactions that were already imported."
2. Categorize Transactions
Run on uncategorized transactions:
python3 scripts/categorize.py run
Re-categorize everything (after adding rules):
python3 scripts/categorize.py run --recategorize
Add a custom rule:
python3 scripts/categorize.py add-rule <category> <pattern> [--type keyword|exact|regex|custom]
Categories: groceries, dining, transport, utilities, subscriptions, shopping, healthcare, entertainment, income, uncategorized.
If more than 20% of transactions land in "uncategorized", proactively tell the user: "I couldn't categorize X transactions. Here are some common ones: [list top uncategorized merchants]. Want me to add rules for any of these?" Then use add-rule for each one they confirm, and re-run with --recategorize.
3. Query Spending
python3 scripts/query.py "<natural language query>"
The query parser understands:
- Time: "this month", "last month", "January", "last 30 days", "this year", "2024-01-01 to 2024-03-31"
- Categories: "groceries", "dining", "transport", "utilities", "subscriptions", "shopping", "healthcare", "entertainment", "income"
- Merchants: "at Starbucks", "from Amazon"
- Aggregations: total/sum, count, average, largest/max, smallest/min, list/show
Translate the user's question into the closest query string. Present results conversationally — for totals state the amount, for lists format as a readable table with dates and amounts.
4. Manage Budgets
python3 scripts/budget.py set <category> <amount> [--period monthly|yearly]
python3 scripts/budget.py status [--category <name>] [--period mo
Установить finance-reconciler в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл finance-reconciler?
Privacy-first personal finance tracker with local SQLite storage
Как установить скилл finance-reconciler?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл finance-reconciler запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
gtm-enterprise-account-planning
Strategic account planning and execution for enterprise deals. Use when planning complex sales cycles, managing multiple stakeholders, applying MEDDICC…
от GitHubgtm-partnership-architecture
Build and scale partner ecosystems that drive revenue and platform adoption. Use when building partner programs from scratch, tiering partnerships, managing…
от GitHublanding-page-conversion-audit
Audit a landing page, sales page or checkout page for conversion leaks and return a fix list ordered by expected revenue impact. Use when asked to review…
от GitHubpower-platform-architect
Use this skill when the user needs to transform business requirements, use case descriptions, or meeting transcripts into a technical Power Platform solution…
от GitHub