Skip to content

About

Turn any book you own into a chapter-by-chapter skill your AI agent can consult - with page citations, Adler's analytical reading and a theology lens. Local only.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Scriptorium

Turn any book you own into a chapter-by-chapter skill your AI agent can consult.

In the medieval scriptorium, monks copied books so they could be read and used again. Scriptorium does the same for agents. It reads a book (PDF, EPUB, DOCX, TXT, MOBI) and writes a skill: a lean index with the author's frameworks, one file per chapter with page citations, a glossary, the author's methods, and a one-page cheatsheet of their judgment. The agent loads only what a question needs, a fraction of the tokens of re-reading the book.

<book-skill>/
  SKILL.md            index: unity of the book, core frameworks, chapter + topic index
  chapters/chNN-*.md  theses, frameworks, terms, anti-patterns, takeaways — with (p. N)
  glossary.md · patterns.md · cheatsheet.md · SOURCE.md · scripture.md (theology lens)

Why another book-to-skill?

Scriptorium
Citations Every claim carries the book's printed page (PDF page labels) or section (EPUB), so answers can be checked.
Reading method Uses Adler's analytical reading (kind, unity, outline, terms, propositions, problem solved) before writing.
Worth-it gate Says when a book is better served by a reading report than by a skill.
Theology lens Scripture index per chapter (EN/PT/ES references), keeps Greek and Hebrew as printed, notes the author's tradition.
Copyright guard validate.py blocks any 50+ word verbatim copy and warns about text that looks addressed to an agent.
Local only No downloads, no shadow libraries, no MCP installs, no edits to agent configs, no symlinks.
Small footprint One Python extractor (PyMuPDF / ebooklib / python-docx, all optional), one validator, one scripture indexer.

Install

Copy the scriptorium/ folder into your agent's skills folder, for example ~/.claude/skills/scriptorium/ (Claude Code), ~/.codex/skills/ (Codex) or ~/.agents/skills/.

Optional extractors (only for the formats you use):

pip install pymupdf ebooklib python-docx beautifulsoup4

Calibre's ebook-convert is used for MOBI/AZW3 when present. Check what you have:

python scriptorium/scripts/extract.py --check

Use

Ask your agent: "Turn this book into a skill: ~/books/biblical-preaching.pdf", or "Analyze this book first". It will:

  1. extract the text with page markers;
  2. show size and cost and ask before spending;
  3. read the structure;
  4. write the chapters, then the supporting files, then the index;
  5. validate.

Credits

Ideas adapted (no code copied) from

Reading method after Mortimer J. Adler & Charles Van Doren, How to Read a Book.

Copyright

Scriptorium itself is MIT-licensed. The skills it generates are study aids derived from books you own: do not publish them unless the book is in the public domain or you hold the rights.

About

Turn any book you own into a chapter-by-chapter skill your AI agent can consult - with page citations, Adler's analytical reading and a theology lens. Local only.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages