finance-tracker

v2026.09.24

Track personal expenses with natural language. Log spending, view reports, search transactions. Works with any AI model.

GitHub
Install command
npx skhub add sundial-org/finance-tracker
Markdown
SKILL.md

Finance Tracker

Track personal expenses with natural language. Simple, accurate, works with any model.

Installation

clawdhub install finance-tracker

Or manually add to your system PATH:

export PATH="$PATH:/path/to/finance-tracker/bin"

Quick Start

Add an expense:

finance add 50000 "lunch at cafe"

View this month's spending:

finance report month

Commands

CommandDescriptionExample
finance add <amount> "<desc>"Log an expensefinance add 50000 "lunch"
finance report [period]View spending reportfinance report week
finance recent [n]List recent transactionsfinance recent 10
finance search "<query>"Search transactionsfinance search "food"
finance categoriesList all categoriesfinance categories
finance export [format]Export data (csv/json)finance export csv
finance currency [code]Get/set currencyfinance currency USD

Periods

For reports, use these period options:

  • today — Today only
  • week — Last 7 days
  • month — Last 30 days (default)
  • year — Last 365 days
  • all — All time

Amount Formats

These all work:

  • 50000 — Plain number
  • 50k or 50K — With k suffix (= 50,000)
  • "50 000" — With spaces (will be parsed)

Auto-Categorization

Categories are detected automatically from your description:

CategoryDetected Keywords
🍔 Foodlunch, dinner, breakfast, cafe, restaurant, grocery
🚗 Transporttaxi, uber, bus, metro, fuel, gas
🛍️ Shoppingclothes, shoes, shirt, shopping
📱 Techphone, laptop, headphones, charger
🎮 Entertainmentmovie, game, netflix, spotify
📚 Educationbook, course, school, university
💊 Healthmedicine, pharmacy, doctor, gym
🏠 Homerent, utility, furniture, internet
💇 Personalhaircut, barber, salon
🎁 Giftsgift, present, birthday
✈️ Traveltravel, flight, hotel

No keyword match? Defaults to ❓ Other.

Output Format

All commands return consistent, parseable output:

Success:

✅ Logged: 🍔 50,000 UZS — lunch at cafe (food)

Report:

📊 This Month's Spending
━━━━━━━━━━━━━━━━━━━━━
💵 Total: 250,000 UZS

🍔 Food: 120,000 UZS (48.0%)
🚗 Transport: 80,000 UZS (32.0%)
📱 Tech: 50,000 UZS (20.0%)

📝 15 transactions
📈 Average: 16,666 UZS

Error:

❌ Invalid amount. Use a positive number.
💡 Usage: finance add 50000 "lunch"

Data Storage

All data is stored locally in ~/.finance-tracker/:

  • transactions.json — Machine-readable data
  • FINANCE_LOG.md — Human-readable log

Data is automatically synced to both files.

Examples for Agents

When your human says "I spent 50k on lunch", run:

finance add 50000 "lunch"

When they ask "how much did I spend this week?", run:

finance report week

When they ask "what did I spend on food?", run:

finance search "food"

Tips

  1. Always quote descriptions with spaces: "lunch at cafe"
  2. Use k for thousands to save typing: 50k instead of 50000
  3. Check finance recent to verify transactions were logged
  4. Categories are case-insensitive
  5. Data persists across sessions in ~/.finance-tracker/

Made with 🦞 by Salen

Discovery
Tags

No tags published for this skill.

Version
Latest version metadata

Version

v2026.09.24

Published

Sep 24, 2026

Category

Uncategorized

License

Not specified

Source path

skills/finance-tracker

Default branch

main

Latest commit

b80cde2

Tree SHA

fc3a971