new_game
Play demoTry asking
- Start a Futoshiki puzzle
- play futoshiki
- new number puzzle
ghost skill run ghost/futoshiki new_game Futoshiki (F-Droid): start a 4x4 puzzle, place digits, read the grid. The inequality arrows are drawn only, so an agent reads them from a screenshot. 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.
16.8× fewer tokens, 1.3× 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 | 52.8 s | 526,587 | 16 | finished |
| With skill: find_skill, run_skill | 39.3 s | 31,285 | 4 | finished |
Prompt: Start an easy Futoshiki puzzle on my phone, read the grid, then put a 3 in row 2 column 2. 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 Futoshiki on Android with an AI agent. Solve Futoshiki number puzzles on your phone: an agent starts a 4x4 puzzle, places digits and reads the grid.
Target search phrase: AI agent solves Futoshiki on Android
Demo shows: new_game (difficulty=easy)
Ghost in the Droid seed skill for Futoshiki (
com.hexcorp.futoshiki), an offline Futoshiki puzzle (a Latin square with inequality arrows). Every digit on the grid is readable; the arrows between cells are drawn only, and the given digits cannot be told from your own entries. Offline, no account.
| Action | What it does | Params |
|---|---|---|
new_game | Restart the app and start a 4x4 puzzle | difficulty |
place | Put a digit 1-4 into a cell; reports whether the cell shows it | row, col, digit |
reset_puzzle | Clear all your entries (needs confirm=yes) | confirm |
get_grid | Read the 4x4 grid (0 = empty), the timer and whether rows and columns are complete | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | new_game |
| Primitives | place, reset_puzzle |
| Read state | get_grid (digits only, NOT the inequality arrows) |
The app: F-Droid, or https://f-droid.org/packages/com.hexcorp.futoshiki/. 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/futoshiki
ghost skill run ghost/futoshiki new_game --param difficulty=easy --device <serial>
ghost skill run ghost/futoshiki place --param row=2 --param col=2 --param digit=3 --device <serial>
run_skill(name="ghost/futoshiki", action="place", params={"row": 2, "col": 2, "digit": 3})
# {"result": {"accepted": true, "cell_now": 3, "state": {"grid": [[3,1,0,2],[0,3,0,0],...]}}}
Try asking: "Start an easy Futoshiki puzzle, read the grid, then put a 3 in row 2 column 2."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Futoshiki 5. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 5 | 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: com.hexcorp.futoshiki (Futoshiki, GPL-3.0, version 5 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.
new_game(difficulty)Force-stops, relaunches, NEW GAME > 4 x 4 > difficulty > START, then waits for the grid. Success: at least 3 digits shown and RESET visible.
place(row, col, digit)Taps the cell, then the pad digit. accepted is false when the cell is a given (it keeps its digit).
reset_puzzle(confirm)Taps RESET.
get_grid()Maps digit text nodes to cells by position.
To solve the puzzle an agent needs the arrows: take a screenshot after new_game. The grid read cannot tell givens from your own digits; a place on a given cell reports accepted false. rows_cols_complete checks Latin-square completeness, not the arrows.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
new_gameTry asking
ghost skill run ghost/futoshiki new_game placeTry asking
ghost skill run ghost/futoshiki place reset_puzzleTry asking
ghost skill run ghost/futoshiki reset_puzzle get_gridTry asking
ghost skill run ghost/futoshiki get_grid 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 | >=1.4 | pending | 15.9 KB | untagged |