epub-to-md SKILL.md skillA
epub-to-md from qridoki/in-search-of-lost-time-translation-project is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add qridoki/in-search-of-lost-time-translation-project/epub-to-md@git:20261029.c9c3f79Pins git:20261029.c9c3f79 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- qridoki/in-search-of-lost-time-translation-project
- Path
.ai/skills/epub-to-md/SKILL.md- Versions recorded
- 1
- Latest version
- git:20261029.c9c3f79, committed Oct 29, 2026
- Size
- 11,796 bytes
- Repository stars
- 126
- License
- a license file GitHub does not identify
将 EPUB 电子书转换为 Markdown,每章一个独立文件。使用 Calibre + Pandoc 命令行工具。当用户提到"转换 epub"、"epub 转 markdown"、"拆分章节"、 "提取电子书"、"epub to markdown"时使用此 skill。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# EPUB 转 Markdown
将用户提供的 EPUB 文件转换为 Markdown,每章一个独立文件,确保图片和链接尽量可用。
## 输入
- `$ARGUMENTS`:EPUB 文件的路径(相对或绝对路径均可)
## 输出目录规则
**输出目录 `raw-md/` 生成在 EPUB 文件所在目录下**(与源文件平级)。
例如:
- 输入 `~/my-book/book.epub` → 输出 `~/my-book/raw-md/`
- 输入 `./justice.epub` → 输出 `./raw-md/`
## 输出目录结构
```
<epub所在目录>/
├── <epub文件> # 原始 EPUB
└── raw-md/ # 转换输出
├── images/ # 所有提取的图片
├── chapters/ # 每章一个文件,三位数字命名
│ ├── images # → 上层 images 的软链接
│ ├── 000.md
│ ├── 001.md
│ └── ...
├── index.md # 目录索引
└── conversion_log.txt # 转换日志
```
## 执行步骤
严格按顺序执行,每步报告结果。
### 第一步:环境检查与目录准备
```bash
which ebook-convert && ebook-convert --version | head -1
which pandoc && pandoc --version | head -1
```
如果 `ebook-convert` 或 `pandoc` 不存在,立即报告并停止。
确定输出根目录:
```bash
EPUB_PATH="$ARGUMENTS"
WORK_DIR=$(dirname "$(realpath "$EPUB_PATH")")
RAW_DIR="$WORK_DIR/raw-md"
mkdir -p "$RAW_DIR/images" "$RAW_DIR/chapters"
```
后续所有操作都在 `$WORK_DIR` 下进行,输出写入 `$RAW_DIR`。
### 第二步:Calibre 拆分 EPUB(首选方案)
```bash
ebook-convert "$EPUB_PATH" "$RAW_DIR/html_source" \
--chapter "//h:h1|//h:h2" \
--chapter-mark pagebreak \
…Read the whole file at its exact version.
How to install
mdr add qridoki/in-search-of-lost-time-translation-project/epub-to-md@sha256:d6f8b8451aafabc2The line at the top of this page pins the label git:20261029.c9c3f79, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_3cujkby5gme2ikaj)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Oct 29, 2026.
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (11796 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
qridoki/in-search-of-lost-time-translation-project · 126 stars · license a license file GitHub does not identify · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_3cujkby5gme2ikaj GET https://markdownregistry.com/api/v1/resolve?ref=qridoki/in-search-of-lost-time-translation-project/epub-to-md GET https://markdownregistry.com/api/v1/blob/d6f8b8451aafabc27768aea23bb8beeb3bd58f6b822ff96e07fa54182d222c3d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from qridoki/in-search-of-lost-time-translation-project
Every file in qridoki/in-search-of-lost-time-translation-project