set_scheme
Play demoTry asking
- Use the MBA grading scheme in the GPA calculator
- switch to UG grading
- use MBA grades
ghost skill run ghost/gpa-calculator set_scheme GPA Calculator (F-Droid): pick UG or MBA grading, add courses with credit and grade, read the semester GPA. 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.
12.7× 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 | 110 s | 532,053 | 29 | finished |
| With skill: find_skill, run_skill | 63.1 s | 41,801 | 5 | finished |
Prompt: Add a 3 credit A in Maths and a 4 credit B in Physics in the GPA calculator on my phone, then calculate my GPA. 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 GPA Calculator on Android with an AI agent. Calculate your GPA on your phone: an agent adds courses with credits and grades and reads the semester GPA.
Target search phrase: AI agent calculates GPA on Android
Demo shows: set_scheme (scheme=UG)
Ghost in the Droid seed skill for GPA Calculator (
com.gpa.calculator.gpa_calculator), an offline GPA calculator. Courses, credits, grades and the result are all readable, so an agent can compute a semester GPA exactly as the app does. Offline, no account.
| Action | What it does | Params |
|---|---|---|
set_scheme | Choose the grading scheme: UG or MBA. | scheme |
add_course | Add a course: optional name, credit (1, 2, 3, 4 or 6) and grade (A to F); returns the form with the course rows. | credit, grade, name |
get_courses | Read the scheme, every course row and the total quality points. | none |
calculate | Press Calculate and return the semester GPA (needs at least one complete course). | none |
clear_courses | Remove all courses (needs confirm=yes). | confirm |
An agent can drive the whole app with these; compose them.
| Role | Action |
|---|---|
| Entry | set_scheme |
| Primitives | add_course, clear_courses |
| Read state | get_courses, calculate |
The app: F-Droid, or https://f-droid.org/packages/com.gpa.calculator.gpa_calculator/. 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/gpa-calculator
ghost skill run ghost/gpa-calculator add_course --param credit=3 --param grade=A --device <serial>
ghost skill run ghost/gpa-calculator calculate --device <serial>
run_skill(name="ghost/gpa-calculator", action="calculate")
# {"result": {"gpa": "4.00", "courses": 1, "scheme": "UG"}}
Try asking: "Add a 3 credit A in Maths and a 4 credit B in Physics, then calculate my GPA."
Real Samsung phone, Android 13 (720x1600, 300 dpi, en-GB), GPA Calculator 13. License: MIT.
| App version | Android | Device | Skill version | Dates |
|---|---|---|---|---|
| 13 | 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.gpa.calculator.gpa_calculator (GPA Calculator, MIT, version 13 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.
UG GPA Result, Current semester GPA is: and the number; the back key returns to the form.set_scheme(scheme)Taps the UG or MBA radio. Success: that radio is checked.
add_course(credit, grade, name)Fills the last empty row (name, Credit menu, Grade menu) and taps Add Course. Success: one more complete row.
get_courses()Reads the name fields and the Credit/Grade buttons of each row.
calculate()Taps Calculate, reads the result screen, closes it.
clear_courses(confirm)Taps Clear Courses. Success: no complete rows left.
The app computes the GPA; the skill only enters data and reads the result. A CGPA screen exists behind the result and is not driven.
Try a sample prompt or run an action by name. Replace any parameters in braces with your own values.
set_schemeTry asking
ghost skill run ghost/gpa-calculator set_scheme add_courseTry asking
ghost skill run ghost/gpa-calculator add_course get_coursesTry asking
ghost skill run ghost/gpa-calculator get_courses calculateTry asking
ghost skill run ghost/gpa-calculator calculate clear_coursesTry asking
ghost skill run ghost/gpa-calculator clear_courses 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.0 | pending | 19.3 KB | untagged |