ghost/morse-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.

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

Token savings

80% fewer tokens
Tokenswithout194,487with39,412 (80% fewer)
Timewithout41.5 swith56.3 s (36% more time)
Tool callswithout12with5 (58% 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: open_translator · live agent session on a real phone

Control Morse on Android with an AI agent — translate text to Morse code

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.

ActionWhat it doesParams
open_translatorRestart the app (denying its camera permission request) and read the translator.none
translateTranslate text to Morse (default) or Morse to text and return the output.text, direction
get_translationRead the current direction, input and output.none
clear_inputClear the input field.none

Toolkit

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

RoleAction
Entryopen_translator
Primitivestranslate, clear_input
Read stateget_translation

Install

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

Use

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."

Tested on

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

Known failure modes and versions tested

Versions tested

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

Recorded failures

  • Text must be plain ASCII; Morse input may only contain . - / and spaces.
  • Switching the direction clears the field, so translate sets the direction first.
  • The app asks for the camera permission at the first start (for the flash); open_translator denies it.

Popups and first-run screens handled

  • Camera permission dialog: denied automatically.

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

open_translator

Play demo

Try asking

  • Open the Morse code translator
  • open the Morse app
ghost skill run ghost/morse-translator open_translator

translate

Play demo

Try asking

  • Translate Hello World to Morse code
  • what is SOS in Morse code
  • decode ... --- ... from Morse
  • write my name in Morse
ghost skill run ghost/morse-translator translate

get_translation

Play demo

Try asking

  • What does the Morse translator show?
  • show the Morse output
ghost skill run ghost/morse-translator get_translation

clear_input

Play demo

Try asking

  • Clear the Morse translator
  • clear the Morse input
ghost skill run ghost/morse-translator clear_input