Exam Cram Coach
Free, open-source Agent Skill

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.

$npx skills add ZeKaiNie/universal-examprep-skill
Works in Claude CodeCodexCursorWindsurfAntigravityGemini CLICopilot
QUIZ 2 · PROBLEM 3(b)4 pts
A solid sphere of radius R carries uniform charge density ρ. Find the electric field inside the sphere.
1∮ E·dA = Qenc/ε0formula sheet✓ +1
2E · 4πr²r < R✓ +1
3Qenc = ρ · ⁴⁄₃πr³✓ +1
4E = ρr / 3ε0✓ +1
4/4
exam in 3 days…
VariantSame sphere, but r > R. Only one step changes. Which one?
Why another study tool

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

Summary: Gauss's law relates the flux through a closed surface to the charge inside.
Flashcard: field inside a uniform sphere E = ρr / 3ε0
Memorize the result. ✓ reviewed
On the examSame sphere, find E outside (r > R).
1/4Plugs r > R into the memorized result.

Exam Cram Coach

1. Start from the formula sheet∮ E·dA = Qenc/ε0 ✓
2. Gaussian sphere of radius rE · 4πr² ✓
3. Charge inside itρ · ⁴⁄₃πr³ ✓
4. Solve, check the first lookρr / 3ε0 ✓
On the examSame sphere, find E outside (r > R).
4/4Same four steps; only step 3 changes (the charge inside is now the whole ball).
−16.5

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 →

How it works

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.

1 · Your folder

Drop in the course as it is

lec3_gauss.pdf
slides · figures cropped automatically
hw2.pdf
homework · split into problems
hw2_solutions.pdf
reference answers
↳ paired with hw2 by name
midterm_2023.pdfpast exam
kept back to test you
formula_sheet.pdfformula
starting points for every solution
setup
2 · Problem units

Lectures taught inside problems

Problem 1 solid sphere, E inside
Gauss's law: closed-surface flux = Qenc/ε0 (lec3 p.2)
Choosing a symmetric Gaussian surface (lec3 p.3)
Problem 2 infinite line charge
Coaxial cylinder; why the end caps add nothing (lec3 p.5)
★ also on midterm_2023: solved once, both sources listed
Lecture text no problem uses → read briefly at the end
Other past-exam problems stay out of the lessons, so the quiz tests you on problems you have not seen solved.
next
3 · One problem per reply

Taught the way it will be graded

  1. 1The problem, in its own wordswhat is given, what is asked
  2. 2Key phrases → variables“uniform” → ρ is a constant
  3. 3First lookwhat the answer should look like, before any formula
  4. 4Solution from the starting formula ✓ +1formula-sheet line first, one step per line
  5. 5Answer, checked against the first look
  6. 6Variant: one condition changedsolid → hollow, field → potential, in your teacher's style
  7. 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

The method

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.

1

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.

2

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.

3

First look

Two to four sentences on what the answer should look like before the derivation, and a one-line check after it.

4

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.

5

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.

6

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.

7

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.

read →
A real session

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.

Use the Exam Cram Coach skill. My materials are in D:\Courses\EM. The exam is in 3 days, teach me from chapter 1.

Problem q001hw1.md p.1

A solid sphere of radius R carries uniform charge density rho. Use a spherical Gaussian surface to find the electric field inside the sphere.

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

  1. Start from Gauss's law: ∮ E·dA = Qenc / ε0 (formula_sheet.md p.1). …
  2. Set it up: draw an imaginary sphere of radius r < R centered on the ball. This is your Gaussian surface.
  3. 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².
  4. 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).
  5. Set the two sides equal: E · 4πr² = ρ(4/3)πr³ / ε0.
  6. 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)

A solid sphere of radius R carries uniform charge density rho. Use a spherical Gaussian surface to find the electric field outside the sphere (r > R).

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).

A table cropped from a lecture page
A figure cropped from a lecture page (MIT 6.006, CC BY-NC-SA), shown where it is used.
A quiz problem cropped with its tree diagram
A quiz problem cropped with its diagram, shown before the question is asked.
Evidence

Measured on real courses and real models.

9s

to read a 1,000-page course and crop its figures

89/89

homework problems paired with their official solutions

14files

about 160 KB, offline, standard library only, no API key

4models

Claude Haiku and Opus, Gemini flash-lite and flash followed the skill end to end

CourseFilesSetupResult
EEC 160 Applied Probability27 PDFs, 1,000 pages, scanned homework9 s9/9 chapters · 89/89 problems paired with solutions · 235 lecture figures
MIT 6.006 (OCW)8 PDFs1.4 s6/6 chapters · 9/9 quiz problems with official solutions
Yale PSYC 1104 transcripts0.1 s4/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

Install

One command, then just talk.

Any agent

npx skills add ZeKaiNie/universal-examprep-skill
pip install pypdfium2

Pick 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-coach

Offline

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 →

Then tell your agent“Use the Exam Cram Coach skill. My materials are in D:\Courses\EM. The exam is on 2026-12-07, teach me from chapter 1.” After that: “next”, “give me a variant”, “quiz me”, “here is my answer”, “make a cheat sheet”.
Research

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.

FAQ

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.