confusion-tracker — скилл для Claude Code: учёт вопросов
Скилл фиксирует вопросы по непонятным концепциям во время обучения и сохраняет объяснения для повторения перед экзаменом. Работает с учебным прогрессом и заметками.
npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a claude-codeЧто делает confusion-tracker
confusion-tracker отслеживает вопросы о смысле понятий, причинах явлений и выводе формул. Когда ученик просит объяснить тему или уточняет непонятный момент, скилл даёт краткий ответ по текущей главе учебных материалов. Затем он записывает вопрос, ключевые тезисы ответа, связанную главу и статус повторения. Ответы из материалов и дополнения ИИ помечаются отдельно, чтобы не смешивать их с объяснениями преподавателя.
Для хранения прогресса используется study_progress.md, а при наличии study_state.json источником состояния служит структурированное хранилище. Записи добавляются через scripts/update_progress.py; полный текст объяснения также сохраняется в notebook/chNN.md с помощью scripts/notebook.py. Если Python работает, но команда записи завершается ошибкой, скилл должен сообщить о сбое, а не редактировать автоматически создаваемую таблицу вручную.
При итоговом повторении скилл помогает проверить, может ли ученик самостоятельно объяснить каждый отмеченный вопрос, и меняет его статус. На рабочих пространствах без файловой поддержки объяснения остаются только в чате. Скилл рассчитан на учебные сценарии и не заменяет проверку ответов на тесты: этим занимается exam-quiz.
Какие задачи решает
- Собирать вопросы о непонятных понятиях во время обучения
- Сохранять объяснения рядом с данными учебного прогресса
- Формировать список тем для повторения перед экзаменом
- Отмечать вопросы как повторённые после самостоятельного объяснения
- Разделять сведения из учебных материалов и дополнения ИИ
Примеры запросов агенту
- Объясни, почему в этой главе используется такая формула, и сохрани вопрос для повторения.
- Разбери смысл этого понятия по учебным материалам и запиши основные тезисы ответа.
- Проведи итоговое повторение: попроси меня объяснить каждый сохранённый вопрос и обнови его статус.
Как установить confusion-tracker
1Через Skills CLI (Vercel)
npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a claude-code2Вручную: положить файлы
~/.claude/skills/confusion-tracker/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/confusion-tracker/
1Через Skills CLI (Vercel)
npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a codex2Вручную: положить файлы
.agents/skills/confusion-tracker/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a cursor2Вручную: положить файлы
.cursor/skills/confusion-tracker/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install ZeKaiNie/universal-examprep-skill confusion-tracker2Вручную: положить файлы
.github/skills/confusion-tracker/SKILL.md1Через Skills CLI (Vercel)
npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a gemini-cli2Командой платформы
gemini skills install https://github.com/ZeKaiNie/universal-examprep-skill --path full/skills/confusion-trackerВручную: положить файлы
.devin/skills/confusion-tracker/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о confusion-tracker
Как установить confusion-tracker в Claude Code?
Выполни npx skills add ZeKaiNie/universal-examprep-skill --skill confusion-tracker -a claude-code. Файл скилла находится по пути ~/.claude/skills/confusion-tracker/SKILL.md.
Что делает confusion-tracker?
Он распознаёт вопросы о понятиях во время обучения, сохраняет их вместе с краткими объяснениями и формирует список для повторения перед экзаменом. Во время итоговой проверки он обновляет статус каждого вопроса.
Как confusion-tracker сохраняет учебные вопросы?
При наличии study_state.json скилл использует scripts/update_progress.py для изменения состояния и scripts/notebook.py для сохранения полного объяснения. Ручное редактирование автоматически создаваемой таблицы не заменяет запись в структурированное хранилище.
Исходный текст
SKILL.md · MIT
---
name: confusion-tracker
description: 教学过程中自动捕获和记录学习者的概念疑难点("为什么/是什么/怎么推/什么意思"类型的问题),保存到进度文件的"概念疑难点记录"区,形成考前回顾清单。
license: MIT
---
# confusion-tracker — concept-confusion tracking
## Purpose
Capture the learner's concept-level confusions (why / what / how-derived questions — not quiz answers) during tutoring and record them into the 「概念疑难点记录」 section of `study_progress.md`, building a pre-exam review list. Used by `exam-tutor` (while teaching) and `exam-review` (during the final sweep).
## Activation
- During tutoring, when the learner asks a concept question matching: 「为什么…?」/「…是什么、什么意思?」/「这个公式怎么推、怎么来的?」/「…的重点是什么?」/「讲一下…」, or any clarification follow-up that is not a quiz answer.
- Skip for: pure quiz answering (right or wrong), and chit-chat that needs no concept explanation.
## Inputs
- The progress-file path (e.g. `study_progress.md`), read at session start.
- The current chapter/phase name being taught.
## Workflow
1. **Detect** — decide whether the follow-up is a concept question (not a quiz item or its answer).
2. **Answer** — give a concise, clear explanation grounded in the current wiki chapter. Label the source: 🟢 来自资料 for material-sourced content, 🟡 AI补充,可能与你老师讲的不完全一致 for AI-supplied background. Never present AI-added content as the teacher's.
3. **Record** — persist the confusion: `关联章节` / `疑难点` (one line) / `解答要点` (≤2 sentences) / `状态` (default 待回顾). If `study_state.json` is absent and Python works, first run `python "${CLAUDE_SKILL_DIR}/scripts/update_progress.py" --workspace <ws> init`. The normal and ONLY state-backed write path is then `python "${CLAUDE_SKILL_DIR}/scripts/update_progress.py" --workspace <ws> add-confusion --chapter <ch> --note <疑难点/解答要点>` — the md table is a generated view and a hand-appended row is lost on the next render. Only when Python truly cannot run may the no-Python fallback append directly to the 「## 💡 概念疑难点记录」 table in `study_progress.md`, auto-incrementing the `序号` column. A nonzero state command while Python runs is a fail-loud write failure, not permission to hand-edit.
- **Persist-first (notebook CLI)** — the state row stays exactly as above; ADDITIONALLY persist the full explanation itself (step 2's answer, provenance labels included) so it survives outside chat: `echo <explanation body> | python "${CLAUDE_SKILL_DIR}/scripts/notebook.py" --workspace <ws> add-entry --chapter <ch> --type confusion --id <slug> --title <confusion gist>` (body via STDIN; same `--id` replaces in place; `notebook/index.md` rebuilds; the script resolves from the skill package root). The receipt line then carries the pack-provided link line (zh 「完整解答:`notebook/chNN.md#<anchor>`|目录:`notebook/index.md`」, en `Full explanation: notebook/chNN.md#<anchor> | Index: notebook/index.md`). On a failed notebook write, TELL the student (the chat explanation already delivered stands as the copy); file-less clients keep chat-only output per `exam-cram`'s capability dispatch.
4. **Confirm** — tell the learner it was logged (e.g. 「已记录到疑难点」) in one short line, without breaking the teaching flow.
## Output Contract
- Persist one confusion record (`关联章节` / `疑难点` / `解答要点` / `状态`) through `update_progress.py add-confusion`; initialize state first when Python works. Only a true no-Python fallback appends one row to the 「## 💡 概念疑难点记录」 table in `study_progress.md` (`序号` auto-increments).
- **Persist-first default**: the full confusion explanation is ALSO written into `notebook/chNN.md` via the notebook CLI (`--type confusion`, Workflow step 3) — the state row records that the confusion exists, the notebook entry preserves the explanation itself; the receipt carries the pack-provided link line. File-less clients keep chat-only output.
- During the final sweep, read the confusion records and have the learner restate each: update `状态` **in place** — 待回顾 → 已回顾 when explained correctly; keep 待回顾 and re-explain otherwise. Never overwrite other skills' writes.
- Student-facing output defaults to English (Simplified Chinese if the student opened in Chinese); the persisted `study_state.json.language` code (`zh`/`en`/`bilingual`) switches it per exam-cram's dispatch rule with single-language purity.
## Language packs
Student-visible wording for this skill lives in per-language packs — load the one matching `study_state.json.language` BEFORE emitting any student-visible output:
- `中文` → [`../../locales/zh/skills/confusion-tracker.md`](../../locales/zh/skills/confusion-tracker.md)
- `English` → [`../../locales/en/skills/confusion-tracker.md`](../../locales/en/skills/confusion-tracker.md)
- `双语` → compose the zh and en packs block by block, zh first with a `> EN:` mirror (rules in [`../../docs/language-policy.md`](../../docs/language-policy.md))
Display aliases such as `中文`, `English`, and `双语` are normalized by `update_progress.py`; route persisted state on `zh`, `en`, or `bilingual`. Unset language → the merged first-ask decides it; default English unless the student opened in Chinese.
## Boundaries
- **Structured progress state**: when `study_state.json` exists it is the SINGLE SOURCE OF TRUTH — record via `python "${CLAUDE_SKILL_DIR}/scripts/update_progress.py" --workspace <ws> add-confusion`, update review status via `set-confusion-status --id <qid>|--index <N> --status 已回顾/待回顾`; never hand-patch the generated `study_progress.md`. If the state write fails, TELL the user; never continue as if it saved.
- Only record concept questions; never quiz or grade (that is `exam-quiz`).
- Concept answers carry the canonical provenance labels (🟢 来自资料 / 🟡 AI补充,可能与你老师讲的不完全一致 / ⚠️ AI生成答案,非老师/教材提供); never disguise AI-added content as teacher-provided.
- Share the progress state with `exam-review`: in state-backed workspaces both skills go through `update_progress.py` (append via add-confusion, status via set-confusion-status); only a true no-Python md-only workspace appends/updates `study_progress.md` in place. Never overwrite other skills' writes.
© ZeKaiNie · MIT · ZeKaiNie/universal-examprep-skill