/memory-loop:tutorfrom memory-loop
Run a spaced-repetition self-quiz over lessons already distilled into HABITS.md — one novel-scenario transfer question per due item, anti-sycophancy grading, and a 1-4 recall rating logged through the tutor scheduler. Use when the user asks to be quizzed or reviewed (English or Korean), or replies to a memory-loop tutor due-reminder line ("N개 복습 항목이 대기 중").
Ships in memory-loop. 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.
habit distills lessons into HABITS.md; nothing before this tested whether
the user actually internalized them. This closes that loop: spaced,
diagnostic self-quizzing, driven by the merged tutor-schedule.sh scheduler.
State lives in ~/.claude/groundwork/memory-loop/tutor/{items.json,reviews.jsonl},
owned by ${CLAUDE_PLUGIN_ROOT}/skills/tutor/scripts/tutor-schedule.sh. Every
state change goes through the script's subcommands — due [--count],
record <id> <rating>, add <id> <concept> <model_answer> <source_ref>,
list. Never edit items.json or reviews.jsonl directly, even to fix a typo.
Run list to see items already tracked (each carries a source_ref). Read
HABITS.md and diff its 🟢/🛑 entries against those source_refs. For every
entry with no covered item, propose a candidate — a one-line concept and a
model_answer (the rubric: what a correct answer must cover) — and show it
to the user before creating anything. They can veto or edit it. Only after
their go-ahead, call add <id> <concept> <model_answer> <source_ref> with a
short readable id (e.g. a slug of the concept) not already in list — item
curation stays human-anchored, never bulk-generated from raw memory.
Run due (already capped at tutorSessionCap, default 3 — don't ask for
more this session). If it prints nothing, tell the user nothing is due and
stop; don't invent a quiz just to have one.
For each due id, in order:
Ask a transfer question. From the item's concept, invent ONE novel
scenario the user hasn't seen — never restate or re-ask about the
original incident behind the lesson. Ask it, then wait for the answer
before doing anything else.
Grade against model_answer, held privately the whole time:
Follow up. Ask one "왜?" or "이게 바뀌면 어떻게 돼?" (why / what-if) question — even when the answer was fully correct — before moving on.
Rate together. Show this table and let the user confirm the rating — don't record a number they haven't seen:
| Rating | 의미 |
|---|---|
| 1 | 틀림 / 기억 안 남 |
| 2 | 어렵게 부분 회상 |
| 3 | 정상 회상 |
| 4 | 즉답 |
On confirmation, run record <id> <rating>.
The user may retry an item in the same session to keep learning from it —
that's fine for practice. But only the first confirmed rating for an id
gets recorded this session; never call record twice for the same id in
one sitting, no matter how many retries happened.
When the due queue is empty (naturally, or the user stops early), print one
line — reviewed count, correct count (rating ≥3), and the next due date from
list — then stop. No auto-continuing into another round, no nagging.
What SKILL.md sets; muted values are Claude Code's defaults
memory-loop@buildwithclaude is listed by davepoon/buildwithclaude — review the source before installing
npx claudepluginhub davepoon/buildwithclaude --plugin memory-loop6 skills in this plugin
/consolidatePeriodically merge the memory index, long-tier memory files, and the habit file — deduplicate, resolve contradictions to the current truth, absolutize dates, bring HABITS.md back under budget — and propose the result for your confirmation before any write. Use when MEMORY.md grows large (~120+ lines), when the habit file is over budget, or when memories accumulate duplicates, contradictions, or stale facts./habitDistill a lesson — a mistake, a user correction, or a praised behavior — into HABITS.md as a positive practice or a hard line, after it clears the damage/recurrence/generality gate. Use after the user corrects you, after an incident, or when a correction signal fires./identityOther plugins' skills for the same job