expense-tracker

# Expense Tracker

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "expense-tracker" with this command: npx skills add huang-zi-zheng/notion-expense-tracker

Expense Tracker

Log daily expenses to Notion via natural language chat. Type something like "chicken rice 5" and it auto-parses the item, amount, category, and payment method — then writes it to your Notion database.

Supports bilingual input (English + Chinese), 10 spending categories, and multiple payment platforms.

Setup

  1. Create a Notion integration at https://www.notion.so/my-integrations
  2. Share your expense database with the integration
  3. Set environment variables:
    export NOTION_API_KEY="your_token_here"
    export EXPENSE_DATABASE_ID="your_database_id_here"
    

Required Notion Database Schema

PropertyTypeNotes
NametitleExpense description
AmountnumberNumeric value in SGD, no currency prefix
Bank NameselectOCBC, TRUST, DBS, Revolut, 支付宝, 微信, OCBC BUSINESS
CategoryselectFood, Transport, shopping, business, Groceries, Leisure, Bills, medical, investment, Education
Transaction DatedateISO 8601 (YYYY-MM-DD)

Usage Examples

InputItemAmountCategoryBank
chicken rice 5chicken rice5.00FoodOCBC
grab to school 12.50grab to school12.50TransportOCBC
咖啡 3.50 支付宝咖啡3.50Food支付宝
notion labs 33 revolutnotion labs33.00businessRevolut
dinner with jy 57 trustdinner with jy57.00FoodTRUST
driving class 90driving class90.00EducationOCBC

Commands

  • /today — List today's expenses with running total
  • /summary — Current month breakdown by category
  • /month [month] — View a specific month (e.g., /month march)
  • /budget [amount] — Set monthly budget; shows remaining on each log
  • /bank [name] — Filter expenses by payment method

Parsing Rules

  • Amount is usually the last number: "2 coffee 9" → item="2 coffee", amount=9
  • Strips "$" or "SGD" prefixes
  • Supports decimals: "3.50", "12.5"
  • Bank detection is case-insensitive: "ocbc" = "OCBC"
  • Chinese platforms: "支付宝" / "alipay" → 支付宝, "微信" / "wechat" → 微信
  • Default bank: OCBC (when none specified)
  • If user specifies category explicitly (e.g., "chicken rice 5 business"), uses that override
  • All amounts in SGD, rounded to 2 decimal places

Troubleshooting

If logging to Notion fails:

  1. Verify your NOTION_API_KEY environment variable is set and valid
  2. Confirm your EXPENSE_DATABASE_ID is correct and the database is shared with your integration
  3. Ensure database properties match the schema above (exact names, case-sensitive)
  4. Check that the integration has write permissions

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Ephemeral Media Hosting

自動削除機能付き一時メディアホスティングシステム

Registry SourceRecently Updated
General

Ethereum Read Only

Foundry castを使用したウォレット不要のオンチェーン状態読み取り

Registry SourceRecently Updated
General

OpenClaw Memory

Manage, optimize, and troubleshoot the OpenClaw memory system — MEMORY.md curation, daily logs (memory/YYYY-MM-DD.md), memory_search tuning, compaction survi...

Registry SourceRecently Updated
General

ImageRouter

Generate AI images with any model using ImageRouter API (requires API key).

Registry SourceRecently Updated
2.6K2dawe35