book-converter
Installation
SKILL.md
Book Converter Skill
Convert EPUB books into professionally formatted Markdown books with AI-assisted quality improvements.
Overview
This skill converts EPUB files into high-quality Markdown documents by:
- Using pandoc to extract raw Markdown from EPUB
- Creating a structured project directory
- Planning and executing AI-driven formatting fixes
- Producing chapter-by-chapter formatted output
- Generating merged book file with Table of Contents
Paths used below:
<skill-dir>is the directory containing this SKILL.md. Run the scripts by their path inside it (e.g.python3 <skill-dir>/scripts/convert_book.py), so they work from any working directory.<book-dir>is the project directory Phase 1 creates:books/<book-name>/under the current working directory by default (change it with--out).
Requires pandoc on PATH; convert_book.py checks for it and prints install commands if it is missing.