Book StudySAFE
Expert code review skill: SOLID, security, performance, error handling, boundary conditions
Overview
Expert code review skill: SOLID, security, performance, error handling, boundary conditions
79bfccb9f30cOBSERVED · 2026-10-20What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: book-study
description: "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."
---
# Book Study — Reading Coach
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."
## Usage
```
/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
```
---
## Data Structure
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.
---
## Learning Flow
### Phase 0: Open a Book
On first `/book-study <book-name>`:
1. Check if `book-wiki/<book-slug>/` exists
- Yes → read `study-plan.md`, restore progress (see "State Restoration")
- No → initialize new book
2. **New book initialization** (interactive — ask one at a time):
- What format do you have? (physical / ebook / PDF)
- Why are you reading this book? What problem are you trying to solve?
- How familiar are you with this domain? (beginner / some background / experienced)
- Rough timeline to finish?
3. Generate `meta.md`:
```markdown
# <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)
```
4. Generate `study-plan.md`:
```markdown
# <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
```
5. Generate `mastery-map.md`:
```markdown
# <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
```
### Phase 1: Pre-Reading Guide (before each chapter)
Purpose: activate prior knowledge, set reading questions.
1. Read `study-plan.md`, confirm current chapter
2. Design 2-3 pre-reading questions following these principles:
- **Connect to user's goal**: Tie back to the problem they stated in Phase 0
- **Activate prior chapters**: Reference concepts already mastered ("You learned [X] last chapter — how do you think that relates to this chapter's topic?")
- **Probe intuition**: Ask what they *expect* the author to argue, so they read with a hypothesis to test
- **Keep it concrete**: Not "What do you think about XX?" but "If you had to solve [specific scenario], what would you do right now?"
3. Present questions and send user off to read
4. Update `study-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.
### Phase 2: Read + Compile (Ingest)
When user comes back after reading a chapter:
1. Accept user input (notes, verbal summary, highlights, raw text)
2. Execute ingest (see "Knowledge Compilation" section below)
3. Update `study-plan.md` statuTrust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
79bfccb9f30cfull audit observations/trust-audit/skill/sanyuan0704__book-study.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-20 | 79bfccb9f30c | SAFE | B | 89 | first audit |
Questions
What does the book-study — sanyuan0704/sanyuan-skills skill do?
Expert code review skill: SOLID, security, performance, error handling, boundary conditions
Is book-study — sanyuan0704/sanyuan-skills safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can book-study — sanyuan0704/sanyuan-skills access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (79bfccb9f30c), read on 2026-10-20. The repository is watched, and a new audit runs when it changes — this is the first audit.
Add this badge to your README
Shows this page's audit result and links back to it. It updates when the audit does.
[](https://modelsatlas.com/skills/sanyuan0704/book-study/)
Not your listing, or something out of date? Claim or update your listing.