Reading coach: guides users through books systematically with knowledge compilation, mastery testing, spaced repetition, and knowledge querying. Use when user says 'read this book with me', 'book study', 'start studying X', 'reading plan', 'ingest this chapter', 'review what I read', 'quiz me on the book', 'what did the book say about X', or invokes /book-study. Supports sub-commands: ingest, query, review, compare, status. Triggers: book, study, read, chapter, ingest, review, quiz, reading plan, book notes.
Guide users through books systematically. Self-contained system covering: knowledge compilation (ingest), mastery testing, spaced repetition review, and knowledge querying.
IRON LAW: Understanding is proven by explanation + example + application. Never mark a concept as mastered just because the user says "got it."
/book-study <book-name> # Start a new book or resume progress
/book-study <book-name> --chapter 3 # Jump to chapter 3
/book-study ingest # Compile current chapter to wiki
/book-study query <keyword> # Query the knowledge base
/book-study review # Spaced repetition review
/book-study compare <book-A> <book-B> # Cross-book comparison
/book-study questions # View open questions
/book-study status # View all reading progress
Wiki defaults to book-wiki/ under the current project root.
book-wiki/
├── index.md # Global index: all books + cross-book concepts
├── log.md # Append-only operation log
├── <book-slug>/ # One directory per book
│ ├── meta.md # Book metadata (title, author, reading status)
│ ├── study-plan.md # Reading plan + progress tracking
│ ├── mastery-map.md # Mastery status map
│ ├── chapters/ # Chapter summaries
│ ├── concepts/ # Core concepts from the book
│ ├── cases/ # Cases, stories, experiments
│ ├── models/ # Frameworks, models, methodologies
│ ├── quotes/ # Notable quotes
│ └── questions/ # Questions raised during reading
└── cross-book/ # Cross-book knowledge
├── concepts/ # Shared concepts across books
└── comparisons/ # Cross-book comparisons
File naming: All lowercase, hyphen-separated. Book slug: book title in pinyin or English abbreviation (e.g. thinking-fast-and-slow).
Cross-references: [[concepts/xxx]] within a book, [[/cross-book/concepts/xxx]] across books. Obsidian-compatible.
On first /book-study <book-name>:
Check if book-wiki/<book-slug>/ exists
study-plan.md, restore progress (see "State Restoration")New book initialization (interactive — ask one at a time):
Generate meta.md:
# <Book Title>
- **Author**: XXX
- **Category**: Psychology / Economics / Tech / ...
- **Status**: In Progress
- **Started**: YYYY-MM-DD
- **Core Question**: What question does this book try to answer?
- **One-line Review**: (fill after finishing)
study-plan.md:# <Book Title> Study Plan
## Info
- **Title**: XXX
- **Author**: XXX
- **Total Chapters**: XX
- **Goal**: user's problem to solve
- **Timeline**: X weeks
- **Started**: YYYY-MM-DD
## Chapter Plan
| # | Chapter | Core Question | Status | Mastery | Date |
|---|---------|---------------|--------|---------|------|
| 1 | Chapter Name | What this chapter answers | Not Started | - | - |
### Status Legend
- Not Started
- Guided (pre-reading done, ready to read)
- Reading
- Ingested (compiled, pending test)
- Mastered (test passed)
- Needs Review (test failed)
## Current Position
- **Current Chapter**: Chapter X
- **Next Action**: guide / read / ingest / test / review
mastery-map.md:# <Book Title> Mastery Map
## Concepts
| Concept | Chapter | Status | Last Tested | Next Review |
|---------|---------|--------|-------------|-------------|
| (auto-populated on ingest) | | | | |
## Models
| Model | Chapter | Status | Last Tested | Next Review |
|-------|---------|--------|-------------|-------------|
## Stats
- Total knowledge points: X
- Mastered: X (X%)
- Due for review: X
- Untested: X
Purpose: activate prior knowledge, set reading questions.
study-plan.md, confirm current chapterstudy-plan.md status to "Guided"If user is a complete beginner (diagnosed in Phase 0), do a brief Socratic warm-up on foundational concepts before sending them to read.
When user comes back after reading a chapter:
study-plan.md status to "Ingested"mastery-map.md with new knowledge points (status: Untested)Test chapter mastery using Socratic questioning.
mastery-map.md for this chaptermastery-map.md→ Load references/pedagogy.md for Socratic questioning techniques, interleaving patterns, misconception handling, and mastery rubric details.
Understanding ≠ ability. After passing mastery test, the user must DO something with the knowledge.
Practice task types for books:
Keep tasks small (2-5 minutes). Pass/fail:
Last Tested to today, Next Review to +1 day, advanceWhen user returns to /book-study <book-name>:
mastery-map.md for knowledge points due for reviewWhen all chapters are Mastered:
meta.md status to "Completed"Every /book-study <book-name> session:
study-plan.md → know where we left offmastery-map.md → know what's mastered, what's due for reviewExtract from input:
concepts/): core terms, theories, ideascases/): experiments, stories, data, real-world examplesmodels/): frameworks, methodologies, mental modelsquotes/): notable original quotesquestions/): doubts, extended thinking, conflicts with existing knowledge→ Load references/page-templates.md for all page templates.
After each ingest:
cross-book/concepts/book-wiki/index.mdbook-wiki/log.md:## YYYY-MM-DD: Ingest <Book Title> Chapter X
**Input type**: chapter text / reading notes / verbal summary
**New pages**: list
**Updated pages**: list
**New cross-references**: list
**New questions**: list
Search all books' concepts/, models/ + cross-book/concepts/ → synthesize answer with sources → list related concepts → remind of relevant open questions.
Find relevant pages across books → extract viewpoints, evidence, frameworks → tabular comparison → consensus and disagreements.
Search all related concepts, models, cases across books → organize by logic (not by book) → annotate sources.
Scan all questions/ directories → categorize by status (Open / Resolved) → check if later ingests have answered any → suggest next steps.
Read book-wiki/index.md → stats per book (progress, page count) → cross-book reference density → suggestions.
cross-book/book-wiki/ first to avoid duplicate pagesbook-wiki/index.md before querying