ghost/expense-tracker

My Expenses (F-Droid): add an expense or income to the local Budget Book, list the transactions, read balance/income/expenses totals. Local only, no account.

Proven 31× fewer tokens Score 41/100 Official hard skill python

Token savings

97% fewer tokens
Tokenswithout919,520with30,145 (97% fewer)
Timewithout55.7 swith35.2 s (37% less time)
Tool callswithout25with4 (84% fewer)

Agent run: finished without the skill, finished with it (not independently checked).

One recorded run each way, claude-haiku-5-5, same phone and same prompt. Watch it in the Before / after tab.

Recorded: add_expense · live agent session on a real phone

Control My Expenses on Android with an AI agent — track expenses and budgets

Control My Expenses on Android with an AI agent. Track your spending on your phone by asking an agent: add expenses and income, list transactions and read totals.

Target search phrase: AI agent expense tracker Android

Demo shows: add_expense (amount=12.50, payee=Bakery, note=lunch)

Ghost in the Droid seed skill for My Expenses (org.totschnig.myexpenses), a full-featured open-source expense tracker from F-Droid (this skill uses its local default account, no sync). Offline, no account.

ActionWhat it doesParams
add_expenseAdd an expense to the local Budget Bookamount, payee, note
add_incomeAdd an incomeamount, payee, note
list_transactionsRead transactions (note, payee, amount, date) and totalsnone
get_totalsRead balance, income, expenses, transfersnone

Toolkit

An agent can drive the whole app with these; compose them.

RoleAction
Entryadd_expense, add_income
Primitives(category/date are left at the defaults)
Read statelist_transactions, get_totals

Install

The app: F-Droid, or https://f-droid.org/packages/org.totschnig.myexpenses/. The skill:

pip install "ghost-in-the-droid>=1.6.0"   # 1.6.0 is not on PyPI yet: until it ships, git clone the repo and `pip install -e .`
ghost skill install ghost/expense-tracker

Use

ghost skill run ghost/expense-tracker add_expense --param amount=12.50 --param payee=Bakery --device <serial>
ghost skill run ghost/expense-tracker get_totals --device <serial>
run_skill(name="ghost/expense-tracker", action="get_totals")
# {"totals": {"account": "Budget Book", "balance": 87.5, "income": 100.0, "expenses": 12.5, "transfers": 0.0}}

Try asking: "Add an expense of 12.50 at the bakery for lunch, then show my totals."

Tested on

Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), My Expenses 4.1.3.1. License: MIT.

Known failure modes and versions tested

Versions tested

App versionAndroidDeviceSkill versionDates
4.1.3.113Samsung real phone (720x1600, 300 dpi, en-GB)1.0.02026-11-02

Recorded failures

  • Category, date and tags are left at the defaults (today, no category): this is a quick-entry toolkit.
  • Amounts are in the account currency (euro in the test account); the helper strips the symbol.
  • The first-run onboarding slides are clicked through by the open_list subroutine.
  • The list shows only the rows that fit on screen.

Popups and first-run screens handled

  • First-run onboarding (3 slides) handled in open_list.

Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.

add_expense

Play demo

Try asking

  • Add an expense of 12.50 at the bakery for lunch
  • log 4.20 for coffee
  • I spent 30 euros on groceries at Lidl
  • record an expense of 8
ghost skill run ghost/expense-tracker add_expense

add_income

Play demo

Try asking

  • Add an income of 100 from a client for a design job
  • I got paid 500
  • record 20 euros income from a gift
ghost skill run ghost/expense-tracker add_income

list_transactions

Play demo

Try asking

  • List my expenses
  • what did I spend money on
  • show my recent transactions
ghost skill run ghost/expense-tracker list_transactions

get_totals

Play demo

Try asking

  • How much have I spent?
  • what is my balance
  • total expenses
ghost skill run ghost/expense-tracker get_totals