/install epub-to-markdown
EPUB to Markdown Conversion
Convert an EPUB into a structured Markdown workspace using the bundled script.
Run
uv run scripts/convert.py \x3Cpath/to/book.epub> [output_dir]
- Omit
output_dirto write beside the EPUB as{epub_stem}/. - If
output_diralready exists, the script stops instead of deleting it. - Pass
--overwriteonly when the user explicitly wants to replace an existing generated directory. - Dependencies are declared inline in the script, so
uv runinstalls them automatically on first use.
Output
{output_dir}/
├── META.md
├── images/
└── chapters/
├── 001_{slug}.md
├── 002_{slug}.md
└── ...
- Read
META.mdfirst. It contains book metadata, total chapter and word counts, and a chapter index pointing at the generated files. - Read files in
chapters/only when the user asks about specific content.
Reply Format
After a successful conversion, report:
✅ Conversion complete
Title : {title}
Authors : {authors}
Chapters: {total_chapters}
Words : {total_words}
Output : {output_dir}/
If chapter titles look wrong, the TOC is sparse, or the user needs edge-case behavior details, read references/reference.md.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install epub-to-markdown - After installation, invoke the skill by name or use
/epub-to-markdown - Provide required inputs per the skill's parameter spec and get structured output
What is EPUB to Markdown?
Convert EPUB books into an AI-ready Markdown library with a first-read META.md navigation index, per-chapter Markdown files, and extracted images. Use when t... It is an AI Agent Skill for Claude Code / OpenClaw, with 153 downloads so far.
How do I install EPUB to Markdown?
Run "/install epub-to-markdown" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is EPUB to Markdown free?
Yes, EPUB to Markdown is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does EPUB to Markdown support?
EPUB to Markdown is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created EPUB to Markdown?
It is built and maintained by YueeLi (@yueeli); the current version is v1.1.1.