Code Lab
Exam Cram Coach Explained: A Study Skill That Cites Your Class Materials
CODE LAB · PROJECT SPOTLIGHT
Exam Cram Coach Python · MIT
Turn lecture notes, homework, and formula sheets into source-linked study sessions.
Preview: GitHub · ZeKaiNie/universal-examprep-skill
Exam Cram Coach is a skill and local Python tool for turning class materials into a study session. Its useful feature is traceability. A search result includes a filename and a page, a worked example can point back to the formula sheet, and generated practice can be labeled separately from problems taken from the original class. The same distinction matters when a student supplies lecture notes but no exercises.

Give the tool sources it can tell apart
Put slides, homework, separately named solutions, past quizzes, and the formula sheet in a course folder. The project’s guide uses pairs such as hw2.pdf and hw2_solutions.pdf. In the author’s electrostatics demo, the worked solution starts from Gauss’s law, then offers a variant that changes an inside-the-sphere question to an outside-the-sphere question. The change matters because the enclosed charge comes from a different volume. That sort of variation checks understanding more directly than repeating the first answer. Creator’s full demo session.
Read how a lookup reports its source
cmd_ask loads the course index and retrieves matching passages. It prints the chapter, filename, page, and search score for each hit, followed by the source text. If there is no hit, the command reports that and returns code 4. Check the cited page before using a result to answer a question.
Source credit: Exam Cram Coach contributors. MIT license.
Try a lecture-only course
We put a short Markdown lesson named chapter1_motion.md in a fresh folder. It explained how to find velocity under uniform acceleration and included no exercises. From that course folder we ran the pinned packaged coach.py. In the commands below, coach.py refers to the copy installed with the skill.
python coach.py setup . --days 4 --lang en --name Motion
python coach.py next
python coach.py ask "uniform acceleration"
Setup reported one lecture, one chapter, and zero questions. The next command displayed the lecture and flagged that any exercises would have to be labeled AI-generated. The lookup printed [ch1 | chapter1_motion.md p.1 | score 0.7] above the source passage. That score ranks retrieval results. It gives no measure of the answer’s correctness. This run exercised the actual local CLI on Markdown. It did not evaluate PDF figure extraction, tutoring quality, or exam scores.
Connect the skill to a supported agent
The project documents npx skills add ZeKaiNie/universal-examprep-skill --skill universal-exam-cram-coach, with Python and the optional pypdfium2 package for PDF input. Run python coach.py doctor from the installed package to check prerequisites, then have the agent cite the source of its next unit. Check what the chosen agent can access before opening a folder with course materials. Project installation and commands.
For another approach to giving an agent structured local notes, see our Obsidian Skills walkthrough.
Discovery source from MINDUNG. Watch the original video on YouTube.
