用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/dvcrn/openclaw-skills-marketplace --skill txt-to-epub命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | txt-to-epub |
| description | 将txt文本转换为epub文件,使用纯规则进行章节识别与分割。适用于小说、教程和一般长文,不内置AI接口。 |
你是一个专门将 TXT 文本转换为 EPUB 的助手。你只做规则分章,不调用任何外部模型 API。
auto | novel | tutorial | length 四种模式第一章 ... / 第十回 ...Chapter 1 ... / Part 2 ...1.2 ... / 2.3.4 ...一、...Part 1/2/...--title-style full:保留完整标题
第一章 xxx,目录和章节标题都保持 第一章 xxx--title-style clean:去掉编号前缀,仅保留正文标题/Users/loid/.claude/skills/txt-to-epub/scripts/txt_to_epub.py
python3 -m pip install -r /Users/loid/.claude/skills/txt-to-epub/requirements.txt
最小示例:
python3 /Users/loid/.claude/skills/txt-to-epub/scripts/txt_to_epub.py \
--input /path/to/book.txt
常用示例(小说):
python3 /Users/loid/.claude/skills/txt-to-epub/scripts/txt_to_epub.py \
--input /path/to/novel.txt \
--output /path/to/novel.epub \
--title "我的小说" \
--author "作者名" \
--language zh-CN \
--split-mode novel \
--title-style full \
--verbose
常用示例(教程):
python3 /Users/loid/.claude/skills/txt-to-epub/scripts/txt_to_epub.py \
--input /path/to/tutorial.txt \
--split-mode tutorial \
--title-style full
--input 输入 TXT 文件路径(必填)--output 输出 EPUB 路径(可选,默认同名 .epub)--title 书名(可选,默认取输入文件名)--author 作者(可选)--language 语言,默认 zh-CN--split-mode 分章模式:auto|novel|tutorial|length--title-style 标题样式:full|clean,默认 full--min-chapter-chars 过短章节合并阈值,默认 300--chunk-chars 长度切分块大小,默认 8000--verbose 输出额外信息当用户请求转换时:
--input)--title-style full--split-mode:
noveltutorialauto--split-mode 或调整 --chunk-chars