Convert Epub

Convert EPUB files to clean markdown for LLM context (uses epub-to-markdown). Use when converting ebooks or EPUB documents to markdown for analysis or summarization. Triggers include "convert epub", "epub to markdown", "epub file".

digital-stoic-org Updated

File contents

Convert EPUB → Markdown

Convert the EPUB file at $1 to clean markdown format optimized for Claude Code context.

Steps

  1. Install dependency: Use toolsmith:install-dependency skill to ensure epub-to-markdown is installed
  2. Parse arguments: Input file $1 (required), output dir $2 (optional, defaults to ./.tmp/epub-converted/)
  3. Convert: Run epub-to-markdown convert "$1" with --multiple-files flag (one file per chapter)
  4. Report: Output location, file structure, chapter count, preview of table of contents

Goal

Extract clean, structured markdown for LLM context (analysis, summarization, Q&A) — NOT for visual rendering.

Output to .tmp/ to keep excluded from git/searches per Praxis rules.

digital-stoic-org/agent-skills/tree/main/convert/skills/convert-epub commit f4c3102b47

Frequently asked questions

npx skillmds@latest add digital-stoic-org/convert-epub