Install
openclaw skills install retaincraftEvidence-based AI-assisted learning protocol combining spaced repetition (SM-2), active recall, Feynman technique, interleaving, and deliberate practice. Features pre-assessment, burnout detection, progress tracking, and system memory integration. 基于循证学习科学的 AI 辅助互动学习协议,整合间隔重复、主动回忆、费曼学习法、 交错练习和精细加工提问 5 种科学方法。
openclaw skills install retaincraftEvidence-based AI-assisted interactive learning protocol 基于循证学习科学的 AI 辅助互动学习协议
Combines 5 scientifically validated methods + self-assessment + diagnostic test + customized learning path 结合 5 种科学验证方法 + 自我评价 + 摸底考试 + 定制化学习路径
📦 Source Code (源码): https://github.com/kaixiad/RetainCraft 📖 Detailed workflow (详细流程): references/full-workflow.md
⭐ If this skill helps you, please give a Star on GitHub! 如果这个 skill 对你有帮助,欢迎在 GitHub 上给个 Star!
Must read before each learning session (每次学习开始前必须读)
Must execute after module test (模块测试结束后必须执行):
python3 scripts/srs.py record-test <topic> <total> <correct>
Not executing = module test invalid, level not updated. 不执行此命令 = 模块测试无效,等级不更新。
Feynman Check - L5 required (费曼检验 - L5 必需):
Scoring Discipline (评分纪律 - 不可违反):
Level-up Restrictions (逐级升级限制):
| Method (方法) | Effect Size (效果量) | Source (来源) |
|---|---|---|
| Spaced Repetition (间隔重复) | d=0.85 | Donoghue & Hattie 2021 |
| Active Recall (主动回忆) | d=0.74 | Donoghue & Hattie 2021 |
| Interleaving (交错练习) | d=0.47 | Donoghue & Hattie 2021 |
| Elaborative Interrogation (精细加工提问) | d=0.56 | Donoghue & Hattie 2021 |
| Feynman Technique (费曼学习法) | d=0.54* | Donoghue & Hattie 2021 |
| AI Tutoring (AI 辅导) | 0.63-1.3 SD | Kestin et al. 2025 RCT |
Note (注): *d=0.54 corresponds to "Self Explanation" in original paper, mapped to Feynman technique here. *d=0.54 对应原文"自我解释",此处映射为费曼学习法。 Reference (参考): scripts/evidence.md (detailed citations)
| Level (等级) | Standard (标准) | Behavior (行为特征) |
|---|---|---|
| 🔴 L1 Entry (入门) | No test history or first <20% | Start from zero (从零开始) |
| 🟠 L2 Beginner (初学) | First >=20% | Has concepts but not systematic (有概念但不系统) |
| 🟡 L3 Intermediate (进阶) | 2 consecutive >=40% | Can apply independently (能独立应用) |
| 🟢 L4 Proficient (熟练) | 2 consecutive >=70% | Can solve complex problems (能解决复杂问题) |
| 🔵 L5 Mastery (精通) | 2 consecutive >=90% + Feynman check | Can teach others (能教会别人) |
| Item (项目) | Review (复习) | Module Test (模块测试) |
|---|---|---|
| Purpose (目的) | Strengthen memory (强化记忆) | Phase assessment (阶段性评估) |
| Impact (影响) | No level change (不影响等级) | Determines level (决定等级升降) |
| Command (命令) | srs.py rate | srs.py record-test |
python3 scripts/srs.py duepython3 scripts/srs.py dueTriggers (触发条件 - 任一):
Response (响应): Lower difficulty, suggest break, switch to easy mode 响应:降低难度、建议休息、切换轻松模式
Iron rule: AI must search before answering any knowledge question 铁律:AI 助手回答任何知识性问题前,必须先搜索验证
| Scenario (场景) | Must Search? (必须搜索?) |
|---|---|
| User asks "what is XX" (用户问"XX 是什么") | ✅ |
| Correct answer for test (出测试题的正确答案) | ✅ |
| Feynman check judgment (费曼检验时判断对错) | ✅ |
| Planning learning path (规划学习路径) | ✅ |
| Flow conversation (流程性对话) | ❌ |
Rule (规则): Factual statements must include source links 规则:事实性陈述必须附来源链接
□ Current phase core output completed? (当前 Phase 核心产出已完成?)
□ If module test: record-test called? (如果模块测试:已调用 record-test?)
□ Key progress written to memory/? (关键进展已写入 memory/?)
python3 scripts/srs.py check-session [topic] # Check unrecorded tests
python3 scripts/srs.py check-burnout <topic> # Analyze burnout risk
| System (系统) | Stores (存什么) | Location (位置) |
|---|---|---|
| System memory (系统 memory) | Progress summary, weak points (进度摘要、薄弱点) | memory/YYYY-MM-DD.md |
| ~/learn/ | SM-2 data, concept mastery (SM-2 数据、概念掌握度) | ~/learn/topics/{topic}/concepts.json |
concepts.json > memory files (concepts.json > memory 文件)
AI receives heartbeat → python3 scripts/srs.py due → Has due content → Notify user
AI 助手收到心跳 → python3 scripts/srs.py due → 有到期内容 → 通知用户
~/learn/config.json
{
"learning_depth": "standard", // shallow / standard / deep
"learner_type": "practical", // visual / practical / theoretical
"daily_review_limit": 20,
"session_duration": 60,
"burnout_threshold": 3,
"mastery_threshold": 0.8,
"level_thresholds": { "L2": 0.2, "L3": 0.4, "L4": 0.7, "L5": 0.9 }
}
| Priority (优先级) | Description (描述) | Example (示例 |
|---|---|---|
| 1-Urgent (紧急) | Deadline approaching (截止日期临近) | Exam prep (考试准备) |
| 2-Important (重要) | Core skills (核心技能) | Programming (编程语言) |
| 3-Regular (常规) | Daily learning (日常学习) | New tech (新技术) |
| 4-Extended (扩展) | Broaden horizons (拓宽视野) | Related fields (相关领域) |
| 5-Reserve (储备) | Future use (未来可能用到) | Learning list (待学习清单) |