study-mistake-notebook
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "study-mistake-notebook" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-48cf49b135bbdd668f3c8c92bc5ec091dc058765f832254dc36db19c6188375b. Verify the upstream source and version against https://skillhub.cn/skills/user_dad39c04/mistakebook before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Study Mistake Notebook: analyzes uploaded study problem photos or screenshots, reconstructs and explains each option, answers learner questions, retains each multi-turn follow-up and AI response, locates related chapters and subsections, diagnoses errors, and maintains a searchable local archive containing structured metadata and original image bytes.
Introduction source: third_party · user_dad39c04 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Analyze uploaded photos or screenshots of study questions, reconstruct and explain every option, answer the learner's doubts, preserve every multi-turn follow-up question and AI answer, pinpoint the relevant chapter and section, diagnose mistakes, and keep a searchable local archive with structured metadata plus original image bytes. Use whenever a learner uploads a question image, asks follow-up questions about a previously explained problem, wants to save or search a mistake and its doubt-resolution process, or schedules mistake review.
- Testing
- Not tested
Browse files
Frontmatter
name: study-mistake-notebook
description: Analyze uploaded photos or screenshots of study questions, reconstruct and explain every option, answer the learner's doubts, preserve every multi-turn follow-up question and AI answer, pinpoint the relevant chapter and section, diagnose mistakes, and keep a searchable local archive with structured metadata plus original image bytes. Use whenever a learner uploads a question image, asks follow-up questions about a previously explained problem, wants to save or search a mistake and its doubt-resolution process, or schedules mistake review.Study Mistake Notebook
Turn photographed questions into reliable explanations and a durable local review archive.
Core workflow
- Inspect every uploaded image at sufficient resolution. Use available vision or OCR tools, but verify symbols, subscripts, negations, diagrams, units, and choice labels visually.
- Reconstruct the full question stem and every option. Preserve the source language. Mark genuinely unreadable text as
[无法辨认]; never guess silently. - Establish the learner's answer and doubt from their message, markings, or follow-up. If the answer cannot be determined, label it
未作答/未知rather than inventing one. - Solve independently before judging the learner's work. For ambiguous or defective questions, say so and explain the competing interpretations.
- Respond using exactly the four numbered top-level sections below.
- Save the processed question immediately after the first explanation, including the initial user message and AI answer as dialogue round 1. Include correct, wrong, unanswered, and uncertain attempts. Store the original image bytes, not merely a link. If the user explicitly declines saving, do not save.
- Treat later questions about the same problem as follow-up dialogue. After answering each turn, immediately append that turn to the same record. Do not wait for the user to say the conversation is finished, because the final number of rounds is unknowable.
- End the first answer with the saved record ID and local path. End each follow-up with the record ID and appended dialogue-round number. If persistence fails, state
未保存and the concrete reason; never imply persistence without a successful script result.
Required response format
Use these headings in this order:
## 1. 完整题干+全选项
## 2. 全选项解析
## 3. 我的疑问点解答
## 4. 精准知识点定位(到章节小节)
Section 1 must contain the complete stem, all source-provided context, and every option. If the question has no options, write 本题无选项.
Section 2 must analyze each option individually, including why it is correct or incorrect. State the correct answer and a concise solution path. Do not discuss only the selected option.
Section 3 must directly answer the user's stated doubts. Also include:
我的作答and正确答案;- attempt status:
wrong,unanswered,uncertain, orcorrect; - the proximate error and deeper cause, distinguishing knowledge gaps, misread conditions, reasoning errors, calculation errors, and careless execution;
- one concrete prevention rule or self-check.
If the user gave no explicit doubt, infer the most likely sticking point from the work shown and label it 推测的疑问点.
Section 4 must locate the knowledge as precisely as evidence allows:
学科 → 教材/课程体系(如可判断)→ 年级/阶段 → 章 → 节 → 核心知识点
Do not fabricate a textbook edition. If the exact curriculum is unknown, use a curriculum-neutral chapter and section and mark the uncertain field 待确认.
Persistence
Use scripts/mistake_book.py; do not hand-edit the archive. The default archive is:
~/Documents/AI错题本
Override it with MISTAKE_BOOK_HOME or the script's --root. The archive is independent of the skill installation so multiple local agents can share it.
Before first use, or when the root may not exist:
python3 <skill-dir>/scripts/mistake_book.py init
Build one UTF-8 JSON payload following references/data-schema.md. Save with every accessible original image:
python3 <skill-dir>/scripts/mistake_book.py save \
--json /absolute/path/payload.json \
--image /absolute/path/original-1.jpg \
--image /absolute/path/original-2.png
Use a temporary payload file outside the archive and remove it after a successful save when safe. Never alter or recompress the uploaded image. If an attachment is not exposed as a local path, use the current agent's supported attachment export/download mechanism first. If its bytes remain inaccessible, explain that the record cannot yet satisfy original-image preservation and ask for a downloadable upload.
The save command prints JSON. Treat saving as successful only when it exits with code 0 and returns "ok": true. Cite its record_id and record_dir to the user.
Preserve multi-turn questions
Include the initial user message and the complete initial AI explanation in the save payload's dialogue_history. Preserve both the user's exact wording and a concise searchable summary.
For every subsequent question about the same problem:
- Answer the user normally.
- Build a follow-up JSON payload following references/data-schema.md.
- Append it to the original
record_idbefore ending the turn:
python3 <skill-dir>/scripts/mistake_book.py append-dialogue <record-id> \
--json /absolute/path/follow-up.json
Associate a follow-up with the record ID created earlier in the same conversation. A clarification, challenge, alternative solution request, or “I still do not understand” message remains part of that record. A newly uploaded unrelated question creates a new record. If conversation context no longer identifies the record reliably, search first and ask the user only if ambiguity remains.
Store each dialogue round with:
- the user's original message verbatim;
- a concise user-question summary;
- the complete AI answer;
- resolved points and remaining questions;
- timestamp and round number.
Treat append-dialogue as successful only when it exits with code 0 and returns "ok": true. It updates metadata.json, dialogue.md, and the searchable index. Never collapse several rounds into one retrospective summary when each round is available.
Search and review
Search from the user's concepts, chapter, error pattern, or free text:
python3 <skill-dir>/scripts/mistake_book.py search "函数 单调性" --limit 10
python3 <skill-dir>/scripts/mistake_book.py search "" --subject 数学 --status wrong
Search includes the original follow-up messages, their summaries, AI answers, resolved points, and remaining questions.
Show one full record:
python3 <skill-dir>/scripts/mistake_book.py show <record-id>
List items due for review and update a completed review:
python3 <skill-dir>/scripts/mistake_book.py review --limit 20
python3 <skill-dir>/scripts/mistake_book.py mark-reviewed <record-id> --quality 4
Interpret review quality as: 0 complete blackout, 1 wrong with familiarity, 2 wrong but easy to recall after seeing the answer, 3 correct with difficulty, 4 correct after hesitation, 5 immediate confident recall.
For archive repair or migration, rebuild the SQLite search index from record metadata:
python3 <skill-dir>/scripts/mistake_book.py rebuild-index
Safety and accuracy
- Treat education records and images as private local data. Do not upload or sync them unless the user explicitly requests it.
- Do not overwrite the original question, explanation, or images. Saving creates a new record directory; follow-up dialogue is append-only, while review scheduling updates only review metadata.
- Preserve formulas in readable Markdown/LaTeX.
- Separate source facts from inferred information in both the response and metadata.
- For answer keys that may vary by curriculum, verify against provided course material when available and record uncertainty.
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决学习者错题整理、图像识别、多轮追问与本地复习调度的核心痛点
- 功能闭环完整,支持结构化存档与精准知识点定位,具备高频刚需属性
Highlights
- 触发场景覆盖全面(上传图像、追问、保存/搜索、复习),边界清晰,变体合理
Areas to improve
-
缺少 When to Use 显式章节 Reported severity: Minor
文档未设置显式 When to Use 章节,但 description 字段已充分覆盖使用场景
Recommendation: 建议在 skill_body 开头补充 When to Use 显式章节以提升可读性
Highlights
- Phase/步骤清晰,response format 规范,Persistence 与 Search 流程完整
- frontmatter 完整,单文件长度合规,示例充分
Highlights
- 工具来源明确(mistake_book.py),参数正确,异常处理覆盖主要场景
- 保存与追加操作有严格成功判定机制(exit code 0 + ok:true),append-only 设计保障数据安全
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.