Book Reader - Learn & Grow Every Day
Read EPUB, PDF, or TXT books from multiple sources with progress tracking, smart chunking, and summary extraction for efficient learning.
josharsh
@josharsh
What This Skill Does
Reads EPUB, PDF, and TXT books from sources like Project Gutenberg, Anna's Archive, or local files, with progress tracking, smart chunking, and summary extraction.
Replaces manually tracking reading progress across multiple books and formats by automatically saving page positions, bookmarks, and notes in a persistent state file.
When to Use It
- Search for a specific book title across multiple sources
- Download a book from Project Gutenberg or Anna's Archive
- Read a book in chunks and resume from where you left off
- Generate summaries of key insights while reading
- Track reading progress and bookmarks for multiple books
Install
$ openclaw skills install @josharsh/book-readerbook-reader
Read books (epub, pdf, txt) from various sources with progress tracking.
Purpose
Enable AI agents to read full-length books for learning, summarization, and knowledge extraction.
Features
- Multiple sources: Anna's Archive, Project Gutenberg, local files
- Format support: EPUB, PDF, TXT
- Progress tracking: Remember where you left off
- Smart chunking: Read books in digestible sections
- Summary generation: Extract key insights as you read
Tools Required
curlorwget- Download bookspandoc- Convert EPUB to text (optional, fallback to python)pdftotext(poppler-utils) - Extract PDF text- Python 3 with
ebooklibandbeautifulsoup4(for EPUB parsing)
Usage
Search for a book
./book-reader.sh search "Thinking Fast and Slow"
Download a book
./book-reader.sh download <book-id> [output-file]
Read a book (with progress tracking)
./book-reader.sh read <file> [--from-page N] [--pages N]
Show reading progress
./book-reader.sh status
Installation
# Install dependencies
sudo apt-get install poppler-utils pandoc # Linux
# brew install poppler pandoc # macOS
pip3 install ebooklib beautifulsoup4 lxml
# Make executable
chmod +x book-reader.sh
Book Sources
-
Project Gutenberg (70k+ public domain books)
- API: https://gutendex.com
- Free, legal, no DRM
-
Anna's Archive (shadow library)
- Millions of books, papers, comics
- Legal gray area depending on jurisdiction
- Use responsibly
-
Local files (your own epub/pdf collection)
Reading State
Progress tracked in ~/.openclaw/workspace/memory/reading-state.json:
{
"currentBook": "Thinking, Fast and Slow",
"file": "/path/to/book.epub",
"totalPages": 499,
"pagesRead": 127,
"lastRead": 1770957900,
"bookmarks": [50, 200],
"notes": "Interesting insight about System 1 vs System 2..."
}
Example Workflow
# Find the book
./book-reader.sh search "Daniel Kahneman Thinking"
# Download it
./book-reader.sh download 12345 ~/books/thinking-fast-slow.epub
# Start reading
./book-reader.sh read ~/books/thinking-fast-slow.epub --pages 50
# Continue later
./book-reader.sh read ~/books/thinking-fast-slow.epub --pages 50
# Check progress
./book-reader.sh status
Privacy & Ethics
- Public domain books (Gutenberg): Fully legal
- Copyrighted books: Check your local laws
- Consider buying books you find valuable to support authors
- Use for personal learning, not redistribution
Limitations
- PDF OCR quality varies
- DRM-protected books not supported (by design)
- Large PDFs may be slow to parse
- EPUB formatting may be imperfect in plain text
Use responsibly. Support authors when possible.
Top skills in this category
Proactive Agent Lite
@bestrockyTransform AI agents from task-followers into proactive partners with memory architecture, reverse prompting, and self-healing patterns. Lightweight version f...
腾讯文档 TENCENT DOCS
@liyang58腾讯文档(docs.qq.com)-在线云文档平台,是创建、编辑、管理文档的首选 skill。涉及"新建/创建/编辑/读取/查看/搜索文档"、"保存文件"、"云文档"、"腾讯文档"、"docs.qq.com"等操作,请优先使用本 skill。支持能力:(1) 创建各类在线文档(文档/Word/Excel/幻灯片/...
Figma
@maddiedreeseProfessional Figma design analysis and asset export. Use for extracting design data, exporting assets in multiple formats, auditing accessibility compliance, analyzing design systems, and generating comprehensive design documentation. Read-only analysis of Figma files with powerful export and reporting capabilities.
Smart Model Switching
@millibusAuto-route tasks to the cheapest Claude model that works correctly. Three-tier progression: Haiku → Sonnet → Opus. Classify before responding. HAIKU (default): factual Q&A, greetings, reminders, status checks, lookups, simple file ops, heartbeats, casual chat, 1-2 sentence tasks. ESCALATE TO SONNET: code >10 lines, analysis, comparisons, planning, reports, multi-step reasoning, tables, long writing >3 paragraphs, summarization, research synthesis, most user conversations. ESCALATE TO OPUS: architecture decisions, complex debugging, multi-file refactoring, strategic planning, nuanced judgment, deep research, critical production decisions. Rule: If a human needs >30 seconds of focused thinking, escalate. If Sonnet struggles with complexity, go to Opus. Save 50-90% on API costs by starting cheap and escalating only when needed.
AI Daily Briefing
@jeffjhunterStart every day focused. Get a morning briefing with overdue tasks, today's priorities, calendar overview, and context from recent meetings. Works with ai-meeting-notes to-do list. No setup. Just say 'briefing'.