export-book

export-book is a skill for Claude Code, Codex from LiPu-jpg/Openwrite. It costs 46 tokens per session (391 once invoked), scanned A, original, Apache-2.0.

A preflight and export workflow for a finished manuscript. Preflight checks the book before creating a backup or delivery file such as an EPUB, a common ebook format.

In plain words
What is it for?
Use it to check reading order, structure, writing goals, review freshness, and approval status, then export a backup or deliverable in the chosen format.
Why use it?
It separates manuscript export from downloading session logs and identifies blocking problems before delivery.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to check reading order, structure, writing goals, review freshness, and approval status, then export a backup or deliverable in the chosen format.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lipu-jpg/openwrite/export-book
About the project

Openwrite is a local-first novel-writing studio for DeepSeek Harness, combining an AI agent with tools for planning stories, managing characters and settings, writing chapters, reviewing drafts, and exporting books. It is intended for long-form fiction writers who want their project files, creative notes, and credentials kept in local directories. The catalogue add-ons are Openwrite skills that extend this writing workflow.

LiPu-jpg/Openwrite · 1,048 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LiPu-jpg/Openwrite --skill export-book
Clone the repo
git clone --depth 1 https://github.com/LiPu-jpg/Openwrite

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for export-book

README.md
[![agentmods](https://agentmods.dev/badge/skills/lipu-jpg/openwrite/export-book/github.svg)](https://agentmods.dev/skills/lipu-jpg/openwrite/export-book)
Your own site
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/export-book"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/export-book/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for export-book

Your own site · 80×15
<a href="https://agentmods.dev/skills/lipu-jpg/openwrite/export-book"><img src="https://agentmods.dev/badge/skills/lipu-jpg/openwrite/export-book.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 391 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.00391
Opus 5.5 $0.00018 $0.00156
Sonnet 5.5 $0.00009 $0.00078
Haiku 4.5 $0.00005 $0.00039

Measured 12d ago against content hash 9cf0267f6834, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

export-book scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

presets/openwrite/skills/export-book/SKILL.md · 18 lines

What it actually says

Language: follow the author's current conversation language for responses and help; preserve the manuscript language. Translate these instructions when presenting them.

导出

接到已有 novel_*。成稿导出与会话日志下载不是同一条命令。

  1. novel_export(action="preflight":阅读顺序、结构缺陷、写作目标、评审新鲜度、正文接纳、阻断项与警告。
  2. 向作者说明三种 purpose:personal_archive(作者自留,可带警告下载,不代表通过交付门禁)、backup、delivery(门禁阻断则不可交付)。
  3. 作者确认后 novel_export,原样传入同一 format、purpose 与 preflight_revision。
  4. 若 purpose="delivery" 且宿主工具面存在 dog_validate / dog_create / dog_run(已安装 @fuxi-ailabs/dsh-dog),可询问作者是否按 dog-delivery-verification 技能追加一次独立 DoG 验收(会触发独立 verifier 模型调用,需作者确认后再运行)。

不要用宿主 /export 下载会话日志来代替成稿。完整项目档案走 novel_project(action="archive", archive_op="preflight" → archive_op="create"(需带 expected_preflight_revision)→ 需要时 archive_op="restore_preview" / archive_op="restore"。

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed 9cf0267f6834
  2. 13d ago Changed · +1 lines 2ccff1a4ea81
  3. 25d ago Changed a31df5127097
  4. 1mo ago Changed · +2 lines 0ba8f1391585
  5. 2mo ago First seen · 15 lines · 46 tokens per session scan A b832e5219679

Subscribe to this mod's changes

export-book is a skill published in the GitHub repository LiPu-jpg/Openwrite (1,048 stars, last pushed 4d ago), licensed Apache-2.0. It adds 46 tokens to every session and 391 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.

Related

export-book compared with skills from other repositories

export-book next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
export-bookLiPu-jpg/OpenwriteSkill1.0k4d agoApache-2.0A46Claude Code, Codex
markitdown-converteromagents/omagentsSkill361todayMITA181Codex
pdf-image-text-extractorredfox-data/redfox-community-dshSkill138d agoMITA179Claude Code, Codex
dsh-paddleocr-skills-setupAidenwu0209/dsh-PaddleOCR-SkillsSkill33mo agoApache-2.0A88Claude Code, Codex
dsh-coworkJesse-njx/dsh-coworkSkill43mo agoMITA40Claude Code, Codex
paddleocr-doc-parsingAidenwu0209/dsh-PaddleOCR-SkillsSkill33mo agoApache-2.0A23Claude Code, Codex
paddleocr-text-recognitionAidenwu0209/dsh-PaddleOCR-SkillsSkill33mo agoApache-2.0A25Claude Code, Codex