open_translator
Play demoTry asking
- Open the Morse code translator
- open the Morse app
ghost skill run ghost/morse-translator open_translator Morse (F-Droid): translate text to Morse code and Morse back to text in real time. Offline, no account. The camera permission dialog of the app is denied.
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.
4.9× fewer tokens, 1.4× slower 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 | 41.5 s | 194,487 | 12 | finished |
| With skill: find_skill, run_skill | 56.3 s | 39,412 | 5 | finished |
Prompt: Translate Hello World to Morse code and then decode ... --- ... back to text. 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 Morse on Android with an AI agent. Translate to and from Morse code: an agent types the text and reads the Morse (or the reverse).
Target search phrase: AI agent translates text to Morse code on Android
Demo shows: translate (text=Hello World, direction=text_to_morse)
Ghost in the Droid seed skill for Morse (
rocks.poopjournal.morse), an offline Morse code translator. The input and output are plain text, so an agent can encode and decode Morse exactly. Offline, no account.
| Action | What it does | Params |
|---|---|---|
open_translator | Restart the app (denying its camera permission request) and read the translator. | none |
translate | Translate text to Morse (default) or Morse to text and return the output. | text, direction |
get_translation | Read the current direction, input and output. | none |
clear_input | Clear the input field. | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | open_translator |
| Primitives | translate, clear_input |
| Read state | get_translation |
The app: F-Droid, or https://f-droid.org/packages/rocks.poopjournal.morse/. 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/morse-translator
ghost skill run ghost/morse-translator translate --param text="Hello World" --device <serial>
run_skill(name="ghost/morse-translator", action="translate", params={"text": "SOS"})
# {"result": {"state": {"output": "... --- ..."}}}
Try asking: "Translate Hello World to Morse code and then decode ... --- ... back to text."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Morse 13. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 13 | 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: rocks.poopjournal.morse (Morse, Apache-2.0, version 13 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.
buttonOne and buttonTwo show the direction (TEXT to MORSE or MORSE to TEXT) with a switch between them.input (EditText) and output (TextView); below the output: save, flash, screen, audio and copy icons.open_translator()Force-stops and relaunches; on a fresh install the camera/flash permission dialog is denied.
translate(text, direction)Switches the direction if needed, clears the input, types the text and reads the output.
get_translation()Reads the TEXT/MORSE labels, the input field and the output.
clear_input()Taps the field and deletes its text.
The flash, screen and audio playback icons, the phrasebook and the microphone input are not driven. Morse decoding output is lower case.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
open_translatorTry asking
ghost skill run ghost/morse-translator open_translator translateTry asking
ghost skill run ghost/morse-translator translate get_translationTry asking
ghost skill run ghost/morse-translator get_translation clear_inputTry asking
ghost skill run ghost/morse-translator clear_input 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 | >=2.2 | pending | 15.4 KB | untagged |