ghost/ham-test

Ham Test (F-Droid): study for the US amateur radio exams. Open the Technician, General or Extra question pool, read a question, answer it and see the right answer. Offline, no account.

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

Token savings

65% fewer tokens
Tokenswithout241,335with84,277 (65% fewer)
Timewithout31.9 swith43.0 s (35% more time)
Tool callswithout9with5 (44% 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_quiz · live agent session on a real phone

Control Ham Test on Android with an AI agent

Control Ham Test on Android with an AI agent. Study for your ham radio license: an agent opens a question pool, reads and answers questions and shows the right answer.

Target search phrase: AI agent studies for the ham radio exam on Android

Demo shows: open_quiz (pool=technician)

Ghost in the Droid seed skill for Ham Test (com.hazelhope.dubster.hamtest), an offline study app for the US amateur (ham) radio exams. The question, options and feedback are plain text, so an agent can quiz itself or you. Offline, no account.

ActionWhat it doesParams
open_quizRestart the app and open a question pool: technician (default), general or extra.pool
get_questionRead the current question: id, text, options A-D, progress.none
answerPick option A, B, C or D and submit; returns whether it was right and the right answer.choice
next_questionGo to the next question.none

Toolkit

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

RoleAction
Entryopen_quiz
Primitivesanswer, next_question
Read stateget_question

Install

The app: F-Droid, or https://f-droid.org/packages/com.hazelhope.dubster.hamtest/. 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/ham-test

Use

ghost skill run ghost/ham-test open_quiz --param pool=technician --device <serial>
ghost skill run ghost/ham-test answer --param choice=B --device <serial>
run_skill(name="ghost/ham-test", action="answer", params={"choice": "B"})
# {"result": {"choice": "B", "state": {"answered": true, "correct": true, "right_answer": "B"}}}

Try asking: "Open the Technician ham radio quiz, read the first question, answer it and tell me whether you were right."

Tested on

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

Known failure modes and versions tested

Versions tested

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

Recorded failures

  • answer fails if the question is already answered: call next_question first.
  • A question you got wrong comes back (the app repeats weak questions), so the next question can be the same id; open_quiz restarts the app, which resets nothing permanent but the current position.
  • The app records which questions you have seen, so progress text changes.

Popups and first-run screens handled

  • None.

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

open_quiz

Play demo

Try asking

  • Open the Technician ham radio quiz
  • start the ham radio general quiz
  • study for the Extra exam
ghost skill run ghost/ham-test open_quiz

get_question

Play demo

Try asking

  • What is the current ham radio question?
  • read me the ham radio question
ghost skill run ghost/ham-test get_question

answer

Play demo

Try asking

  • Answer B in the ham radio quiz
  • answer C
  • submit D
ghost skill run ghost/ham-test answer

next_question

Play demo

Try asking

  • Next ham radio question
  • skip to the next question
ghost skill run ghost/ham-test next_question