Skip to content
epub logo

EPUB Reader Skill

epub

Read and extract content from EPUB ebook files. Use this skill when the user wants to read an EPUB file, extract text from an ebook, view EPUB metadata (title, author), list chapters or table of contents, search within EPUB content, or analyze ebook content.

SKILL.md

Full skill instructions

EPUB Reader Skill

Read EPUB ebook files and extract content as clean Markdown.

Instructions

Use the epub-reader CLI tool to interact with EPUB files. The tool is located at: ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js

Available Commands

1. View Metadata

Get book information (title, author, publisher, date, description).

node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js metadata "<path-to-epub>"
2. List Table of Contents

View all chapters and their structure. Each entry shows [ch: N] indicating the chapter number to use with the chapter command.

node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js toc "<path-to-epub>"
3. Read Specific Chapter

Read a single chapter by number (1-indexed).

node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js chapter "<path-to-epub>" <chapter-number>
4. Read Entire Book

Extract the complete book as Markdown.

node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js full "<path-to-epub>"
5. Search Text

Find text occurrences with surrounding context.

node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js search "<path-to-epub>" "<search-query>"

Recommended Workflow

  1. Start with metadata to understand what book you're working with
  2. View the TOC to see available chapters and structure
  3. Read specific chapters for targeted analysis, or use full for complete extraction
  4. Use search to find specific topics, quotes, or references

Open-Ended Search

For broad or conceptual queries like "what are the main themes in this book?" or "find all references to the protagonist's childhood", use query expansion:

  1. Expand the query into multiple specific search terms using domain knowledge
    • Example: "protagonist's childhood" → search for character name, "young", "childhood", "memory", "father", "mother", "grew up", etc.
  2. Run searches in parallel for each expanded term
  3. Synthesize results by deduplicating and consolidating findings across searches

This approach leverages Claude's domain knowledge to catch synonyms, related concepts, and terminology variations that a simple keyword search would miss.

Example

User asks: "What does the book say about the author's research methodology?"

Expand to searches:

  • "methodology"
  • "research"
  • "study"
  • "analysis"
  • "data"
  • "findings"
  • "evidence"

Then consolidate the results into a comprehensive answer.

Output Format

All output is clean Markdown:

  • Headings preserved as #, ##, etc.
  • Lists, links, and emphasis converted properly
  • Excessive whitespace cleaned up
  • Chapter separators included for full extraction

Examples

# What book is this?
node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js metadata "/​path/​to/​book.epub"

# Show me the chapters
node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js toc "/​path/​to/​book.epub"

# Read chapter 3
node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js chapter "/​path/​to/​book.epub" 3

# Find all mentions of "democracy"
node ~/​.claude/​skills/​epub/​scripts/​epub-reader/​dist/​index.js search "/​path/​to/​book.epub" "democracy"

Notes

  • Chapter numbers are 1-indexed (first chapter is 1, not 0)
  • Use the [ch: N] reference from the TOC output to find the correct chapter number
  • Paths with spaces must be quoted
  • Large books may produce substantial output with the full command
  • Search results show up to 5 matches per chapter with context

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View