Agent skill · creative production · aiskillstore

epub-chapter-extractor

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.

Why this skill is useful

Adds an executable script for extracting chapters from EPUB files into markdown format, which is not commonly available in public tools.

What it needs

Requires beautifulsoup4, ebooklib, html2text, lxml, uv installed locally. About 1k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.

What this skill does

EPUB Chapter Extractor Extract each chapter from an EPUB file into its own markdown file. Instructions When the user wants to extract chapters from an EPUB, run the extraction script with uv: If outputdir is omitted, creates a folder named after the EPUB in the same directory. Example User: "Extract chapters from /Users/yourname/Books/mybook.epub" Output files will be at /Users/yourname/Books/mybook/: 01introduction.md 02chapterone.md etc. After extraction, open the output folder: Output Format Each chapter file contains: Files are numbered for proper sorting: 01, 02, etc.

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills aiskillstore/epub-chapter-extractor

View the source on GitHub

Browse the @skills marketplace