Skip to content

Book Learning Tutor

授业 · Book Learning Tutor, Turn any book on your drive into a personal AI tutor (Agent Skill)

Install: git clone https://github.com/fangyuan-3149/book-learning-tutor

Works with Claude Code · 10 GitHub stars

Install

$git clone https://github.com/fangyuan-3149/book-learning-tutor

Install command taken from the project's README or registry entry. Always review code before running it.

Book Learning Tutor (授业)

Turn any book on your drive into a personal AI tutor that actually teaches — lesson by lesson, with Feynman explanations, practice gates, spaced review, and recitation homework. Your book never leaves your machine.

The problem: a reader just shows you text — you buy books, highlight them, and forget them. Reading isn't learning. This skill: course-ifies a book into bite-sized lessons and walks you through it like a strict-but-kind teacher — it checks your understanding before letting you move on, makes you recite the key points, and brings them back for review on a schedule. Progress is saved, so you can close the chat and resume exactly where you left off.

What it does:

  • 📚 Course-ifies any book (PDF/EPUB/DJVU/MOBI/AZW/DOCX/TXT/MD/CBZ) into a structured lesson tree
  • 🎓 Real Feynman teaching — explains like a teacher, uses analogies, and won't let you advance until a practice gate (≥80%) confirms you understand
  • 🔁 Spaced review + recitation homework — brings key points back on a schedule and makes you recite from memory
  • 💾 Progress that survives — close the chat and resume exactly where you left off (progress.json)
  • 🔒 Local-first & private — your book never leaves your machine; no external LLM key
  • 🌐 Cross-host — runs in WorkBuddy / Claude Code / Copilot CLI / Amp / OpenClaw
  • 🔎 Optional authorized web fetch — when you have no local book and explicitly allow it, the agent can search public sources for you (no DRM / paywall bypass)

▶ See it teach (real session)

The material below is a real lesson the skill generates — from Flatland (public domain). This is what the teaching loop feels like:

📚 Lesson 1 — "Of the Nature of Flatland" · prep sheet: level = intuitive · must-memorize 📌: Flatland is 2D; inhabitants appear to each other only as straight lines; the penny-on-table analogy

Teacher: Flatland is a world with only two dimensions — length and width, no "up". Its people are living geometric shapes (triangles, squares, circles) who slide around on a flat surface but can never rise above or sink below it.

Here's the part that trips everyone up: in Flatland, you can't see shapes — you only see straight lines. Watch: put a penny on a table and look down — it's a circle. Now lower your eye to the table's edge, the way a Flatlander would see. The penny collapses into a single straight line. A triangle, a square, a hexagon — all look identical from the edge: just a line of varying length.

Teacher: So how do Flatlanders tell a Triangle from a Square? (practice gate)

You: They can't by sight alone — they feel edges by touch, or sense the angle as a figure moves past?

Teacher: 🔒 Gate passed (≥80%). Exactly — recognition is by touch/angle, not vision. That's why the social order (shape = class) is both rigid and invisible. Must-memorize 📌: no "up" exists; sight shows only a line.

📝 Homework: write one sentence explaining why a Sphere visiting Flatland would be invisible until it intersects the plane. 🗣 Recite: the penny analogy, from memory, next lesson.

progress.json ← lesson 1 marked learned, mastery 0.8; chat closed. Next session, "continue Flatland" resumes at lesson 2 and reviews lesson 1 first.

📂 A full real sample (TOC guide + lesson 1, from Flatland) is browsable in examples/flatland/ — no install needed.


Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

Persistent Context Across Sessions for Every Agent, Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future…

Explore related