ghost/antimine

Antimine minesweeper (F-Droid): start a new game by difficulty, make the safe opening move, read statistics and settings. Offline, no account.

Proven 12.2× fewer tokens Score 39/100 Official hard skill python

Token savings

92% fewer tokens
Tokenswithout248,452with20,337 (92% fewer)
Timewithout24.1 swith13.7 s (43% less time)
Tool callswithout12with3 (75% fewer)

Task check: passed without the skill, passed with it.

One recorded run each way on start_new_game, claude-haiku-5-5, same phone and same prompt. Watch it in the Before / after tab.

Recorded: start_new_game · live agent session on a real phone

Control Antimine on Android with an AI agent — play Minesweeper

Demo shows: reveal_first_tile (defaults: difficulty=beginner)

Ghost in the Droid seed skill for Antimine (dev.lucanlm.antimine), a FOSS minesweeper from F-Droid. Offline, no account.

ActionWhat it doesParams
start_new_gameNew game at a difficultydifficulty: beginner, intermediate, expert, master
reveal_first_tileNew game plus the safe opening movedifficulty
get_statsRecorded statisticsnone
get_settingsEvery on/off setting and its statenone

Install

Install the app from F-Droid (dev.lucanlm.antimine), then:

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/antimine

Use

ghost skill run ghost/antimine start_new_game --param difficulty=expert --device emulator-5554
ghost skill run ghost/antimine reveal_first_tile --device emulator-5554

From any MCP agent:

run_skill(name="ghost/antimine", action="reveal_first_tile", params={"difficulty": "intermediate"})
# {"game": {"difficulty": "intermediate", "mines_left": 40, "timer": "00:02", "hints": 5, "started": true}}

Tested on

Android 14 emulator (google_apis x86_64, 1080x2400, 420 dpi), Antimine 17.6.3, en-US. Signed self-runs live in runs/.

Notes

The board is a canvas, so the skill does not play beyond the first move. License: MIT (the skill; the app is GPL-3.0).

Known failure modes and versions tested

Versions tested

App versionAndroidDeviceSkill versionSigned self-runs (pass/total)Dates
17.6.314Google/sdk_gphone64_x86_64 (emulator, 1080x2400, 420 dpi, en-US)1.0.08/82026-10-05

Physical-device launch attempts are also recorded on Samsung SM-A156B (Android 16, 1080×2340, en-US). Results remain action-specific; an attempt does not imply success. See the demos and current signed runs for evidence.

Untested so far: other OEM skins, other screen sizes and other locales.

Recorded failures

None in the signed self-runs.

Popups and first-run screens handled

  • First-game tutorial offer

Other known failure modes

  • Further moves need cell coordinates from a screenshot or OCR, because the board is not in the tree; this skill stops after the safe opening move.

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

start_new_game

Play demo

Try asking

  • Start a new beginner minesweeper game
  • new expert game in Antimine
  • play minesweeper, intermediate
  • start an easy minesweeper
ghost skill run ghost/antimine start_new_game

reveal_first_tile

Play demo

Try asking

  • Start a minesweeper game and make the first move
  • open the first square in a new expert game
  • begin a minesweeper round
  • make the opening click
ghost skill run ghost/antimine reveal_first_tile

get_stats

Play demo

Try asking

  • Show my minesweeper statistics
  • how many minesweeper games have I won
  • my Antimine stats
  • what is my best time
ghost skill run ghost/antimine get_stats

get_settings

Play demo

Try asking

  • Is no-guessing mode on in Antimine?
  • are sounds enabled in minesweeper
  • list Antimine settings
  • is the clock shown in Antimine
ghost skill run ghost/antimine get_settings