ghost/outdoor-food-calculator

Outdoor Food Calculator (F-Droid): plan food for a hike or trip. Set the trip length and type, add foods by weight and read the calories, protein, carbs, fat and fibre per day against your targets. Offline, no account.

Runs 29× fewer tokens Score 37/100 Official hard skill python

Token savings

97% fewer tokens
Tokenswithout1,540,693with53,041 (97% fewer)
Timewithout110 swith88.6 s (19% less time)
Tool callswithout36with6 (83% 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: open_calculator · live agent session on a real phone

Control Outdoor Food Calculator on Android with an AI agent

Control Outdoor Food Calculator on Android with an AI agent. Your agent plans the food for a hike: set the days, add foods by weight and read calories and macros against the daily target.

Target search phrase: AI agent plans hiking food and calories on Android with an outdoor food calculator

Demo shows: set_trip (days=5, type=Multi-day hike)

Ghost in the Droid seed skill for Outdoor Food Calculator (org.birdbird.outdoorfoodcalc), an offline trip food planner. The trip length, trip type chips, food list and the five nutrient meters are all text nodes, so an agent can plan a menu and read the nutrition. Offline, no account.

ActionWhat it doesParams
open_calculatorRestart the app and read the trip settings and nutrient meters.none
set_tripSet the number of days and/or the trip type.days, type
add_foodAdd a food by weight and return the updated per-day totals.name, grams
get_totalsRead days, calories, protein, carbs, fat and fibre per day with targets.none

Toolkit

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

RoleAction
Entryopen_calculator
Primitivesset_trip, add_food
Read stateget_totals

Install

The app: F-Droid, or https://f-droid.org/packages/org.birdbird.outdoorfoodcalc/. 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/outdoor-food-calculator

Use

ghost skill run ghost/outdoor-food-calculator add_food --param name="Oat Flakes" --param grams=150 --device <serial>
run_skill(name="ghost/outdoor-food-calculator", action="get_totals")
# {"result": {"state": {"days": 5, "totals": {"calories": {"per_day": 263, "target": 3200}}}}}

Try asking: "Plan food for a 5 day hike: set it to Multi-day hike, add 150 g of oat flakes and 200 g of rice, then tell me the calories per day."

Tested on

Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Outdoor Food Calculator 2. License: MIT.

Known failure modes and versions tested

Versions tested

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

Recorded failures

  • Adding a food that is not in the list raises an error.
  • Days must be 1 to 60 and grams 1 to 5000.

Popups and first-run screens handled

  • None.

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

open_calculator

Play demo

Try asking

  • Open the Outdoor Food Calculator app
  • open the hiking food planner
ghost skill run ghost/outdoor-food-calculator open_calculator

set_trip

Play demo

Try asking

  • Set my trip to 5 days, Multi-day hike
  • plan food for a 4 day long distance trip
ghost skill run ghost/outdoor-food-calculator set_trip

add_food

Play demo

Try asking

  • Add 150 g of oat flakes to my trip food
  • add 200 grams of rice to my hiking food
ghost skill run ghost/outdoor-food-calculator add_food

get_totals

Play demo

Try asking

  • How many calories per day is my trip food?
  • show my trip nutrition
ghost skill run ghost/outdoor-food-calculator get_totals