← Back to Skills Marketplace
yueeli

EPUB to Markdown

by YueeLi · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ✓ Security Clean
153
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install epub-to-markdown
Description
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...
README (SKILL.md)

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_dir to write beside the EPUB as {epub_stem}/.
  • If output_dir already exists, the script stops instead of deleting it.
  • Pass --overwrite only when the user explicitly wants to replace an existing generated directory.
  • Dependencies are declared inline in the script, so uv run installs them automatically on first use.

Output

{output_dir}/
├── META.md
├── images/
└── chapters/
    ├── 001_{slug}.md
    ├── 002_{slug}.md
    └── ...
  • Read META.md first. 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.

Usage Guidance
This skill appears coherent and implements an EPUB→Markdown converter. Before installing/running: (1) review the included convert.py if you want to verify behavior (it is bundled and readable), (2) know that 'uv run' will install Python dependencies from PyPI at runtime (network access), (3) the script writes files beside the EPUB or to an output directory you choose — avoid running it on sensitive system paths and do not pass an important directory unless you explicitly want to overwrite it with --overwrite, and (4) DRM‑protected books won't be converted. If you need offline-only installs or want to vet third-party packages, audit the listed dependencies (ebooklib, beautifulsoup4, markdownify) before use.
Capability Analysis
Type: OpenClaw Skill Name: epub-to-markdown Version: 1.1.1 The skill is a legitimate utility for converting EPUB files into structured Markdown libraries. The core logic in `scripts/convert.py` uses standard libraries (ebooklib, BeautifulSoup, markdownify) to extract text and images, includes safety checks against accidental directory overwrites, and lacks any indicators of data exfiltration, network calls, or malicious command execution.
Capability Assessment
Purpose & Capability
Name/description match the included script and docs. The only artifacts are a conversion script and reference docs; nothing asks for unrelated credentials, binaries, or system access.
Instruction Scope
SKILL.md instructs running the bundled script on a local .epub, explains output layout, and warns about overwrite behavior. The script only reads the provided EPUB and writes a local output directory; it does not read other system files or send data externally.
Install Mechanism
This is an instruction-only skill that includes a Python script. The script declares Python dependencies in inline metadata and relies on the 'uv run' behavior to install them on first use (which will pull packages from PyPI). That is expected for a Python-based converter but does imply runtime package installation from the network.
Credentials
No environment variables, credentials, or config paths are requested. The script operates on files provided by the user and writes output locally.
Persistence & Privilege
The skill does not set always:true, does not modify other skills or global agent settings, and only writes to the chosen output directory. It only removes an existing output directory when '--overwrite' is explicitly passed.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install epub-to-markdown
  3. After installation, invoke the skill by name or use /epub-to-markdown
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.1
Refine the public listing copy: sharpen the AI-ready positioning, clarify the META.md navigation value, and improve discovery tags for reading, summarization, retrieval, and downstream analysis.
v1.1.0
Restructure the skill for public release, move implementation into scripts/references, make overwrite behavior explicit and safe-by-default, improve metadata/YAML robustness, and tighten documentation.
Metadata
Slug epub-to-markdown
Version 1.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

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.

💬 Comments