book-publish

book-publish is a skill for Claude Code from epicsagas/Velith. It costs 62 tokens per session (1,594 once invoked), scanned A, original, Apache-2.0.

A book-publishing workflow that turns Markdown drafts into ebook, print-ready PDF, MOBI, text, and Markdown files. It also prepares book metadata, title ideas, cover concepts, illustration plans, and a marketing plan.

In plain words
What is it for?
Use it to prepare a book for distribution, including EPUB or PDF creation, Kindle-related files, metadata, title selection, cover planning, illustrations, and launch planning.
Why use it?
It removes the need to manage several publishing formats and planning documents by hand. It also provides checks for required publishing materials.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the velith plugin — 18 skills, 12 agents shipped together

Good fit Use it to prepare a book for distribution, including EPUB or PDF creation, Kindle-related files, metadata, title selection, cover planning, illustrations, and launch planning.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add epicsagas/Velith
Claude Code
/plugin install velith

Made for: Claude Code.

Or install velith, the plugin that ships this one along with the rest of its 18 skills, 12 agents.

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 book-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/epicsagas/velith/book-publish/github.svg)](https://agentmods.dev/skills/epicsagas/velith/book-publish)
Your own site
<a href="https://agentmods.dev/skills/epicsagas/velith/book-publish"><img src="https://agentmods.dev/badge/skills/epicsagas/velith/book-publish/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 book-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/epicsagas/velith/book-publish"><img src="https://agentmods.dev/badge/skills/epicsagas/velith/book-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,594 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.00062 $0.01594
Opus 5 $0.00031 $0.00797
Sonnet 5 $0.00012 $0.00319
Haiku 4.5 $0.00006 $0.00159

Measured 4d ago against content hash 99867d51dd1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

book-publish 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 4d 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.

skills/book-publish/SKILL.md · 107 lines

How it starts

The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Phase 5: Publishing

Goal: files a distributor accepts on the first upload, and the supporting assets a launch needs.

Gate in

edits/readiness-report.md must say verdict: PASS. Without it, stop and explain; --force overrides and records the override in publish/PUBLISH-NOTES.md. Also refuse if any chapter is not status: final unless forced.

1. Metadata and front/back matter

Write publish/metadata.yaml:

title: ...
subtitle: ...
author: ...
lang: ko          # BCP-47
date: 2026-09-04
publisher: ...
rights: © 2026 Author. All rights reserved.
description: |      # 150-300 words, the back-cover copy
keywords: [..., ...]
cover-image: cover/cover.jpg   # only if the file exists
toc-title: 차례

Generate front matter files in publish/frontmatter/: title page, copyright page (include an AI-assistance disclosure line if the author wants one; Amazon KDP requires disclosure of AI-generated text at upload regardless), dedication (if any), epigraph (if any). Back matter: about the author, acknowledgments, further reading (nonfiction), glossary (technical), index of sources (academic).

Chapter files are the drafts/ files with frontmatter stripped. Do not build from edits/.

2. Build

Requires pandoc. Check with pandoc --version; if missing, tell the author how to install and stop after writing metadata.

# EPUB
pandoc publish/frontmatter/*.md drafts/ch*.md publish/backmatter/*.md \
  -o publish/book.epub --toc --toc-depth=2 \
  --metadata-file=publish/metadata.yaml --css=publish/style.css \
  --epub-chapter-level=1

# PDF (requires xelatex; CJK needs a font)
pandoc ... -o publish/book.pdf --pdf-engine=xelatex \
  -V geometry:paperwidth=6in,paperheight=9in,margin=0.75in \
  -V mainfont="Noto Serif CJK KR" -V CJKmainfont="Noto Serif CJK KR" \
  --toc

# MOBI (optional; Kindle accepts EPUB)
ebook-convert publish/book.epub publish/book.mobi

# TXT, MD
pandoc ... --to plain --wrap=none -o publish/book.txt
pandoc ... --to markdown --standalone -o publish/book.md

Read the full file on GitHub · 107 lines

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. 4d ago Changed · +68 lines · +24 tokens per session 99867d51dd1f
  2. 10d ago First seen · 39 lines · 38 tokens per session scan A 6789d88c2fa4

Subscribe to this mod's changes

book-publish is a skill published in the GitHub repository epicsagas/Velith (34 stars, last pushed 4d ago), licensed Apache-2.0. It adds 62 tokens to every session and 1,594 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

data-report

A report generator that turns CSV, Excel, or JSON data into a complete HTML page with key figures, charts, written insights, and a data table.

ZJU-REAL/Easel · 75 tokens

doc-convert

A converter that formats Markdown documents as HTML, printable PDF files, or long PNG images. Markdown is plain text with simple formatting marks for headings, lists, tables, and code.

ZJU-REAL/Easel · 77 tokens

hermesoffice-documents

Produce and edit Word documents in HermesOffice Docs — block editing, tracked changes, reports, and the templates/docs library (meeting notes, business plan, PRD, decision memo, and more). Load for any request that creates or restructures a document.

criptogus/HermesOffice · 57 tokens

hermesoffice

Core conventions for working inside the HermesOffice suite (Docs, Sheets, Slides, PDF) — session continuity, tool selection, and the save-and-reload contract. Load whenever a request originates from a HermesOffice AI panel or targets an office document on this machine.

criptogus/HermesOffice · 57 tokens

production-prep

Última etapa. Revisão técnica (ortografia, gramática, consistência) + formatação para ebook e impresso. Dois especialistas num só. Usar após todas as revisões de conteúdo estarem prontas, antes de publicar ou submeter.

felipelobomotta-blip/book-genesis-v4 · 56 tokens

book-auto

One-command book generation. Give it an idea, get a publish-ready book. Dispatches the book-orchestrator agent which runs the entire 17-phase pipeline autonomously, pausing only at 3 human checkpoints.

felipelobomotta-blip/book-genesis-v4 · 47 tokens