Scan PDF to Epub Zh

将扫描版或图片型 PDF 制作成可追溯、可搜索、可调字号的可重排 EPUB,并执行逐页清点、双页拆分、保留证据的 OCR 路由、高清扫描核校、插图保留、导航构建、EPUBCheck 和阅读器实机检查。用于中文用户要求通过本地 OCR 路线或用户已提供的官方 PaddleOCR AI Studio 结果转换扫描 PDF、审计或修复既有转换项目,或设计隐私优先的 OCR→EPUB 流程时。普通文字型 PDF、固定版式 EPUB、仅翻译任务或未经授权的版权内容公开发布不触发。

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add hmylg/scan-pdf-to-epub-skill --skill scan-pdf-to-epub-zh
Manual install
git clone --depth 1 https://github.com/hmylg/scan-pdf-to-epub-skill.git /tmp/scan-pdf-to-epub-skill
mkdir -p ~/.claude/skills
cp -r /tmp/scan-pdf-to-epub-skill/.agents/skills/scan-pdf-to-epub-zh ~/.claude/skills/scan-pdf-to-epub-zh

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 扫描 PDF 转可重排 EPUB

## 目标

将扫描版或图片型 PDF 制作成可搜索、可调字号、可追溯的 EPUB,同时让每一页、每张图片、每个编辑决定和每项验收结果都能回查到原扫描。原 PDF 必须作为不可变的本地来源;OCR 只能生成候选,不能直接充当证据。

## 工作约束

- 原 PDF 只读:不要覆盖、重新保存、上传或公开。
- 在独立项目目录中工作,至少维护 src/、work/、tools/、逐页 book-manifest.json 和人工可读的 QA 报告。
- 保留原始 OCR JSON、候选文本、精校逐页文本、图片来源和修复记录。
- 保留封面、书名页、版权页、插图、二维码、标志、空白页和纸书页码锚点。
- 说明可重排 EPUB 保留的是可搜索正文和图片,不是 PDF 在所有字号和屏幕宽度下的精确页面布局。
- 不翻译、不润色、不顺语义、不根据上下文补写扫描中没有的文字。
- 不把 OCR 置信度、模型相似度或语言模型的通顺程度当作字符准确率。
- 改动原 PDF、上传内容、公开版权页或替用户裁决重要歧义前必须暂停确认。
- 如平台不是 macOS,要如实说明 Apple Vision 不可用;不能声称完成了任一路线中的 Apple Vision 对照。

## 工作流程

### 1. 先审计,再处理

开始前读取已有项目文档、脚本、manifest、OCR、精校稿和 QA 证据。能复用就增量修复,不要无理由从第一页重做。

记录原 PDF 路径、文件大小、SHA-256、页数、页面尺寸、旋转、文字层、书签、语言、书名、作者、转换策略、输出目录和目标阅读器。先说明已经完成的部分和缺失的证据。

在全文 OCR 前先输出:

1. PDF 页数以及单页/双页分布。
2. 预估纸书页范围和特殊页清单。
3. 当前已有文件和可复用脚本。
4. 预计生成的目录和 QA 证据。
5. 需要确认的书名、语言/字形保留、繁简策略和页面歧义。

书名、语言或繁简策略存在实质歧义时,未经确认不要启动全书 OCR。

### 2. 建立 manifest 和视觉清点

在生成最终文本前创建或修复 book-manifest.json。为每个 PDF 页分配稳定 ID,并使用 extracted、ocr-complete、proofed、illustration-ready、confirmed-blank 等状态。

每页至少记录:

- PDF 页码和物理版式(single 或 spread)。
- 原图尺寸、旋转、来源哈希和裁切框。
- 双页按本页实际书脊确定的 gutter 位置。
- 左右纸书页码、章节和特殊页类型。
- 原图、OCR 图、Vision JSON、PaddleOCR JSON、候选文本、最终文本和 QA 证据路径。
- 插图在 EPUB 中的位置和简短替代文字。

先看缩略图或 contact sheet,登记封面、书脊、作者页、题记、书名页、版权页、章首、插图、广告、空白分隔页和后记。每个原 PDF 页必须对应最终正文、保留的特殊页/插图,或明确确认的空白页。

不要对所有双页使用固定 50/50 裁切。依据本页暗带、空白带或文字边界估计书脊,并保存每页裁切参数。

### 3. 选择一条 OCR 获取路线并保留证据

全文处理前必须选择并记录一条 PaddleOCR 路线:
Read the full skill on GitHub

Details

Skill name
scan-pdf-to-epub-zh
Path
.agents/skills/scan-pdf-to-epub-zh/SKILL.md
License
CC-BY-4.0
Repo updated
7 August 2026

FAQ

What does the Scan PDF to Epub Zh skill do?

将扫描版或图片型 PDF 制作成可追溯、可搜索、可调字号的可重排 EPUB,并执行逐页清点、双页拆分、保留证据的 OCR 路由、高清扫描核校、插图保留、导航构建、EPUBCheck 和阅读器实机检查。用于中文用户要求通过本地 OCR 路线或用户已提供的官方 PaddleOCR AI Studio 结果转换扫描 PDF、审计或修复既有转换项目,或设计隐私优先的 OCR→EPUB 流程时。普通文字型 PDF、固定版式 EPUB、仅翻译任务或未经授权的版权内容公开发布不触发。

How do I install the Scan PDF to Epub Zh skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add hmylg/scan-pdf-to-epub-skill --skill scan-pdf-to-epub-zh. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Scan PDF to Epub Zh popular?

It lives in hmylg/scan-pdf-to-epub-skill, which has 9 GitHub stars and 0 forks.

Related skills

Scan PDF to Epub

9

hmylg/scan-pdf-to-epub-skill

Convert scanned PDFs into traceable, reflowable EPUB projects with page inventory, per-spread splitting, evidence-preserving OCR routing, visual proofreading, image preservation, navigation construction, EPUBCheck, and reader smoke tests. Use when Codex needs to turn a scanned or image-based PDF into a searchable, resizable EPUB; use either a local OCR route or user-supplied official PaddleOCR AI Studio exports; audit or repair an existing scan-to-EPUB project; or design a privacy-preserving workflow for Chinese, Japanese, English, or mixed-language books. Do not trigger for ordinary text PDFs

Documents & Office Files

Tmq Markdown2anything

9

tomique34/claude-skill-creator

Convert markdown files to visually appealing PDF, Word, or HTML documents with Slovak diacritics support, professional themes (professional, minimalist, technical, basic), and advanced table formatting. Use when converting markdown documentation to presentation-ready documents, creating professional web pages from markdown, reports from markdown notes, or batch-converting markdown files to styled PDF/DOCX/HTML formats.

Documents & Office Files

Pbr Lookdev Render

9

mukadeshinigami/claude-pbr-texture-agents

Look-dev and render rules for PBR material presentations in headless Blender Cycles (neutral grey series look, lighting variants, 4K stills, macro, turntable loop, mp4). Use when rendering ball/plane/landscape shots of a texture set or building lighting options for the user to choose.

Documents & Office Files

Keye Viral Dissect

9

keyelifeai/keye-open-skills

分析微信公众号、X、小红书等平台文章的结构、论证和情绪设计。用户提供文章、PDF 或公开 URL 并要求拆解、分析爆款或提取写作方法时使用。只做分析,不生成或重写文章。

Documents & Office Files

Pbr Texture Sheet

9

mukadeshinigami/claude-pbr-texture-agents

Build the "texture-guide" presentation sheet (cream page, serif title with an orange italic accent, mascot, sphere + plane cards, texture-map grid, source note card) from rendered stills with PIL. Use when the user asks for a presentation / poster / sheet of a material.

Documents & Office Files

Hyperformula

8

handsontable/handsontable-skills

Use this skill when the user works with HyperFormula (HF) — a headless, open-source TypeScript spreadsheet calculation engine. Use it when the user: mentions HyperFormula or HF; wants to integrate Excel-like formulas into a JS/TS app; evaluate formulas programmatically in a browser or Node.js; simulate spreadsheet or Excel calculation behavior server-side; run calculations over data parsed from XLSX files (e.g. via SheetJS) in code; build a pricing engine, financial model, or what-if analysis in code; define custom spreadsheet functions or named expressions outside of a UI context. Do NOT use

Documents & Office Files

Browse the most popular Claude skills, all documents & office files skills, or write your own with the skills generator.