new_game
Play demoTry asking
- Start a new 2048 game
- play 2048
- new game of 2048
- restart the 2048 board
ghost skill run ghost/game-2048 new_game 2048 (Privacy Friendly, F-Droid): start a new game, swipe left/right/up/down (single or a sequence), restart and read the 4x4 grid, points and record. 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.
36× fewer tokens, 3.8× 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 | 79.8 s | 1,635,574 | 27 | stopped early |
| With skill: find_skill, run_skill | 21.1 s | 46,033 | 4 | finished |
Prompt: Start a new 2048 game and swipe left, up, left, down, left, up.
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 2048 (Privacy Friendly) on Android with an AI agent. Play 2048 on your phone: an agent swipes the tiles and reads the board and the score.
Target search phrase: AI agent plays 2048 on Android
Demo shows: new_game (directions=left,up,left,down,left,up)
Ghost in the Droid seed skill for 2048 (Privacy Friendly) (
org.secuso.privacyfriendly2048), the classic 2048 puzzle from the SECUSO privacy-friendly apps (no permissions, no ads). Offline, no account.
| Action | What it does | Params |
|---|---|---|
new_game | Start a new 4x4 game and return the board | none |
swipe | Swipe left/right/up/down once on the game in progress | direction |
play_moves | New game, then a sequence of swipes | directions |
restart | Restart the running game | none |
get_board | Read the grid, points, record, tile sum, max tile, game over | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | new_game |
| Primitives | swipe, play_moves, restart |
| Read state | get_board |
The app: F-Droid, or https://f-droid.org/packages/org.secuso.privacyfriendly2048/. 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/game-2048
ghost skill run ghost/game-2048 new_game --device <serial>
ghost skill run ghost/game-2048 swipe --param direction=left --device <serial>
run_skill(name="ghost/game-2048", action="get_board")
# {"board": {"grid": [[2,0,0,0],[8,2,0,0],[0,0,0,0],[0,0,0,0]], "points": 16, "record": 16, "max_tile": 8}}
Try asking: "Start a new 2048 game and swipe left, up, left, down, left, up."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), 2048 (Privacy Friendly) 1.4.2. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 1.4.2 | 13 | Samsung real phone (720x1600, 300 dpi, en-GB) | 1.0.0 | 2026-11-02 |
pm clear.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.secuso.privacyfriendly2048 (2048 (Privacy Friendly), GPL-3.0, version 1.4.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.
btn_skip). Start screen: button_newGame, button_continueGame, board-size selector (4x4).id/points, id/record, id/restartButton; the 4x4 board is 16 Buttons (about 148 px squares, y 448-1094) whose text is the tile number (empty cells have no text).Continue game resumes it.new_game()Skip the welcome if shown, leave a running game with BACK, tap START NEW GAME. Success: 0 points and two tiles.
swipe(direction)Continue game, swipe across the board, return before/after. A blocked move changes nothing.
play_moves(directions)Swipes in order, reading points and tile sum after each. Returns the log and the final board.
restart()Tap the restart button on the board screen. Success: 0 points.
get_board()Parses the 16 cell buttons by position and the points/record texts.
Other 2048 clones also expose tiles as text or content-desc; reuse the grid parser and re-measure the swipe region.
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/game-2048 new_game swipeTry asking
ghost skill run ghost/game-2048 swipe play_movesTry asking
ghost skill run ghost/game-2048 play_moves restartTry asking
ghost skill run ghost/game-2048 restart get_boardTry asking
ghost skill run ghost/game-2048 get_board 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.2 | pending | 18.0 KB | untagged |