Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
ratacat avatar

Ebook Extractor

  • 100 installs
  • 49 repo stars
  • Updated February 11, 2026
  • ratacat/claude-skills

Helps with ai & agent building tasks.

About

ebook-extractor is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • ebook-extractor
  • AI & Agent Building
  • AI-coding skill

Ebook Extractor by the numbers

  • 100 all-time installs (skills.sh)
  • Ranked #4,267 of 16,556 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/ratacat/claude-skills --skill ebook-extractor

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs100
repo stars49
Last updatedFebruary 11, 2026
Repositoryratacat/claude-skills

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Ebook Text Extractor

Overview

Extract plain text from EPUB, MOBI, and PDF files using Python scripts. No LLM calls - pure text extraction.

Supported Formats

FormatTool UsedNotes
EPUBebooklib + BeautifulSoupDirect parsing, preserves structure
MOBICalibre ebook-convertConverts to EPUB first, then extracts
PDFPyMuPDF (fitz)Fast, handles most PDFs well

Usage

Unified extractor (auto-detects format):

python3 ~/.claude/skills/ebook-extractor/scripts/extract.py /path/to/book.epub
python3 ~/.claude/skills/ebook-extractor/scripts/extract.py /path/to/book.mobi
python3 ~/.claude/skills/ebook-extractor/scripts/extract.py /path/to/book.pdf

Output options:

# To stdout (default)
python3 scripts/extract.py book.epub

# To file
python3 scripts/extract.py book.epub -o output.txt
python3 scripts/extract.py book.epub > output.txt

Format-specific scripts:

python3 scripts/extract_epub.py book.epub
python3 scripts/extract_mobi.py book.mobi
python3 scripts/extract_pdf.py book.pdf

Setup

# One-command setup (installs all dependencies)
~/.claude/skills/ebook-extractor/setup.sh

# Or manually:
pip install -r ~/.claude/skills/ebook-extractor/requirements.txt
brew install calibre  # macOS, for MOBI support

Script Location

~/.claude/skills/ebook-extractor/scripts/

Common Issues

ProblemSolution
Missing packageRun setup.sh or pip install -r requirements.txt
MOBI failsEnsure Calibre is installed: brew install calibre
PDF garbledSome PDFs are image-based; OCR needed (not supported)

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.