Extract all chapters from an EPUB file into separate markdown files. Use when the user wants to split an EPUB into individual chapter files, extract EPUB chapters, or convert an ebook to separate markdown documents.
Extract each chapter from an EPUB file into its own markdown file.
When the user wants to extract chapters from an EPUB, run the extraction script with uv:
cd ~/.claude/skills/epub-chapter-extractor && uv run --with ebooklib --with beautifulsoup4 --with html2text --with lxml python extract_chapters.py "/path/to/book.epub" [output_dir]
If output_dir is omitted, creates a folder named after the EPUB in the same directory.
User: "Extract chapters from /Users/yourname/Books/mybook.epub"
cd ~/.claude/skills/epub-chapter-extractor && uv run --with ebooklib --with beautifulsoup4 --with html2text --with lxml python extract_chapters.py "/Users/yourname/Books/mybook.epub"
Output files will be at /Users/yourname/Books/mybook/:
01_introduction.md02_chapter_one.mdAfter extraction, open the output folder:
open /Users/yourname/Books/mybook
Each chapter file contains:
# Chapter Title
[Chapter content in markdown format]
Files are numbered for proper sorting: 01_, 02_, etc.
npx skills add Abilityai/epub-chapter-extractor下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Edit PDFs with natural-language instructions using the nano-pdf CLI.
Control Sonos speakers (discover/status/play/volume/group).
Terminal Spotify playback/search via spogo (preferred) or spotify_player.
Capture frames or clips from RTSP/ONVIF cameras.
CLI to manage emails via IMAP/SMTP. Use `himalaya` to list, read, write, reply, forward, search, and organize emails from the terminal. Supports multiple accounts and message composition with MML (MIME Meta Language).
Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.
Category:tools