ghost/flashcards-vocab

FlashCards (F-Droid): built-in vocabulary quizzes (emoji, English, German, Spanish, Japanese, Chinese). Start a quiz, read each question, answer it and read the score. Offline, no account.

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

Token savings

90% fewer tokens
Tokenswithout1,538,138with159,456 (90% fewer)
Timewithout126 swith99.8 s (21% less time)
Tool callswithout35with12 (66% fewer)

Agent run: stopped early 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_decks · live agent session on a real phone

Control FlashCards on Android with an AI agent — study flashcards

Control FlashCards on Android with an AI agent. Quiz yourself on emoji, English, German or Spanish words: the agent starts the quiz, answers every question and tells you the score.

Target search phrase: AI agent plays a vocabulary quiz on Android

Demo shows: start_quiz (folder=English, deck=Animal Emoji, count=3)

Ghost in the Droid seed skill for FlashCards (com.quchen.flashcard), built-in vocabulary quizzes with multiple choice answers and a results screen. Questions, options and the score are real text, so an agent can read an emoji or a word, pick the answer and read its score. Offline, no account.

ActionWhat it doesParams
open_decksRestart the app and read the folder list.none
start_quizStart a multiple choice quiz from a folder and deck with a given number of questions.folder, deck, count
get_questionRead the question on screen (an emoji or a word) with its four options and the progress.none
answerAnswer the current question by option number (1-4, left to right and top to bottom) or by option text.option
answer_manyAnswer several questions in a row from a comma separated list of options.options
get_resultsRead the results screen: score, comment and the wrongly answered questions with the correct and chosen answer.none

Toolkit

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

RoleAction
Entryopen_decks, start_quiz
Primitivesanswer, answer_many
Read stateget_question, get_results

Install

The app: F-Droid, or https://f-droid.org/packages/com.quchen.flashcard/. 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/flashcards-vocab

Use

ghost skill run ghost/flashcards-vocab start_quiz --param folder=English --param deck='Animal Emoji' --param count=5 --device <serial>
run_skill(name="ghost/flashcards-vocab", action="start_quiz", params={"folder": "English", "count": "5"})

Try asking: "Start a 3 question emoji quiz in the FlashCards English folder, answer each question using the emoji, then tell me my score."

Tested on

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

Known failure modes and versions tested

Versions tested

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

Recorded failures

  • The count is capped by the deck size.
  • Folder and deck names must match the list (for example Animal Emoji).

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_decks

Play demo

Try asking

  • Open the FlashCards folders
  • open FlashCards
ghost skill run ghost/flashcards-vocab open_decks

start_quiz

Play demo

Try asking

  • Start a 3 question emoji quiz in FlashCards
  • quiz me on animal emojis
ghost skill run ghost/flashcards-vocab start_quiz

get_question

Play demo

Try asking

  • What is the current FlashCards question?
  • read the quiz question
ghost skill run ghost/flashcards-vocab get_question

answer

Play demo

Try asking

  • Answer option 2 in the FlashCards quiz
  • pick Lion in the quiz
ghost skill run ghost/flashcards-vocab answer

answer_many

Play demo

Try asking

  • Answer the next FlashCards questions with options 1 and 2
  • answer the quiz questions 1 3
ghost skill run ghost/flashcards-vocab answer_many

get_results

Play demo

Try asking

  • What was my FlashCards quiz score?
  • show my quiz results
ghost skill run ghost/flashcards-vocab get_results