-
-
Home: Bones waits by three doors, one for each lesson. No account, no sign-up, free in any browser.
-
Rib Xylophone: Bones plays a tune on his ribs and you play it back. Kiro built this third app in 59 minutes.
-
Bones runs first to show the safe lane, so a child sees how to play before trying.
-
Your run: dodge the monster, grab the treasure, follow the safe-lane arrow.
-
Photo Run: tap a hero, a monster and a treasure in your own porch photo. The browser cuts each out, and the photo stays on your device.
-
Bones shows first: his hand moves each bead of 47 + 38 while his speech bubble explains the move in plain words.
-
Your turn: Bones marks the exact rod that went wrong. "Your tens rod shows 4, I expected 8."
Inspiration
When I was three, my mother taught abacus to the kids near our home in India. I sat next to her and watched. A kid would come to her stuck on a sum, and she would guide them. She would say, move this bead, now that one, and finally, she would ask them to try. She did not do the sum for them. She showed one step, waited, and let them find the next one. By the end of an evening, the kids who walked in stuck walked out doing sums on their own.
In India, lessons after school are called tuition. For many families, tuition decides how a child keeps up at school. It also costs money, and it needs a patient adult who lives nearby and has time each evening. Plenty of kids have none of that. Their parents work late, there is no tutor in the area, or the fees are out of reach. Those kids sit with their homework alone, and when they get stuck, they stay stuck.
I found my teacher by sitting next to my mother. Ghost Tuition is my attempt to give a teacher like her to the kids who have nobody to sit next to. Halloween gave the teacher his face: a friendly skeleton called Bones, who stays up as late as a child needs.
What it does
Ghost Tuition is a set of practice apps for kids, and Bones teaches all of them. Whichever app a child opens, Bones teaches it the way my mother taught at her table, in three steps:
- Bones shows you. He does the task first, one small step at a time, and his speech bubble explains each step.
- You try. Then he hands the same task to you.
- The app checks. Code checks what you did. If something is wrong, Bones points to the exact place, so you fix that part and try again.
Phantom Abacus teaches sums on a soroban, the Japanese abacus. The child gives Bones any sum from 0 to 999, for example 47 + 38. His hand then moves the beads one move at a time, and his speech bubble explains each move in plain words. When he finishes, it is the child's turn to do the same sum on the same board, by touch or with the keyboard. Bones then checks each rod. If one is wrong, he marks that rod and says what it shows and what he expected, for example "Your tens rod shows 4, I expected 8." As a result, the child fixes that one rod and carries on, instead of starting the sum again.
Photo Run turns a Halloween photo into a game. At Halloween, families decorate their porches with pumpkins, ghosts and lights. Kids walk past and admire them from the street, but they cannot touch or play with any of it, so the only thing they take home is a photo on a phone. Photo Run gives that photo a second life. First, the child uploads it, or picks one of three built-in Halloween scenes. Next, they tap three things in the picture: a hero, a monster and a treasure. A model running inside the browser cuts each one out as a sticker, and the photo becomes the background of a track with three lanes. Bones runs first to show the safe lane. After that, it is the child's turn to steer the hero, dodge the monster and grab the treasure.
Rib Xylophone shows that Bones can teach something new with the same three steps. He plays a short tune on a xylophone made of ribs, and the child plays it back. A music lesson follows the same show, try and check loop as the sums.
Why it is useful
- For a child, Bones is patient. He repeats a step as many times as the child needs, and he does not get tired or annoyed. When something goes wrong, he points to the exact rod or lane that needs fixing, so the child learns what to change instead of hearing only "wrong". Because the child fixes one small thing and carries on, each attempt feels like progress, and they keep trying.
- For a child with nobody to sit with, Bones is there in the evening, after school, when there is no tutor nearby and the adults at home are busy or still at work. He charges no fees, so a family does not need money to give a child this help.
- For a parent, it is safe to hand over. There is no account to create, no camera, no microphone and no server. A photo used in Photo Run stays on the device, so nothing about the child leaves the home.
- For a parent or teacher who is unsure of the method, Bones's speech bubble explains each abacus move in plain words. The adult can sit beside the child, learn the soroban too, and then help with the next sum.
- For a family with one shared device, it is built for touch and keyboard, so a child can practise on whatever the family has.
- For learning through play, Photo Run turns a child's own Halloween photo into a game. The same show-and-try teaching reaches kids through a game they made, as well as through sums.
Bones says "wrong" only when the code is sure. When the code cannot tell, he says so and lets the child try again. A child who hears "wrong" for a correct answer stops trusting the teacher, so the app does not mark a child down for something it could not judge.
How we built it
We started with the teacher, before any app. The first spec described Bones, his demonstration player, the code that checks an answer, and the lesson loop that ties them together. We called this shared part the skeleton. Each app on top of it brings only what the learner plays with, its rules and its lessons.
Kiro built it with me, spec by spec.
- Specs: I planned the project in 15 specs in
.kiro/specs/. For each one, Kiro turned my requirements into a design and a task list, then built it one tested task at a time. The skeleton came first, then the abacus, then Photo Run. - Steering: 7 steering files hold the rules Kiro follows on each task. Bones is friendly. The thing you play with is the biggest thing on screen. A result is "uncertain" whenever the code cannot tell. The skeleton does not learn an app's words.
- Hooks: 4 hooks run when a file is saved. They run the tests for that file, run the boundary check, refresh the numbers in the README, and scaffold a new app when a new lesson file appears.
- Chat: small fixes, such as a wording change or a size cap, went through Kiro's chat without a spec.
- Property tests: each spec lists the properties that must hold, and Kiro tested them with fast-check. 2,758 tests pass today.
The skeleton paid off with the third app. With the scaffold script and the rules in place, Kiro built Rib Xylophone on the same skeleton in 59 minutes, in 655 lines of code.
What we changed along the way. The first plan used the webcam for hand tracking, a spoken voice for Bones and a server. We removed all three. The app became simpler, it works on any device with a browser, and a parent has nothing to worry about. The first abacus was a small grey form; one steering rule turned it into a full wooden board a child wants to touch. When abacus code crept into the shared skeleton, a new spec moved it back into the abacus app, and a build check now fails if the skeleton names an app or one app imports another.
The site is TypeScript and Vite, with MediaPipe running in the browser for the Photo Run cut-out, hosted as static files on AWS Amplify.
Challenges we ran into
- Keeping the teacher shared. The skeleton had to teach a maths lesson and an action game without knowing either one. The boundary check turned that rule into something the build enforces.
- Cutting a pumpkin out of a real photo. Thin and small objects are hard to cut out cleanly. When the cut-out is unsure, Photo Run falls back to a rounded sticker, so the game still starts.
- Being sure before saying "wrong". A child who hears "wrong" for a correct answer stops trusting the teacher. Each judgement Bones makes comes from code with three results: correct, mistake or uncertain.
Accomplishments that we're proud of
- A teacher a child can reach at any hour, for free. Ghost Tuition needs only a browser. A child can practise at night, after the adults have gone to sleep.
- Private by design. No account, no camera, no microphone, no server. Photos stay on the device, so families can trust it with their children.
- Help that points to the exact mistake. Bones names the rod and the value he expected, the way a good tutor does.
- One teacher, many lessons. The same skeleton teaches sums, a photo game and music. A third app took 59 minutes.
- Open for others to build on. The code is open source under MIT, so a school, a teacher or a parent can add the lesson their kids need.
- 2,758 passing tests stand behind what Bones tells a child.
What we learned
Writing the rules down made the biggest difference. Once a rule lived in a spec or a steering file, Kiro followed it on each task, and the boundary check proved it on each build. I also learned that a good lesson is a small loop: show, try, check. The same loop works for beads, lanes and xylophone ribs, and it is the loop my mother used at her table.
What's next for Ghost Tuition
- Reach the children who need it most. Test Ghost Tuition with a screen reader and on real phones and tablets, the devices many families share, so a child with low vision, or a child who only has a parent's phone, can still learn with Bones.
- Lessons from teachers and parents. The skeleton is ready for new apps. The next step is to invite teachers, tutors and parents to add the lessons their kids need, such as times tables, spelling or music, each one taught by Bones in the same patient way.
- More languages. Bones speaks English today. Lessons in Tamil, Hindi and other languages would bring him to the kids who need tuition most.
- Free for schools and community centres. Because it needs no server or account, a school or community centre can open Ghost Tuition on a shared computer and give each child a tutor for the evening.
One more seat at the table
My mother's table had room for a handful of kids each evening. Ghost Tuition adds one more seat, for the child doing homework alone at nine at night, with the adults at home asleep and no tutor nearby. Bones sits in that seat. He moves one bead, waits, and hands the sum back. The child finishes the sum on their own, the way the kids at my mother's table did.
Built With
- amazon-web-services
- amplify
- canvas
- context7
- css3
- fast-check
- github
- html5
- jsdom
- kiro
- mcp
- mediapipe
- node.js
- svg
- typescript
- vite
- vitest
- web-audio
- webassembly
