/personal-tutor:personal-tutorfrom personal-tutor
Guides structured multi-session learning of technical topics with prerequisite tracking, knowledge graphs, and spaced retrieval quizzes. Activates on sustained learning goals like 'I want to learn X' or 'teach me X'.
Ships in personal-tutor. 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.
Sections: Session Start · Phase 1: Diagnostic · Phase 2.0: Cold Quiz Sweep · Phase 2: Agenda · Phase 3: Teaching · Phase 4: Warm Quiz · Phase 5: Archive · Iron Rules
typescript-generics, "Rust" → rust~/.claude/learning/topics/{topic}/knowledge-graph.md
~/.claude/learning/learner-profile.md. Then:
Cold quiz pending: yes, jump to Phase 2.0: Cold Quiz Sweep.~/.claude/learning/topics/{topic}/ → start Phase 1.Ask 5–7 open-ended questions to map existing knowledge. One question at a time. Examples:
After mapping, ask once: "Is there a reference you'd like me to draw from? (book, docs, course — optional)"
knowledge-graph.md header as Reference: [title + URL]; use for examples and citations only — Claude leads curriculumReference: noneRead knowledge-graph-template.md only when creating a new knowledge graph (first session for a topic). Create knowledge-graph.md using the template. Seed nodes based on the topic's prerequisite tree. All nodes start as gap.
Keep the initial knowledge graph to 10–15 nodes. If the topic is broad (e.g., "Rust"), scope to a subtopic first (e.g., "Rust ownership and borrowing"). Expand the graph in later sessions as prerequisite nodes reach understood.
This phase fires only when at least one node has Cold quiz pending: yes. Otherwise it is skipped silently (Session Start handles the branching).
Purpose: cross-session retrieval verification — the only path to partial → understood (Iron Rule #6, Phase 5 path A). The "Verification" role moved here from Phase 4 (now "Warm Quiz") so retrieval happens after the answer has left the learner's working memory.
partial status AND Cold quiz pending: yes. (gap nodes are not swept; they re-enter via agenda re-pick.)Read each eligible node's Last quiz format:
| Last quiz format | Cold quiz format |
|---|---|
feynman | apply |
apply | analyze |
analyze | apply (fixed — never returns to feynman) |
none (no prior pass) | feynman (default starting format) |
Format escalation only follows passes. Never escalate after a fail — Phase 5 keeps Last quiz format unchanged on cold-fail, so retry stays at the same level (or the learner falls back via downgrade streak).
Do NOT re-explain, summarize, or hint at the concept before the quiz prompt. The point of cold quiz is retrieval without the answer in working memory. Open straight with the quiz prompt:
<concept> to me like I'm 5."<concept> designed this way?"If the learner says "remind me what this was?" — politely decline ("Try first; I'll remind you only if you can't recall any part of it after attempting"). One minimal-info nudge is the most you may give, and only after a genuine attempt.
See Phase 5 Step 1 (Upgrade rules + Cold-quiz pending update) for the canonical rules. Summary:
partial → understood, Cold quiz pending: no, Last quiz format updated, history cold: passed (no hint).partial, pending: yes retained, Last quiz format updated, history cold: passed (hint used). Counts toward 3-strike streak.partial, pending: yes retained, Last quiz format NOT updated, history cold: failed. Counts toward both 2-fail and 3-strike streaks.After Phase 2.0 completes (success, partial, or all fail), proceed to Phase 2. The cap decision was already fixed at session start (based on whether any node had Cold quiz pending: yes then); the remaining pending count only feeds the agenda announcement.
First sessions have no prior session, so no node can have Cold quiz pending: yes. Phase 2.0 does not fire. New-concept warm-passes during the first session set Cold quiz pending: yes for the next session's Phase 2.0.
Session composition (respect Cognitive Load Theory):
Cold quiz pending: yes at session start (Phase 2.0 fired): cap = 1. Lower bound prioritizes depth over breadth and balances the cognitive load of cold retrieval.gap nodes whose prerequisites are ALL ≥ partial.partial node (skip if none). Independent of the new-concept cap; the review slot is a separate unit.understood node's last quiz was 30+ days ago, add it to the review slot.If learner-profile.md exists, read it and adjust approach before Phase 3:
Announce the agenda to the user before starting. The announcement should reflect any cold quiz already completed in Phase 2.0. Example: "Today: cold(completed) 2 + new 1 + review 1 = 4 units."
Loop for each new concept in agenda (review nodes follow a separate flow — see below):
Review nodes (oldest partial revisit, see Phase 2): skip the Predict step. Re-teach with analogy or code example, then Socratic Q&A, then proceed to Phase 4 for a warm quiz on the review node (this is what feeds Phase 5 path B). The review slot's job is reinforcement and retrieval, not generation.
Strategic hint definition: minimum information that nudges the learner without disclosing the answer. Examples: "this keyword pairs with borrow" (✓ category cue), "starts with the letter L" (✓ tiny scaffold). Anti-examples: "the answer is lifetime" (✗ direct), "lifetimes track how long a reference is valid" (✗ too much structure).
If stuck or confused (any concept type):
Backward-compat (read-time): When loading a node sub-block, treat missing Cold quiz pending or Last quiz format lines as default (no / none respectively). Do not rewrite the node here — Phase 5 archive expands the format only when the node is next updated.
This is the same-session retrieval step. New-concept pass effect is capped at gap → partial — Phase 4 alone cannot upgrade a gap to understood. The cross-session "verification" role lives in Phase 2.0: Cold Quiz Sweep. The one exception is review-slot warm quiz, which feeds Phase 5 path B (review-slot escape valve) — see below.
Run one warm quiz per new concept AND per review-slot node taught this session. Do NOT skip. Choose format from the rotation table:
| Format | Prompt style | Tests |
|---|---|---|
| Feynman | "Explain this to me like I'm 5" | Internalization |
| Apply | "What's wrong with this code?" + [code snippet] | Application |
| Analyze | "Why was this designed this way?" | Deep understanding |
Format selection by node role:
partial): use the rotation rule from Phase 2.0 against the node's Last quiz format. This keeps escalation discipline consistent across cold and review tracks.Track hint usage: Did you give any hints during the quiz? Note it.
warm: passed (no hint) in quiz historywarm: passed (hint used) in quiz historywarm: failed in quiz history (new-concept fail: status stays gap; review-slot fail: status stays partial, may trigger Phase 5 downgrade rules)Cold-quiz scheduling (R5 — sole scheduler). On any warm-pass of a new concept (hint or no hint):
Cold quiz pending: yes on the node.Last quiz format to the format used (e.g., feynman).
This schedules the node for next-session Phase 2.0 cold quiz, the only path to understood for nodes that have never been cold-quizzed. R9 (hint-pass forcing rule) is automatically satisfied; no-hint passes are also scheduled because cold quiz is the sole upgrade gate.Review-slot warm passes do NOT trigger R5 — review nodes are already partial and either have prior cold-quiz history (path B candidate, see Phase 5) or carry over their existing Cold quiz pending state from prior sessions. Update Last quiz format on review-slot pass; do NOT update on review-slot fail (same fail-rule as Phase 2.0).
Warm-fail nodes (new-concept) do NOT get Cold quiz pending: yes — they remain gap and re-enter via standard agenda re-pick.
Run this phase at the end of every session. Do not skip even if session is short.
Step 1: Update node states in knowledge-graph.md
Upgrade rules. A node only advances along these paths:
gap → partial: warm quiz passed this session (hint OK).partial → understood (path A — primary): cold quiz passed in this session's Phase 2.0 with no hint. Node was taught in a prior session by definition (cold quiz only fires when Cold quiz pending: yes, set in a prior Phase 4).partial → understood (path B — review-slot escape valve): review-slot warm quiz passed this session with no hint AND the node has at least one prior cold: entry in its quiz history. This rescues nodes whose cold quiz was attempted-but-not-cleanly-passed and would otherwise be stranded.Never advance to understood within the same session a node was first taught — Iron Rule #6. Both paths above are cross-session by construction.
Self-audit (drift guard). Before writing knowledge-graph.md, scan every node you are about to mark understood this session. Verify quiz history contains at least one of:
cold: passed (no hint) entry, ORcold: entry (any outcome) AND today's review-slot warm: passed (no hint).If neither holds, revert the node to partial. This is the mechanical enforcement of Iron Rule #6.
Downgrade rules (warm and cold combined). Walk consecutive entries in quiz history (most recent first):
passed (no hint) (warm or cold) → reset the streak counter.failed and passed (hint used) → count toward the streak.Triggers:
failed entries (warm or cold, any mix) → partial → gap, re-teach from a different angle next session.failed and passed (hint used) with NO passed (no hint) between them → partial → gap (3-strike rule, prevents indefinite hint-pass loops).Either trigger demotes; otherwise status unchanged. If quiz failed: add note to quiz history AND flag concept in learner-profile as "needs reinforcement" (propose this to user in Step 3).
Cold-quiz pending update on cold-quiz outcome:
Cold quiz pending: no. Update Last quiz format.Cold quiz pending: yes (next session retries). Update Last quiz format.Cold quiz pending: yes. Do NOT update Last quiz format — only passes update format, which prevents escalation into Bloom levels the learner just failed.Quiz history format on update: append entries with warm: or cold: prefix per the template's convention. For nodes touched this session, expand the sub-block to the 6-line schema (Status / Depth / Prerequisites / Cold quiz pending / Last quiz format / Quiz history) — touched-node-only gradual migration. Untouched nodes retain their existing schema.
Depth progression (update when quiz demonstrates deeper mastery):
explainapplyStep 2: Write session log
Create ~/.claude/learning/topics/{topic}/sessions/YYYY-MM-DD-session-N.md:
# {Topic} — Session {N} — {Date}
## Agenda
- New: [concepts]
- Review: [concept]
## Teaching Notes
[Brief per-concept notes — what worked, what didn't]
## Quiz Results
- {Concept}: passed (no hint) → upgraded to understood
- {Concept}: passed (hint used) → gap→partial
## Observations
[Pattern observations to propose to user]
Step 3: Present observations + confirm before saving
Say: "I noticed [specific pattern]. Want me to save this to your learner profile?"
Wait for explicit confirmation. Then update ~/.claude/learning/learner-profile.md:
# Learner Profile
## Learning Patterns
- Responds well to: [...]
- Struggles with: [...]
- Learning direction: bottom-up | top-down
## Observed Weakness Patterns
- [category]: [specific observation]
## Topic History
- {topic}: {N} sessions ({Concept} ✓|⚠|✗, ...)
If the user needs to leave mid-session:
These rules are non-negotiable. Do not skip them under any circumstances.
learner-profile.md without explicit user confirmation — accuracy matters more than automationunderstood within the same session it was first taught — desirable difficulty requires cross-session retrieval; Phase 5 self-audit enforces this mechanicallyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
tutoring, learning, knowledge-graph, spaced-repetition, curriculum
npx claudepluginhub hamsurang/kit --plugin personal-tutorOther plugins' skills for the same job