kindlepub

Kindle出版技能:面向与Kindle出版相关的任务与流程,帮助AI Agent高效完成出版工作。

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "kindlepub":https://skillpi.com/zh/skills/deepskill-9d56ed0b75a4310c11a4918d6a97987770b652731f4d20d6388a759bb88da682。安装前核对上游来源和版本:https://skillhub.cn/skills/user_3c6cb52e/kindlepub。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

skillhub.cn

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

Kindle出版技能:面向与Kindle出版相关的任务与流程,帮助AI Agent高效完成出版工作。

0 下载

介绍来源: third_party · user_3c6cb52e · 1.0.0 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
来源文档未说明。
输入和输出
来源文档未说明。
软件、账号及付费要求
来源文档未说明。
限制与区别
来源文档未说明。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: Kindle出版技能
slug: kindlepub
version: 1.0.0
displayName: Kindle出版技能
description: >
  Kindle出版技能专用技能,帮助AI Agent高效完成相关任务。
summary: "Kindle出版技能专用技能,帮助AI Agent高效完成相关任务。"
license: MIT
category: 出版与内容
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

KindlePub — Amazon KDP publishing pipeline

Take a finished manuscript all the way onto Amazon. Each format (Kindle ebook, paperback, hardcover) is a SEPARATE KDP title that KDP links on one product page. The Kindle ebook is the fast win; the paperback is the value-priced print edition; the hardcover is the premium edition. You can do one, two, or all three.

Build everything to the edge, then hand the user the irreversible clicks. The user enters credentials, operates native file pickers, sets anything permanent, and presses Publish. You never type passwords or drive an OS file-open dialog.

Cover approach (important): generate the cover ART with Gemini Nano Banana, then assemble the actual cover in KDP Cover Creator — it lays in the title/author typography and auto-sizes the spine to the page count. Do not build a custom print-cover PDF or a custom 6×9 interior PDF; let KDP's tools size and paginate. (This is the path that shipped.)

What you need from the user (gather first)

  • The FINAL manuscript source. A Google Doc is ideal; a .docx also works. Confirm it is truly final — filenames lag content, so open it and read the version stamp (a "v15.7 FINAL" doc beats a "v16 draft" with a higher number).
  • Title, subtitle, author name, and the imprint/publisher line.
  • Cover art or a cover concept. If they have brand art, great; if not, you will generate it with Nano Banana (see Phase 3).
  • Which formats they want, and their KDP account email.

Flag early: the KDP account needs Two-Step Verification + tax/banking complete before the final Publish and before any royalty payment. That is the user's to finish.

Phase 1 — Lock the source, export a clean DOCX

If the source is a Google Doc, export a clean DOCX through the logged-in browser by navigating to: https://docs.google.com/document/d/<DOC_ID>/export?format=docx. This downloads the .docx with no copy/paste loss. Stage it for the EPUB build and (for print) for upload to KDP.

Phase 2 — Build the Kindle EPUB

Use scripts/build_epub.py. Edit the CONFIG block at the top (input DOCX, title, subtitle, author, contributors, cover JPG path, publisher) and run it. It uses mammoth (DOCX->HTML) + ebooklib, segments chapters, and adds the front matter most manuscripts lack: a copyright page, a medical/crisis disclaimer (the 988 block — keep it for anything touching health or safety), and a navigable table of contents. It preserves in-text diagrams.

Then validate with scripts/validate_epub.py (wraps epubcheck, which needs Java). Ship only on a clean pass. The script already encodes the three ebooklib traps that cost real time the first time:

  • Set EpubHtml.content to HTML with NO <?xml ... encoding?> declaration. ebooklib's lxml path silently returns an EMPTY body on an encoding-declared Unicode string, so your pages come out 0 bytes and "valid."
  • Attach CSS with add_link(...), not a <link> in your own head — ebooklib rebuilds the head from the title + links you register.
  • After set_cover(create_page=True), set the cover page is_linear=True and pass write_epub(..., {'epub3_pages': False}), or epubcheck throws OPF-096 / the page-list generator crashes on the empty cover body.

Phase 3 — The cover: Nano Banana art → KDP Cover Creator

Generate the cover art with Nano Banana (Gemini's image model), then assemble the cover in KDP Cover Creator. Cover Creator adds the title/author typography and auto-sizes the spine to the page count, so there is no custom PDF and no manual spine math.

Read references/nanobanana-cover-prompts.md for the prompt recipes and the one rule that matters: AI models always sneak garbled text onto pennants, clothing, book spines, and screens, so the prompt must forbid text on those surfaces — Cover Creator adds the real title later. The flow:

  1. Give the user the prompt (and tell them which reference image to attach). They generate the art in Nano Banana / Gemini and send back the file (no text in the art).
  2. In KDP, open Cover Creator, upload that art, and let it lay in the title, subtitle, and author and size the spine + back automatically. Uncheck "my cover has a barcode" so KDP leaves room for its own. Iterate on the layout with the user.
  3. For the Kindle ebook front cover, use Cover Creator's front-cover image (download it) as the ~1600x2560 JPG you upload in the ebook Content step — same art, one cover everywhere.

(Do NOT build a custom wraparound print-cover PDF — Cover Creator is the path.)

Phase 4 — Print interior (paperback / hardcover) — no custom PDF

Do not build a 6×9 interior PDF. Upload the manuscript DOCX to KDP for the print title; KDP paginates it, and Cover Creator sizes the spine to the resulting page count. Pick Black & white interior for a text book (see the print-cost trap in the walkthrough) and the common 6×9 trim. Let KDP's tools handle pagination and the spine.

Phase 5 — Draft the KDP metadata

Fill in references/metadata-template.md: title, subtitle, author, the back-cover-style description (KDP allows light HTML — paste clean <p> paragraphs via the Description box's "Source" mode), 3 BISAC categories, 7 keywords, the AI-content answers, price, and the release plan. Reuse the description as the online blurb and a trimmed version on the back cover.

Phase 6 — Walk the user through KDP

Drive the browser through Details -> Content -> Pricing -> Publish. Read references/kdp-walkthrough.md for the field-by-field script and every decision (AI-content disclosure, DRM, KDP Select, pre-order dates, the Cover Creator steps, and the print-cost trap that quietly forces a ~$49.99 hardcover). Hand the user every native file picker and the final Publish click.

Phase 7 — Document it

When the book is set up, save a publication record to the user's knowledge base (every KDP book id, the locked blurb + back-cover copy, asset locations, pricing, the AI disclosures, release dates) so the next format and the next book go faster. If the user keeps a notes repo, write it there and commit.

The scripts are templates, not black boxes

The two EPUB scripts each have a CONFIG block at the top — edit it for the book at hand. They are the exact tools that shipped a real title; read them before running so you can adapt rather than fight them. The cover and print spine are done in KDP's own tools (Cover Creator), not in code.

Tools & adapters

Capability Claude Code / Cowork Codex / Cursor / other
Build EPUB bash + python3 scripts/build_epub.py (pip deps) same
Validate EPUB python3 scripts/validate_epub.py (epubcheck + Java) same
Generate cover art hand user the Nano Banana / Gemini prompt same
Assemble cover + spine KDP Cover Creator in the browser same
Drive KDP / native pickers hand the user the irreversible clicks same

Deps: mammoth ebooklib beautifulsoup4 lxml epubcheck (+ Java on PATH for epubcheck).

Portability

Class: portable. A self-contained pipeline with no external coupling and no secrets — the only dependencies are pip packages plus Java for epubcheck, and there is no env config (requires_config: []). The cover and spine are assembled in KDP Cover Creator (no custom PDF), and the worked example in references/nanobanana-cover-prompts.md is fully generic (no real book or author names). The installed original remains the untouched fallback until this copy is validated at parity.

Acceptance check

  • Trigger: "put my book on Amazon" / "make this a Kindle book" / "I finished my manuscript, now what".
  • Expect: builds an epubcheck-clean EPUB; generates cover art with Nano Banana (no garbled text); assembles the cover in KDP Cover Creator (auto-spine) and reuses its front for the ebook; uploads the manuscript DOCX for print; drafts KDP metadata; walks Details→Content→Pricing→Publish, handing the user every irreversible click.
  • Must NOT: type the user's passwords or drive native OS file pickers; ship an EPUB that fails epubcheck; build a custom print-cover or 6×9 interior PDF (use Cover Creator

当前收录版本

1.0.0

核对来源版本 ↗

安全与评测信息

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值95/100

亮点

  • 提供完整的 Kindle 出版流水线,涵盖电子书与纸质书出版全流程
  • 解决用户从完稿到上架 Amazon 的实际痛点,属于高价值/高频刚需场景
触发精准90/100

亮点

  • description 明确描述用途,acceptance check 中提供具体触发词(如 "put my book on Amazon")
  • 覆盖合理且边界清晰
结构规范95/100

待提升项

  • description 重复 原报告严重程度:轻微

    顶层 frontmatter 与 skill_body 内均包含 description 字段,内容重复

    改进建议:建议移除 skill_body 内的 description 字段,保留顶层 frontmatter 中的定义

  • 缺少 When to Use 显式章节 原报告严重程度:轻微

    文档未显式设置 When to Use 章节,但 acceptance check 已隐含使用场景

    改进建议:建议在文档开头添加 When to Use 章节,明确列出典型使用场景

亮点

  • 文档结构清晰,分 Phase 1-7 详细步骤
  • 含端到端示例与工具说明,frontmatter 完整
执行可靠90/100

亮点

  • 工具来源明确(scripts/build_epub.py 等),参数说明清晰
  • 覆盖主要异常(如 epubcheck 验证、编码陷阱),不可逆操作明确交由用户执行
证据可验 (前四项均值)93/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 31 行
文档引用的域名或地址

这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。

  • docs.google.com
  • github.com

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

来源文档未说明。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。