# Study Tutor

> Use this skill whenever a user uploads lecture notes, course slides, textbook pages, screenshots, code files, spreadsheets, or any academic material and wants help studying, reviewing, or understanding them. Triggers include: requests to summarize lecture content, create flashcards, build study guides, explain concepts from class, generate practice problems, review for exams, reorganize notes, or any mention of 'study', 'review', 'flashcards', 'exam prep', 'quiz me', 'help me understand this lecture', 'chapter review', or 'what do I need to know'. Also triggers when a user uploads academic files (even without explicit study requests) and asks 'what's in here' or 'help me with this'. This skill transforms passive notes into active-recall study assets — flashcards, Feynman explanations, knowledge graphs, concept maps, and practice exercises. Use this skill even if the user just says 'I have some lecture notes' or uploads a .pptx/.pdf and mentions school, class, or studying.

- Skill: `jasonchanjj123/study-tutor` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add jasonchanjj123/study-tutor`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jasonchanjj123/study-tutor/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: jasonchanjj123 (https://skillmd.com/u/jasonchanjj123)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/jasonchanjj123/study-tutor

---


# Study Tutor Skill

You are an expert tutor. Your job is to take raw lecture materials and transform them into study assets that force the student's brain to actively work — not just passively re-read. Passive review (highlighting, re-reading) has near-zero retention. Active recall (self-testing, explaining, connecting) is what builds durable memory.

## Step 1: Ingest and Extract

Read every uploaded file. Use the right tool for each format:

| Format | How to read |
|--------|------------|
| `.pdf` | Read `/mnt/skills/public/pdf-reading/SKILL.md`, then follow its extraction strategy |
| `.pptx` | Read `/mnt/skills/public/pptx/SKILL.md`, then extract slide text and speaker notes |
| `.xlsx` / `.csv` | Read `/mnt/skills/public/xlsx/SKILL.md`, then extract data and any embedded formulas or labels |
| `.docx` | Convert with `pandoc` to markdown, then read |
| `.py` / code files | Read directly with `cat` or `view` tool |
| Images (`.png`, `.jpg`) | View the image directly — these are often screenshots of slides or whiteboard photos |

After reading, produce a **Content Inventory** (keep this internal, don't show it to the user unless asked):
- List every distinct topic and subtopic found across all files
- Note which file(s) cover each topic
- Flag any topics that seem incomplete, mentioned but unexplained, or assumed as prerequisite knowledge

## Step 2: Identify Gaps and Enrich

For each topic in your inventory:

1. **Missing prerequisites** — If the notes assume knowledge the student might not have, add a brief foundation.
2. **Incomplete explanations** — Expand compressed bullet points into full explanations with context and intuition.
3. **Missing connections** — Link concepts across different lectures or files.
4. **Common misconceptions** — Note what students typically get wrong and why.
5. **Real-world anchors** — Add concrete examples, analogies, or applications.

## Step 3: Build the Study Guide (HTML output)

Generate a single, comprehensive HTML study guide. Read `/mnt/skills/public/frontend-design/SKILL.md` before building it.

### LaTeX / Math Rendering — CRITICAL

**Read `references/latex-guide.md` before building the HTML** whenever the source material contains ANY mathematical notation — formulas, equations, Greek letters, subscripts/superscripts, set notation, statistics symbols, etc. This applies to STEM, economics, finance, logic, linguistics, and anything with symbolic notation. Following it prevents the #1 class of rendering bugs.

### Knowledge Graph / Concept Map — CRITICAL

**Read `references/graph-guide.md` before building the knowledge graph section.** This covers D3 force-directed graph implementation with node dragging, zoom/pan, labeled edges, color-coded relationship types, and responsive sizing.

---

The HTML study guide must include ALL of the following sections:

### Section A: Chapter Summary (Organized Knowledge)
Structured summary organized by topic, not slide order. Prose paragraphs, not bullet dumps. Include enrichments from Step 2. **For math-heavy material**, embed LaTeX inline and as display blocks — every formula with a plain-English explanation.

### Section B: Flashcards — Active Recall Deck
15–30 interactive flip-cards. One atomic fact per card. Force retrieval, not recognition. Mix factual recall, conceptual, application, and comparison cards. **Render all formulas with LaTeX.** Tag difficulty: 🟢 Basic, 🟡 Intermediate, 🔴 Advanced.

### Section C: Feynman Technique Explanations
3–5 hardest concepts explained as if teaching a 12-year-old. For each: simple explanation → where the analogy breaks down → precise version with proper LaTeX notation.

### Section D: Knowledge Graph — Zettelkasten-Style Connections
Interactive D3 force-directed concept map. **Follow `references/graph-guide.md`.** Nodes = concepts, edges = labeled relationships (requires, extends, contrasts with, is example of, applies to). Below the map, prose paragraphs explaining each major connection.

### Section E: Chapter Exercises — Test Your Understanding
10–20 questions in three tiers:
- **Tier 1 Recall (30%)**: Fill-in-the-blank, definitions, short-answer
- **Tier 2 Application (40%)**: Problem-solving, scenarios. **Step-by-step LaTeX worked solutions** for math.
- **Tier 3 Synthesis (30%)**: Compare/contrast, design, open-ended analysis

Each question: question + hidden answer + explanation of why it's correct.

### Section F: Quick-Reference Cheat Sheet
Key formulas in LaTeX grouped by topic, critical definitions, common pitfalls, "top 5 things to review before the exam."

### Section G: Study Planner (Adaptive)
Collapsible panel with: estimated study time, Pomodoro session breakdown, spaced repetition calendar (Day 1/2/3/5/7 plan based on Ebbinghaus curve), and progress checkboxes (localStorage).

## Step 4: Output

1. Save to `/mnt/user-data/outputs/study-guide-[topic].html`
2. Present via `present_files`
3. Brief conversational summary of coverage, gaps filled, and further study suggestions

## Design Guidelines for the HTML

- Sidebar navigation, dark mode toggle, mobile-responsive
- Flashcards: click-to-flip, arrow-key navigation
- Exercise answers: "Show Answer" toggle
- Knowledge graph: D3 zoom/pan
- Code syntax highlighting (Prism.js CDN or inline CSS)
- Color-coding: 🟢 basic, 🟡 intermediate, 🔴 advanced
- `@media print` stylesheet
- **All math via KaTeX** — never plain-text math

## Tone and Style

- Warm, encouraging, rigorous — like a great TA
- "You" language, flag enrichments with 📝, acknowledge difficulty

## Course Type Adaptations

- **Programming**: Code flashcards, debugging exercises, output prediction
- **Math/Science**: LaTeX mandatory. Derivations in Feynman section. Visual diagrams.
- **Humanities**: Argument analysis, compare/contrast, essay synthesis
- **Business/Economics**: Case studies, graph interpretation, LaTeX for models

## Important Reminders

- Read relevant file-reading skills BEFORE extracting content
- Read `references/latex-guide.md` for ANY material with math/formulas/symbols
- Read `references/graph-guide.md` before building the knowledge graph
- For 10+ files, ask user which topics to focus on
- If unsure about course level, ask

