Smart Leaner

SkillDB ไฝœ่€… hexavi8 v1.0.2

๐ŸŽ“ Your personal learning assistant โ€” explains any concept with clarity and depth, making complex ideas intuitive through diagrams and analogies. Auto-archives notes, tracks mastery of every sub-concept, and tests understanding with real interview-style questions. Remembers your learning progress across sessions, schedules reviews based on the forgetting curve, and passively senses knowledge growth within active learning sessions. Gets smarter about you over time โ€” records your learning preferences and always teaches in the way that works best for you.

ๆบ็  โ†—

ๅฎ‰่ฃ… / ไธ‹่ฝฝๆ–นๅผ

TotalClaw CLIๆŽจ่
totalclaw install skilldb:hexavi8~smart-learner
cURL็›ดๆŽฅไธ‹่ฝฝ๏ผŒๆ— ้œ€็™ปๅฝ•
curl -fsSL https://skills.taituai.com/api/skills/skilldb%3Ahexavi8~smart-learner/file -o smart-learner.md
Git ไป“ๅบ“่Žทๅ–ๆบ็ 
git clone https://github.com/openclaw/skills/commit/bb21ae527409ac46fbfe4b5e4b38521d5ed46d33
# Smart Learner Skill

## Response Language

Always respond in the **same language the user is writing in**.

- User writes in Chinese โ†’ respond in Chinese
- User writes in English โ†’ respond in English
- Mixed input โ†’ follow the dominant language of the message

The trigger keywords above are English references only. The skill activates based on
**semantic intent** regardless of the language used โ€” equivalent expressions in any
language (e.g. "่งฃ้‡Šไธ€ไธ‹", "่ชฌๆ˜Žใ—ใฆ", "erklรคre mir") will trigger this skill.

---

## File Structure

```
smart-learner/
โ”œโ”€โ”€ learning-memory.md          # Master index: concise record of all knowledge points
โ”œโ”€โ”€ learning-preference.md      # User learning preference record
โ””โ”€โ”€ notes/
    โ”œโ”€โ”€ Transformer.md          # Full archive per knowledge point
    โ”œโ”€โ”€ ReinforcementLearning.md
    โ””โ”€โ”€ ...
```

> **Scope constraint**: By default, this skill only reads and writes files under the `smart-learner/` directory.
> Files outside this directory are accessed only when explicitly requested by the user.

---

## Initialization

On every Skill startup:

1. Read `smart-learner/learning-memory.md` โ€” current knowledge & mastery levels
2. Read `smart-learner/learning-preference.md` โ€” user's preferred learning style
3. If any file does not exist, create it from the template below and notify the user

On session start, check for **due review tasks** โ€” if any exist, proactively remind the user.

---

## Learning Techniques Library

All techniques are managed dynamically based on `learning-preference.md`, the current knowledge type, and real-time user signals:

```
Technique                   Best For                          Default
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
Spaced Repetition           All review scheduling             โœ… Always on
Active Recall               Quiz phase                        โœ… Always on
Feynman Technique           Theory / concept topics           โœ… Always on
Dual Coding                 Structured / process / comparison โœ… On by default
Concrete Examples           Abstract / principle topics       โœ… On by default
Elaborative Interrogation   Post-explanation deep thinking    โœ… On by default
Interleaving                When related topics exist         โšก On demand
Mind Mapping                Every 5 new knowledge points      โšก On demand
SQ3R                        When user uploads a document      โšก Triggered
```

### Dynamic Adjustment Rules

Rules are applied in priority order. Explicit settings in `learning-preference.md` override auto-detection.

#### From Real-Time User Feedback

| User Signal                              | Action                                                                              | Save to Preference |
| ---------------------------------------- | ----------------------------------------------------------------------------------- | ------------------ |
| "Too complex" / "I don't get it"         | Disable Elaborative Interrogation; simplify Concrete Examples to everyday scenarios | โœ…                 |
| "Too simple" / "Go deeper"               | Increase Elaborative Interrogation depth; raise quiz difficulty one level           | โœ…                 |
| "More diagrams" / "Can you draw that?"   | Boost Dual Coding weight; force diagram for every concept; prefer Mermaid           | โœ…                 |
| "Less diagrams" / "Just tell me"         | Reduce Dual Coding frequency; only use diagrams when essential                      | โœ…                 |
| "Show me code" / "Any code example?"     | Switch Concrete Examples to code-first                                              | โœ…                 |
| "Skip the examples"                      | Temporarily disable Concrete Examples                                               | โœ…                 |
| "Skip the follow-up" / "Just quiz me"    | Disable Elaborative Interrogation; go directly to Phase 3                           | โœ…                 |
| "No quiz needed"                         | Record user dislikes quizzes; skip asking next time                                 | โœ…                 |
| "More questions" / "Give me N questions" | Increase quiz count; save to preference                                             | โœ…                 |

#### From Quiz Performance

| Performance Signal                       | Action                                                         | Save to Preference   |
| ---------------------------------------- | -------------------------------------------------------------- | -------------------- |
| 2 consecutive "Proficient"               | Raise next question difficulty one level                       | โŒ This session only |
| 2 consecutive "Beginner"                 | Pause quiz; reinforce with Concrete Examples                   | โŒ This session only |
| Consistently high scores across sessions | Increase Elaborative Interrogation depth for this topic        | โœ…                   |
| Repeatedly low scores on a question type | Prioritize that question type next time; flag as weak type     | โœ…                   |
| Repeated errors on comparison questions  | Activate Interleaving; proactively link easily confused topics | โœ…                   |

#### From Long-Term Behavior Patterns

| Behavior Signal                      | Action                                                                         | Save to Preference |
| ------------------------------------ | ------------------------------------------------------------------------------ | ------------------ |
| Frequently asks about diagrams       | Permanently boost Dual Coding weight                                           | โœ…                 |
| Skips follow-up questions โ‰ฅ 3 times  | Disable Elaborative Interrogation by default                                   | โœ…                 |
| Repeatedly requests examples         | Enable Concrete Examples by default; infer preferred example type from history | โœ…                 |
| Never sets review reminders          | Skip Phase 4 prompt; silently log instead                                      | โœ…                 |
| Consistently prefers a question type | Default to that type in future quizzes                                         | โœ…                 |

---

## Core Workflow

### Phase 0 โ€” Document Processing (SQ3R, Triggered)

Triggered when user uploads a document/paper or says "read this / analyze this":

```
S โ€” Survey
    Extract document structure: main topic, chapter outline, key terms
    Output: a structural overview diagram (Mermaid or table)

Q โ€” Question
    Generate 3โ€“5 core questions based on the document
    Tell the user: "Read with these questions in mind for better retention"

R โ€” Read
    For each core question, extract and explain the answer from the document
    Reuse the Phase 1 explanation structure

R โ€” Recite
    After explanation, invite the user to restate the key content in their own words
    (Feynman Technique)

R โ€” Review
    Check all core questions are answered
    Any unresolved parts โ†’ enter Phase 3 quiz flow
```

---

### Phase 1 โ€” Explanation (Simple to Deep)

On receiving a learning request:

#### Step 1-A: Starting Point Assessment

Before explaining, always calibrate the starting point:

1. Check `learning-memory.md` for any existing knowledge on this topic or related areas
2. Ask the user about their current familiarity:
   > "ไฝ ๅฏน XX ไบ†่งฃๅคšๅฐ‘๏ผŸ" / "How familiar are you with XX?"
3. Adjust the explanation entry point based on the response:

```
User familiarity        Entry point
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
No prior knowledge   โ†’  Start from scratch; build full foundation
Some background      โ†’  Start from the middle; briefly recap prerequisites
Fairly familiar      โ†’  Go straight to depth; focus on connections & advanced aspects
```

> **Never default to starting from zero** โ€” always calibrate first to avoid repeating known content.

#### Step 1-B: Topic Type Detection

Before structuring the explanatio