A generic AI tutor skill using SM-2 spaced repetition. File-based state, markdown knowledge base, no dependencies beyond bash and jq.
- An AI agent loads
SKILL.mdto become a tutor - Knowledge lives in
knowledge/concepts/as markdown files - Learner state is tracked in
state/{topic}.json - SM-2 algorithm schedules reviews automatically
# Initialize a topic
bash scripts/init.sh git-basics
# Check what's due
bash scripts/due.sh git-basics
# View progress
bash scripts/stats.sh git-basics
# Then: load SKILL.md in an AI agent session and say "start a session on git-basics"- Create
knowledge/concepts/files usingtemplates/concept-template.md - Create
knowledge/manifest.jsonusingtemplates/manifest-template.json - Run
bash scripts/init.sh {topic}
SKILL.md # Agent loads this to become a tutor
config.json # Learner config
knowledge/ # Markdown knowledge base
manifest.json # Concept index + prerequisite DAG
concepts/ # One file per concept
state/ # Learner progress (git-ignored)
scripts/ # CLI helpers
templates/ # Starting points for new topics
| Grade | Meaning |
|---|---|
| 5 | Perfect recall |
| 4 | Correct with minor hesitation |
| 3 | Correct but effortful |
| 2 | Wrong but close |
| 1 | Minimal relevant knowledge |
| 0 | Complete blank |