book-reader

Read and query digital book formats from the command line using BM25 search.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "book-reader" with this command: npx skills add trevors/dot-claude/trevors-dot-claude-book-reader

Book Reader

Read and query digital book formats from the command line using BM25 search.

Quick Start

Get book metadata

uv run ~/.claude/skills/book-reader/book.py info ~/Books/mybook.pdf

Show table of contents

uv run ~/.claude/skills/book-reader/book.py toc ~/Books/mybook.epub

Read a specific chapter

uv run ~/.claude/skills/book-reader/book.py read ~/Books/mybook.pdf --chapter 3

Read a specific page

uv run ~/.claude/skills/book-reader/book.py read ~/Books/mybook.pdf --page 42

Search for content (BM25 ranked)

uv run ~/.claude/skills/book-reader/book.py search ~/Books/mybook.pdf "query"

Extract full text

uv run ~/.claude/skills/book-reader/book.py extract ~/Books/mybook.txt

Supported Formats

Format Extensions Features

PDF .pdf

Page numbers, TOC detection, metadata

EPUB .epub

Chapters from spine, full metadata

MOBI .mobi , .azw , .azw3

Basic extraction

Text .txt , .text , .md

Chapter pattern detection

When to Use

  • User provides a book file and asks questions about its content

  • Need to find specific quotes, passages, or information

  • Navigating to specific pages or chapters in a document

  • Researching topics across digital books

  • Extracting text for further processing

How It Works

  • First access: Extracts and caches the book content

  • Subsequent access: Uses cached version (invalidates on file change)

  • Search: BM25 algorithm ranks results by relevance

  • Results: Include chapter/page location for reference

See Also

See REFERENCE.md for complete command documentation.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

notion-formatter

No summary provided by upstream source.

Repository SourceNeeds Review
General

svelte5

No summary provided by upstream source.

Repository SourceNeeds Review
General

glhf

No summary provided by upstream source.

Repository SourceNeeds Review
General

whisper-test

No summary provided by upstream source.

Repository SourceNeeds Review