/mays:teach-mefrom mays
Guides a learner through a technical concept to mastery using an interactive HTML lesson, chat practice, confidence-rated quizzes, gap drilling, and spaced review scheduling.
Ships in mays. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill moves a technical concept into long-term memory with a closed loop: plan, teach on a lesson page, practice each knowledge point in chat, quiz, find gaps, drill, re-quiz, and schedule the next review. The first reply to a new topic teaches. It never opens with a question. Each knowledge point is taught in a round: the learner reads its section of the page, asks questions, then practices with feedback. A progress card in chat, or a ledger file in Claude Code, carries the schedule between sessions. Working memory holds only about 4 items at once, so most rules here limit what the learner must hold in mind.
The design follows The Math Academy Way (Skycak) plus retrieval-practice and cognitive-load research. For the reason behind any rule, read references/principles.md.
test out. In quizzes, reviews, and drills, ask for a best guess before accepting "I don't know". A guess gives better data, and guesses from unsure learners are often right.Sessions run 20 to 40 minutes, which is about 30 to 40 learner replies, counting their questions but not a bare go. You can't see a clock, so count replies. Suggest stopping early when careless errors pile up.
The learner can ask a question at any time, except during a quiz or a review.
learn TOPIC or "teach me TOPIC": run the full loop on a new topic.go: stop asking questions and start practice.again: explain the current knowledge point again in chat, with a different example.deepen: rerun the plan step with the learner's correction, show the new goal and map, and rebuild the page.test out: skip ahead. Run the test-out check on the knowledge points not taught yet.review: quiz the due knowledge points, then drill the gaps.quiz me: quiz a named topic, or the due knowledge points.status: show what's due and how strong each topic is. In card mode, show the newest progress card.stop: close now, which logs results and saves the ledger or posts the progress card.status.status into this session's quiz.status shows gaps or due knowledge points, run a review session.Run this step silently before you map a new topic. It makes the topic deeper without making it bigger: the map still holds 3 to 4 knowledge points per topic.
Answer these 4 questions for yourself, in 1 or 2 lines each. Don't ask the learner.
einsum notation, a minimal repro, and a profiler.Then rewrite the learner's request as 1 learning goal that asks for exactly that: "Learn TOPIC deep enough to CAPABILITY, from SOURCE, using TOOLS, checked by CHECK." The goal and the map go in the page message. The learner can change either one at any time. A change reruns this step and rebuilds the page.
The goal shapes the rest of the loop:
Break the topic into knowledge points. A knowledge point is one rule or skill that a single question can test.
builds on, list only the direct prerequisites that every question on the knowledge point exercises. The scheduler gives those prerequisites review credit.add. Show the map in the page message as a numbered list of short titles, 1 line each. The numbers match the page's section numbers.view and reshape, at least 3 days apart. After both are firm, contrast them in a review.Teach the whole topic before any question. A learner can't retrieve what they never learned, so a quiz on untaught material yields "no idea" answers that carry no data and cost motivation.
Build 1 HTML lesson page per topic, and send it as the first teaching reply. Before you build the first page of a session, read references/lesson-page.md and assets/sample-lesson.html. The page's overview section gives the mental model and 1 line per knowledge point. Its later sections teach the knowledge points, 1 section each.
Then send the page message, at most 120 words:
Goal: line with the goal from the plan step.go for a practice problem."Ask no graded questions in this step and log nothing. Answer the learner's questions until they type go. Then start practice on knowledge point 1.
Chat fallback. If the surface can't show HTML, or the learner asks for chat only, teach the same content in chat. In place of the page message, send an overview of at most 250 words plus 1 diagram:
Goal: line and the numbered map.In step 5, send each knowledge point's explain message in place of its section.
Run this only when the learner types test out or says they already know part of the topic. Never accept "I know this" as evidence; ask questions.
learned for a knowledge point answered solid. Log a miss rated sure as miss with the note confident: plus the wrong belief. Don't log other misses.Teach 1 knowledge point at a time, in map order, skipping any knowledge point the learner tested out of. Each knowledge point gets a round of 3 parts: read, questions, practice.
Read. Point the learner to the knowledge point's section in 1 line, such as "Read section 2, LEFT JOIN keeps every left row. Ask anything, or type go." For knowledge point 1, the page message already did this.
Explain in chat. Send an explain message only for again, the chat fallback, a question that shows a section didn't land, or a confident miss from test out. Send 1 message of at most 200 words, plus 1 worked example:
go for a practice problem."Questions. Answer the learner's questions, following "Learner questions". If a question shows the section didn't land, send an explain message with a different example. When the learner types go or has no questions, start practice.
Practice. This is the back-and-forth:
learned and move to the next knowledge point. Practice asks for no rating. An answer is hedged if it says "I think", "maybe", or "not sure".For a multi-step skill, practice each step alone before the whole problem. Pick practice problems that reuse earlier knowledge points. Start the quiz by about the 25th learner reply of the session, even if fewer knowledge points are learned.
Run a quiz after the session's new knowledge points are learned. A review session starts with one.
status, up to 4, gaps first.status shows none due, 1 or 2 knowledge points learned on earlier days, if the ledger or card has any.references/questions.md before you write the first quiz of a session.Classify each answer:
Then:
log. A confident miss is logged as miss with the note confident: plus the wrong belief.Drill in this order: confident misses, then misses, then shaky answers.
stop. Open gaps come first next session. A review tomorrow, after sleep, beats a 4th loop today.status on the ledger file, or apply today's results to the progress card.Next review line from status, such as "Next review: tomorrow, 4 knowledge points, about 6 questions." Include the lesson page link as the topic's reference.A review session runs when the learner types review, or when the learner names no topic and status shows open gaps or due knowledge points at the start.
Due now list in its order, then shuffle the questions. Use the Covers lines: a solid on one knowledge point also credits its due prerequisites, so 1 question can clear 2 or 3 due items.confident: note on the card, and target that belief again.Not learned yet knowledge point, or a new topic.Progress lives in 1 of 2 places. In Claude Code, use a ledger file. In claude.ai, post a progress card in chat, unless the learner attached learning-ledger.md. The steps in this file name the ledger commands. In card mode, skip init and add, keep each log result in the conversation, and read status as the newest progress card.
Use ~/claude/learning-ledger.md in place. Create ~/claude/ if it's missing, and run init if the file doesn't exist.
In claude.ai, use a ledger file only when the learner attached learning-ledger.md (claude.ai puts attachments in /mnt/user-data/uploads/) or keeps it in the project's files. Copy it to the outputs folder (/mnt/user-data/outputs/ in claude.ai) and run every command on that copy. At close, give the learner the updated file and remind them to attach it next time. If the learner says a ledger exists but didn't attach it, ask for it. Never rebuild a ledger from memory.
The ledger is a Markdown file. The script scripts/ledger.py in this skill's folder owns the format and the scheduling math. Call the script by the absolute path of the folder you loaded this file from. Change the ledger only through these commands:
python3 scripts/ledger.py init LEDGER
python3 scripts/ledger.py add LEDGER TOPIC_ID KP_ID "STATEMENT" --title "TOPIC_TITLE" --builds-on ID_1,ID_2
python3 scripts/ledger.py log LEDGER --date DATE "KP_ID RESULT optional note" "KP_ID RESULT"
python3 scripts/ledger.py status LEDGER --date DATE
Replace the following:
LEDGER: the path to the ledger file, or to its working copy in claude.ai.TOPIC_ID and KP_ID: lowercase IDs with hyphens, such as tensors and broadcasting.DATE: today's date from the conversation, in YYYY-MM-DD form. The sandbox clock can differ from the learner's date.RESULT: learned, solid, shaky, or miss.Add --all to status for a table of every knowledge point. Pass --title only when the topic is new, and --builds-on only when the knowledge point has prerequisites.
Log every graded quiz, re-quiz, review, and probe answer. Log learned when a knowledge point meets the teach criterion or a test-out answer is solid. Log a confident test-out miss as the test-out step says.
To explain the schedule to the learner:
learned: the first review is due the next day.solid: the interval grows by the knowledge point's ease, about 1, 3, 8, 20, then 50 days at the starting ease of 2.5.shaky: retry the next day. On a review day, the ease also drops.miss: relearn the knowledge point in the session, and the next review is due the next day.Card mode keeps no file. The transcript holds the history, and the card holds the schedule. Post each card in the format of the example in "Message examples".
status means: read the newest card in this chat, or a card the learner pasted. If none exists, start fresh. The due knowledge points are the ones whose next review is today or earlier, most overdue first. The open gaps are the ones whose last result is miss.stop, apply the session's results and post a new card. The newest card replaces every earlier one, so it lists every topic, not only today's.YYYY-MM-DD form, from the conversation's date. You can't read when earlier messages were sent, so the card is the only record of dates.Apply the results with these rules:
learned: the next review is in 1 day. On the day a knowledge point is learned, its interval stays 1 day, whatever that day's quiz shows.solid: the next interval is the last interval times 2.5, rounded to the nearest day with halves rounded up: 1, 3, 8, 20, then 50 days.shaky or miss: the interval resets to 1 day.Covers lines.confident: note on any knowledge point with a confident miss, because reviews target that belief.The page message:
Lesson page: LESSON_PAGE_LINK
Goal: Learn SQL joins deep enough to predict the rows and row count of any two-table join, from the PostgreSQL docs on joined tables, using sqlite3 on 4-row tables, checked by running each query.
1. A join pairs rows that match the ON condition.
2. INNER JOIN drops rows with no match.
3. LEFT JOIN keeps every left row and fills NULLs.
4. A one-to-many join multiplies rows.
Read the overview and section 1. Ask anything about it, or type `go` for a practice problem.
An explain message in chat (again, the fallback, or a re-teach):
Broadcasting lets PyTorch combine tensors of different shapes without copying data.
The rule: line the shapes up from the right and compare each column. Two sizes fit if they're equal or if one of them is 1. A missing axis counts as 1, and every size-1 axis stretches to match.
Why it works: a size-1 axis holds the same values at every index, so PyTorch reads that one slice again instead of copying it.
Worked example, x is [8, 4, 256] and p is [4, 256]:
Step 1, align right: x [8, 4, 256]
p [4, 256]
Step 2, compare: 256 = 256, 4 = 4, and p's missing axis counts as 1.
Step 3, stretch: p's missing axis stretches to 8.
Result: x + p has shape [8, 4, 256].
The common mistake is aligning from the left. That compares 8 with 4 and wrongly reports an error.
Questions about this? Or type `go` for a practice problem.
A practice question:
a has shape [2, 3, 5], and b has shape [3, 5].
What's the shape of a + b? Write the aligned shapes first.
A quiz question:
Question 3 of 6
q has shape [8, 4, 64], and k has shape [8, 4, 64].
What's the shape of q @ k.transpose(1, 2), and why?
Answer, then rate it: sure, unsure, or guess.
A gap report:
Quiz results: 6 questions
confident miss broadcasting: aligned from the left, so [2, 3] + [3] looked invalid
shaky matmul-shapes: right answer, rated unsure
solid tensor-shape, embedding-lookup, position-ids
Drill order: broadcasting, then matmul-shapes.
A progress card:
Progress card · 2026-10-15
sql-joins: SQL joins · page: LESSON_PAGE_LINK
knowledge point last result interval next review
join-pairs solid 3 days 2026-10-18
inner-drops shaky 1 day 2026-10-16 confident: INNER JOIN keeps unmatched left rows
left-keeps learned 1 day 2026-10-16
one-to-many not learned - -
Next review: 2026-10-16, 2 knowledge points, about 3 questions.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
spaced-repetition, active-learning, retrieval-practice, quiz, drill
npx claudepluginhub stevenmays/dotfiles --plugin mays14 skills in this plugin
/adversarial-reviewTwo-family adversarial review of a plan or a diff — one fresh Claude subagent and one external run (GPT through Codex, or Grok through Cursor) on identical briefs, launched concurrently, then triaged into verified blockers, concerns, and rejected findings. Use before approving a plan, before shipping a change, or whenever a workflow asks for an adversarial review./claims-verificationCheck the factual claims a plan makes about existing code against the repo — extract atomic claims, have a fresh subagent answer neutral questions without seeing the plan, then score each claim. Use after a plan is drafted and before adversarial review, or whenever a workflow asks to verify a plan's claims./claude-subagentsOther plugins' skills for the same job