open_calculator
Play demoTry asking
- Open the Outdoor Food Calculator app
- open the hiking food planner
ghost skill run ghost/outdoor-food-calculator open_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.
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.
29× fewer tokens, 1.2× faster with the skill. Agent run: stopped early without the skill, finished with it (not independently checked).
| Run | Time | Tokens | Tool calls | Result |
|---|---|---|---|---|
| No skill: agent drives by hand | 110 s | 1,540,693 | 36 | stopped early |
| With skill: find_skill, run_skill | 88.6 s | 53,041 | 6 | finished |
Prompt: 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. Do not use the Play Store, no installs, no sign-in.
Same prompt, same phone, clean app state per side. Left: no skill, the agent drives the UI by hand. Right: find_skill + run_skill. 'ok' means the agent finished its turn; the result was not independently checked.
One recorded pair on samsung-a03s, claude-haiku-5-5; tokens count every input, cache and output token once per assistant message. Not a signed run: it adds no run evidence.
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.
| Action | What it does | Params |
|---|---|---|
open_calculator | Restart the app and read the trip settings and nutrient meters. | none |
set_trip | Set the number of days and/or the trip type. | days, type |
add_food | Add a food by weight and return the updated per-day totals. | name, grams |
get_totals | Read days, calories, protein, carbs, fat and fibre per day with targets. | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | open_calculator |
| Primitives | set_trip, add_food |
| Read state | get_totals |
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
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."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Outdoor Food Calculator 2. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 2 | 13 | Samsung real phone (720x1600, 300 dpi, en-GB) | 1.0.0 | 2026-11-02 |
SOFT.md is the narrative an agent reads when the exact steps no longer match your app version and it has to adapt the skill.
What each action means, which UI landmarks it relies on and how success is recognised, so an agent can adapt it to another app of this kind or another version.
Package: org.birdbird.outdoorfoodcalc (Outdoor Food Calculator, MIT, version 2 from the official F-Droid repository, sha256-verified)
Verified: 2026-11-02 on a real Samsung phone, Android 13, 720x1600 @ 300 dpi, en-GB. Offline, no account.
Skill class: HARD. No login, no checkpoints.
open_calculator()Force-stops and relaunches.
set_trip(days, type)Types the days and taps the trip type chip; daily targets change with the type.
add_food(name, grams)Opens Add Food, types the amount, scrolls the category list to the food and taps its add button.
get_totals()Reads the five meters.
Meters show the per-day average (total weight divided by the days) over a daily target that depends on the trip type. The foods you added are listed below the fold and are not read back one by one; Saved, Foods and Profiles tabs and saving a calculation are not driven. Start state is a fresh app with no foods.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
open_calculatorTry asking
ghost skill run ghost/outdoor-food-calculator open_calculator set_tripTry asking
ghost skill run ghost/outdoor-food-calculator set_trip add_foodTry asking
ghost skill run ghost/outdoor-food-calculator add_food get_totalsTry asking
ghost skill run ghost/outdoor-food-calculator get_totals Each release is an immutable git tag. The tree hash pins the exact skill directory the installer verifies.
| Version | Released | App versions | Tree | Size | Provenance |
|---|---|---|---|---|---|
1.0.0latest | never | * | pending | 16.6 KB | untagged |