ghost/regex-crossword

Regex Crossword (F-Droid): list categories, open a level, read the regex clues and the grid, type the cells and verify. Offline, no account.

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

Token savings

62% fewer tokens
Tokenswithout473,441with179,472 (62% fewer)
Timewithout66.0 swith50.4 s (24% less time)
Tool callswithout17with8 (53% 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: list_levels · live agent session on a real phone

Control Regex Crossword on Android with an AI agent

Control Regex Crossword on Android with an AI agent. Solve regex crosswords on your phone: an agent opens a level, reads the regex clues, fills the grid and verifies.

Target search phrase: AI agent solves regex crossword on Android

Demo shows: list_levels (category=Tutorial)

Ghost in the Droid seed skill for Regex Crossword (de.chagemann.regexcrossword), an offline crossword whose clues are regular expressions. Clues, cells and the Verify result are all readable, so an agent can reason about the regexes, type the letters and check the answer. Offline, no account.

ActionWhat it doesParams
list_levelsList the categories and how many levels are solvednone
open_levelOpen a level; returns the clues and the gridcategory, level
get_puzzleRead clues (regexes) and the grid typed so farnone
enterType the grid, rows separated by slashes (II/AB)rows
verifyPress Verify; reports solved plus the dialog textnone

Toolkit

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

RoleAction
Entryopen_level
Primitivesenter, verify
Read stateget_puzzle, list_levels

Install

The app: F-Droid, or https://f-droid.org/packages/de.chagemann.regexcrossword/. 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/regex-crossword

Use

ghost skill run ghost/regex-crossword open_level --param category=Tutorial --param level=Backreference --device <serial>
ghost skill run ghost/regex-crossword enter --param 'rows=I/I' --device <serial>
run_skill(name="ghost/regex-crossword", action="verify")
# {"result": {"solved": true, "title": "Level Completed!", ...}}

Try asking: "Open the Backreference level of the regex crossword tutorial, read the clues, solve it and verify."

Tested on

Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Regex Crossword 33. License: MIT.

Known failure modes and versions tested

Versions tested

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

Recorded failures

  • Letters are typed in upper case through adb text input (letters, digits and space only).
  • The Level Completed dialog stays open; the next action backs out of it.
  • Only Latin letters, digits and space can be typed.

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.

list_levels

Play demo

Try asking

  • Which regex crossword categories are there?
  • show the crossword categories
ghost skill run ghost/regex-crossword list_levels

open_level

Play demo

Try asking

  • Open the Backreference regex crossword level
  • play the first tutorial level
  • open a beginner regex crossword
ghost skill run ghost/regex-crossword open_level

get_puzzle

Play demo

Try asking

  • Show me the regex crossword clues
  • what are the clues
ghost skill run ghost/regex-crossword get_puzzle

enter

Play demo

Try asking

  • Type II in the crossword
  • fill the crossword with AB/CD
ghost skill run ghost/regex-crossword enter

verify

Play demo

Try asking

  • Verify my crossword answer
  • check the solution
ghost skill run ghost/regex-crossword verify