open_filter
Play demoTry asking
- Open the baby name search form
- open the Baby Name app
ghost skill run ghost/baby-name open_filter Baby Name (F-Droid): search a database of about 46000 first names by gender and a regular expression, then flip through the matches with gender and origin. Offline, no account.
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.
13.7× fewer tokens, 1.4× faster with the skill. Agent run: finished without the skill, finished with it (not independently checked).
| Run | Time | Tokens | Tool calls | Result |
|---|---|---|---|---|
| No skill: agent drives by hand | 76.0 s | 412,880 | 21 | finished |
| With skill: find_skill, run_skill | 53.0 s | 30,048 | 4 | finished |
Prompt: Find female baby names that start with Ma and end with a, then list five of them with their origin. 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 Baby Name on Android with an AI agent. Looking for a baby name? Tell your agent the gender and the letters, and it lists matching names with their origin.
Target search phrase: AI agent finds baby names on Android
Demo shows: set_filter (gender=female, pattern=^Ma.+a$)
Ghost in the Droid seed skill for Baby Name (
fr.hnit.babyname), an offline first name finder with about 46000 names. The gender radios, the regular expression field, the match counter and the name view are all text nodes, so an agent can search and browse. Offline, no account.
| Action | What it does | Params |
|---|---|---|
open_filter | Restart the app and open the New Baby preferences form; return the live name count. | none |
set_filter | Search names by gender (male, female, neutral, all) and a regular expression such as ^Ma.+a$, save the search and return the match count and the first name. | gender, pattern |
get_name | Read the name on screen with its gender, origin and position (i of N). | none |
next_name | Go to the next matching name and return it. | none |
previous_name | Go back to the previous matching name and return it. | none |
list_names | Read the current name and the next ones (up to 20) with gender and origin. | count |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | open_filter |
| Primitives | set_filter, next_name, previous_name |
| Read state | get_name, list_names |
The app: F-Droid, or https://f-droid.org/packages/fr.hnit.babyname/. 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/baby-name
ghost skill run ghost/baby-name set_filter --param gender=female --param "pattern=^Ma.+a$" --device <serial>
run_skill(name="ghost/baby-name", action="set_filter", params={"gender": "female", "pattern": "^Ma.+a$"})
# {"result": {"count": 359, "first": "Manrica", "details": "[Female] [Italy]"}}
Try asking: "Find female baby names that start with Ma and end with a, then list five of them with their origin."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Baby Name 204. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 204 | 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: fr.hnit.babyname (Baby Name, GPL-3.0-or-later, version 204 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_filter()Force-stops, relaunches and opens the overflow menu entry New Baby.
set_filter(gender, pattern)Deletes earlier saved searches, picks the gender radio, types the pattern, waits for the counter to settle, saves and opens the first match.
get_name()Reads name, details line and the position counter.
next_name()Taps NEXT and waits for the position counter to change.
previous_name()Taps PREVIOUS (disabled at the first name).
list_names(count)Reads the current name then taps NEXT, collecting each name and its details.
Every set_filter first deletes the earlier saved searches (in-app only), so the new search is the only one. The names come in the app's own order, not alphabetical. Origin checkboxes are not driven; the pattern is a Java regular expression (^ and $ anchor, .+ any letters). Characters that cannot be typed through adb text input may fail.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
open_filterTry asking
ghost skill run ghost/baby-name open_filter set_filterTry asking
ghost skill run ghost/baby-name set_filter get_nameTry asking
ghost skill run ghost/baby-name get_name next_nameTry asking
ghost skill run ghost/baby-name next_name previous_nameTry asking
ghost skill run ghost/baby-name previous_name list_namesTry asking
ghost skill run ghost/baby-name list_names 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 | 21.7 KB | untagged |