ghost/tally-counter

Counter tally app (F-Droid): create a named counter, count up by tapping, list every counter with its value. Offline, no account.

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

Token savings

98% fewer tokens
Tokenswithout1,538,130with30,445 (98% fewer)
Timewithout61.9 swith25.9 s (58% less time)
Tool callswithout22with4 (82% fewer)

Agent run: stopped early 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_counter · live agent session on a real phone

Control Counter on Android with an AI agent — count with tally counters

Control Counter on Android with an AI agent. Create named tally counters, count up, reset and list them from your phone by asking an agent.

Target search phrase: AI agent tally counter Android

Demo shows: add_counter (name=Groceries, value=0)

Ghost in the Droid seed skill for Counter (me.tsukanov.counter), a FOSS tally counter from F-Droid. Offline, no account.

ActionWhat it doesParams
add_counterCreate a named counter with a starting valuename, value
increment_counterSelect a counter and tap it N times, return before/aftername, times
select_counterMake a counter the active one, return its valuename
reset_counterReset a counter to zero, return before and aftername
get_countersList every counter with its valuenone

Toolkit

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

RoleAction
Entryadd_counter
Primitivesselect_counter, increment_counter, reset_counter
Read stateget_counters

Install

The app: F-Droid, or https://f-droid.org/packages/me.tsukanov.counter/. 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/tally-counter

Use

ghost skill run ghost/tally-counter add_counter --param name=Groceries --device <serial>
ghost skill run ghost/tally-counter increment_counter --param name=Groceries --param times=3 --device <serial>
run_skill(name="ghost/tally-counter", action="get_counters")
# {"counters": [{"name": "First counter", "value": 0}, {"name": "Groceries", "value": 3}]}

Try asking: "Create a counter called Groceries and count three items on it."

Tested on

Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Counter 35. License: MIT.

Known failure modes and versions tested

Versions tested

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

Recorded failures

  • A dialog left open by an aborted earlier run hides the counter screen: the open_counter subroutine presses BACK when it sees the dialog title.
  • The drawer can already be open from a previous run: open_list only taps the hamburger when the drawer is closed.
  • increment_counter, select_counter and reset_counter fail with "no counter named ..." when the title does not exist; run get_counters first.

Popups and first-run screens handled

  • None: the app has no first-run screens and asks for no permissions.

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

add_counter

Play demo

Try asking

  • Create a counter called Groceries
  • make a new tally counter named Steps
  • add a counter for pushups starting at 5
  • start counting Coffee cups
ghost skill run ghost/tally-counter add_counter

increment_counter

Play demo

Try asking

  • Add 3 to the Groceries counter
  • count 5 on First counter
  • increase the Steps tally by two
  • tap the counter once
ghost skill run ghost/tally-counter increment_counter

get_counters

Play demo

Try asking

  • Show all my tally counters
  • what counters do I have
  • list my tallies
  • how many are on each counter
ghost skill run ghost/tally-counter get_counters

select_counter

Play demo

Try asking

  • Switch to the Groceries counter
  • go to the Steps tally
  • open the First counter
ghost skill run ghost/tally-counter select_counter

reset_counter

Play demo

Try asking

  • Reset the Groceries counter to zero
  • zero the Steps counter
  • start the tally over
ghost skill run ghost/tally-counter reset_counter