Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Splits an EPUB ebook into separate markdown files, one per chapter, using a Python extraction script.
Use this skill ↓32% 41%+9 ptsof test cases passed
Passed 9 of 22 test cases with the skill, and 7 of 22 without it.
What extension do the individual chapter files receive after extracting `/Users/reader/biography.epub`?
Specifies `.md` as the output file extension
3 of 3 safety checks passed
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
Next to this one in the catalogue, plus more from the same author.