These rules come from one student's feedback over a semester of real exams. In one quiz the student lost 17.5 points, and 16.5 of them came from one habit: on a problem with a changed condition, they plugged numbers into a remembered result instead of starting from the general formula. Read the teaching method →
Exam Cram CoachTeaches the way your exam is graded.
Give your coding agent the course folder: slides, homework, solutions, past exams and the formula sheet. It teaches you through those problems one at a time, starts every solution from the formula, drills a variant with one condition changed, and checks your work like the grader.
Your exam doesn't ask for a summary.
Most AI study tools turn lectures into notes and flashcards. The exam gives you a homework problem with one condition changed, and a point for every correct step.
A typical AI study guide
Exam Cram Coach
Your folder in, one problem per reply out.
A small offline Python tool reads the course in seconds. The skill tells your agent how to teach from what it found.
Drop in the course as it is
Lectures taught inside problems
Taught the way it will be graded
- 1The problem, in its own wordswhat is given, what is asked
- 2Key phrases → variables“uniform” → ρ is a constant
- 3First lookwhat the answer should look like, before any formula
- 4Solution from the starting formula ✓ +1formula-sheet line first, one step per line
- 5Answer, checked against the first look
- 6Variant: one condition changedsolid → hollow, field → potential, in your teacher's style
- 7Your answer, graded like the gradereach lost point gets a cause; recurring causes are tracked
Every fact cited, like lec3 p.2 · a 📍 progress line ends every reply · status shows problems and lecture pieces covered
Seven rules, each from a point lost on a real exam.
Each rule is written into the skill, so a small model follows it too.
Problem first
Learn through the course's own problems, one at a time. Each lecture idea is taught inside the first problem that needs it; the same problem in three handouts is solved once.
Start from the formula
Every solution, variants included, starts from the formula-sheet line or the lecture definition, cited. Never from a result derived earlier.
First look
Two to four sentences on what the answer should look like before the derivation, and a one-line check after it.
One-condition variants
After each problem, the same problem with one thing changed, written like your teacher writes. Past-exam problems are kept back to test you.
Exam-language bridge
The original wording stays. Phrases that decide a variable are mapped to their meaning, with a sentence you can write on the exam.
Grades like the grader
Short answers are graded by the script. Your written work is checked line by line against the steps that earn points.
Every fact cited
file p.N on each fact, 🟡 for what the AI added, ⚠️ for an answer your materials do not contain.
Where the rules come from
Each rule, the mistake behind it, and the learning research that supports it.
What one problem looks like.
Claude Opus 5.5 with --profile large on a small electrostatics course: one lecture, homework with solutions, a practice quiz, a formula sheet. Abridged, not reworded.
Problem q001hw1.md p.1
Key phrases
- “uniform charge density rho” → ρ is the same everywhere, so it's a constant you can pull out of integrals.
- “inside the sphere” → the point is at r < R. Only part of the charge is “inside” your surface.
- “spherical Gaussian surface” → the teacher is telling you which tool to use: Gauss's law, with an imaginary sphere as the surface.
First look🟡 At the very center, every bit of charge has a matching bit on the opposite side pulling the other way, so E = 0 at r = 0. As you move outward, your imaginary sphere encloses more charge, so E grows. …
Solution
- Start from Gauss's law: ∮ E·dA = Qenc / ε0 (formula_sheet.md p.1). …
- Set it up: draw an imaginary sphere of radius r < R centered on the ball. This is your Gaussian surface.
- Left side: by symmetry, E points radially outward and has the same size everywhere on this sphere (lec1_electrostatics.md p.1). … ∮ E·dA = E · 4πr².
- Right side, the enclosed charge: Q = ∫ρ dV (formula_sheet.md p.1). ρ is uniform, so Qenc = ρ · (4/3)πr³. Important: use the volume of your Gaussian sphere (radius r), not the whole ball (radius R).
- Set the two sides equal: E · 4πr² = ρ(4/3)πr³ / ε0.
- Divide both sides by 4πr²: E = ρr / (3ε0).
Answer: E = ρr / (3ε0), pointing radially outward, for r < R (hw1_solutions.md p.1). Check against the first look: at r = 0 we get E = 0 ✓, and E grows in a straight line with r ✓.
Your turnVariant ⚠️ AI-adapted (not an original problem)
Hint: follow the same 6 steps. One step changes. Which one?
📍 ch 1/1 Electrostatics · step 1/3 · quiz 0/0 · 0/1 chapters done · 0 open mistakes · 3 day(s) to exam → python coach.py answer q001v1 right|wrong
When the student gave up on the variant, it recorded the skip, redid the six steps from Gauss's law and marked step 4 as “the step that changes” (the enclosed charge now uses R, not r).


Measured on real courses and real models.
to read a 1,000-page course and crop its figures
homework problems paired with their official solutions
about 160 KB, offline, standard library only, no API key
Claude Haiku and Opus, Gemini flash-lite and flash followed the skill end to end
| Course | Files | Setup | Result |
|---|---|---|---|
| EEC 160 Applied Probability | 27 PDFs, 1,000 pages, scanned homework | 9 s | 9/9 chapters · 89/89 problems paired with solutions · 235 lecture figures |
| MIT 6.006 (OCW) | 8 PDFs | 1.4 s | 6/6 chapters · 9/9 quiz problems with official solutions |
| Yale PSYC 110 | 4 transcripts | 0.1 s | 4/4 chapters, retrieval hits the right lecture |
In scripted sessions, Claude Haiku 4.5 and Claude Opus 5.5 started solutions from the cited formula, wrote the first look, drilled variants and recorded the results without inventing commands; earlier versions were also tested with Gemini flash-lite and flash. Text from your files is fenced as data, so instructions planted in course files are not followed. Model tests · Security
One command, then just talk.
Any agent
npx skills add ZeKaiNie/universal-examprep-skill
pip install pypdfium2Pick your agents when asked; add -g to install for your user. pypdfium2 is for PDFs.
Claude Code plugin
/plugin marketplace add ZeKaiNie/universal-examprep-skill
/plugin install universal-exam-cram-coach@exam-cram-coachOffline
Download universal-exam-cram-coach-flash.zip and SHA256SUMS.txt from the latest release and unzip it into your agent's skills folder. Guide for each agent →
We are writing this up as a paper.
The design rules, the open implementation, and an evaluation on held-out exam variants with simulated students and a small human pilot. Course materials with exams, ideas and pilot volunteers are welcome.
Questions students ask.
Which agents does it work with?
Any coding agent with a shell: Claude Code, Codex, Cursor, Windsurf, Antigravity, Gemini CLI, GitHub Copilot and more.
Does it make up answers?
Every fact carries its file and page, problems and quizzes come from your files, variants are labelled ⚠️ AI-adapted, and when the materials don't cover a question the tutor says so.
Can it show the diagrams from my PDFs?
Yes: figures are cropped from lecture pages and printed questions and solutions during setup, and appear where they are used.
Does it upload my files?
No. It runs offline and writes only into a local exam-cram folder next to your materials.
Does it work with small models?
Yes. It was tested with Claude Haiku and Gemini flash-lite. With --profile small a small model gets shorter lecture text per problem and one quiz question at a time.
What if my course is in Chinese?
It reads Chinese and English materials and teaches in either language; the exam-language bridge maps the wording of an English exam to its meaning for students who think in Chinese.