start_quiz
Play demoTry asking
- Start the Kotlin quiz
- quiz me on Kotlin
ghost skill run ghost/kotlin-quiz start_quiz Kotlin Quiz (F-Droid): a 10 question multiple choice quiz about the Kotlin language with a final score. Offline, only a display name, 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.
10.3× fewer tokens, 1.7× faster 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 | 122 s | 668,303 | 45 | finished |
| With skill: find_skill, run_skill | 73.4 s | 64,614 | 7 | finished |
Prompt: Start the Kotlin quiz, read each question and answer the first three questions with the options you think are right, then tell me the questions. 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 Kotlin Quiz on Android with an AI agent. Want to see how well an AI knows Kotlin? Your agent takes the quiz on your phone and reports the score.
Target search phrase: AI agent takes a Kotlin quiz on Android
Demo shows: start_quiz (name=Ghost)
Ghost in the Droid seed skill for Kotlin Quiz (
com.example.kotlinquiz), an offline 10 question Kotlin quiz. The question, the three options and the final score are text nodes, so an agent can take the quiz and report the result. Offline, no account.
| Action | What it does | Params |
|---|---|---|
start_quiz | Restart the app, enter a display name and start the quiz; return the first question with its three options. | name |
get_question | Read the current question and its three options. | none |
answer | Choose option 1, 2 or 3, submit it and move on to the next question (or the result after the last one). | option |
answer_many | Answer several questions in a row (up to 10 option numbers, comma separated), stopping at the result screen. | options |
get_result | Read the final result screen: name and score (10 points per right answer). | none |
finish_quiz | Close the result screen and return to the welcome form. | none |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | start_quiz |
| Primitives | answer, answer_many, finish_quiz |
| Read state | get_question, get_result |
The app: F-Droid, or https://f-droid.org/packages/com.example.kotlinquiz/. 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/kotlin-quiz
ghost skill run ghost/kotlin-quiz answer --param option=2 --device <serial>
run_skill(name="ghost/kotlin-quiz", action="answer", params={"option": 2})
# {"result": {"question": "...", "chosen": "...", "next": {"screen": "quiz", ...}}}
Try asking: "Start the Kotlin quiz, read each question and answer the first three questions with the options you think are right, then tell me the questions."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), Kotlin Quiz 3. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 3 | 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.example.kotlinquiz (Kotlin Quiz, MIT, version 3 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.
start_quiz(name)Types the name, presses Enter to hide the keyboard that covers START, then taps START.
get_question()Reads the question and option text.
answer(option)Taps the option, SUBMIT (the app colours the answers) and GET NEXT QUESTION.
answer_many(options)Repeats answer and returns what was chosen for each question.
get_result()Reads the name and the score line.
finish_quiz()Taps FINISH.
Whether an answer was right is only shown by colour, so the skill cannot report it per question; the score on the result screen (10 points per right answer) is the verdict. The question order is random each run. The name you give is only shown on the result screen.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
start_quizTry asking
ghost skill run ghost/kotlin-quiz start_quiz get_questionTry asking
ghost skill run ghost/kotlin-quiz get_question answerTry asking
ghost skill run ghost/kotlin-quiz answer answer_manyTry asking
ghost skill run ghost/kotlin-quiz answer_many get_resultTry asking
ghost skill run ghost/kotlin-quiz get_result finish_quizTry asking
ghost skill run ghost/kotlin-quiz finish_quiz 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 | * | pending | 18.7 KB | untagged |