open_quiz
Play demoTry 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 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.
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.
2.9× fewer tokens, 1.3× 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 | 31.9 s | 241,335 | 9 | finished |
| With skill: find_skill, run_skill | 43.0 s | 84,277 | 5 | finished |
Prompt: Open the Technician ham radio quiz, read the first question, answer it and tell me whether you were right. 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 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.
| Action | What it does | Params |
|---|---|---|
open_quiz | Restart the app and open a question pool: technician (default), general or extra. | pool |
get_question | Read the current question: id, text, options A-D, progress. | none |
answer | Pick option A, B, C or D and submit; returns whether it was right and the right answer. | choice |
next_question | Go to the next question. | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | open_quiz |
| Primitives | answer, next_question |
| Read state | get_question |
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
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."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Ham Test 122. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 122 | 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.hazelhope.dubster.hamtest (Ham Test, GPL-3.0-or-later, version 122 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.
Technician Questions, General Questions, Extra Questions; bottom tabs Study, Practice, Settings.T0C03), New badge, question text, four option rows A. ... to D. ..., Submit; after submitting Correct/Wrong., The right answer was X and Next Question.open_quiz(pool)Force-stops the app, relaunches and taps the pool card on the Study screen.
get_question()Reads the question id (e.g. T0C03), the question text and the four options.
answer(choice)Taps the option row, then Submit. The app then shows Correct/Wrong and the right answer.
next_question()Taps Next Question (only available after answering).
Only the Study quizzes are driven; the Practice exam mode and Settings are not.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
open_quizTry asking
ghost skill run ghost/ham-test open_quiz get_questionTry asking
ghost skill run ghost/ham-test get_question answerTry asking
ghost skill run ghost/ham-test answer next_questionTry asking
ghost skill run ghost/ham-test next_question 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.2 | pending | 14.9 KB | untagged |