book-draft

book-draft is a skill for Claude Code, Codex from epicsagas/Velith. It costs 25 tokens per session (271 once invoked), scanned A, original, Apache-2.0.

A book-drafting process that writes chapters from their specifications, checks them, and reviews continuity across the manuscript.

In plain words
What is it for?
It is for generating chapter files, checking word-count targets and formatting, writing independent chapters in parallel, and finding continuity problems.
Why use it?
It reduces unnecessary context while helping chapters meet their intended length, style, structure, and connections to earlier material.

Skill for Claude CodeCodex

Part of the velith plugin — 17 skills, 8 agents shipped together

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.

agentmods
npx agentmods add skills/epicsagas/velith/book-draft
Any agent
npx skills add epicsagas/Velith --skill book-draft
Clone the repo
git clone --depth 1 https://github.com/epicsagas/Velith

Made for: Claude Code, Codex.

Or install velith, the plugin that ships this one along with the rest of its 17 skills, 8 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-draft

README.md
[![agentmods](https://agentmods.dev/badge/skills/epicsagas/velith/book-draft.svg)](https://agentmods.dev/skills/epicsagas/velith/book-draft)
Your own site
<a href="https://agentmods.dev/skills/epicsagas/velith/book-draft"><img src="https://agentmods.dev/badge/skills/epicsagas/velith/book-draft.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 271 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00271
Opus 5 $0.00013 $0.00135
Sonnet 5 $0.00005 $0.00054
Haiku 4.5 $0.00003 $0.00027

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

Security

Grade A, and why

book-draft 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-draft/SKILL.md · 29 lines

What it actually says

Phase 3: Drafting

Plan-Then-Execute: pass chapter spec + previous chapter summary + relevant STYLE.md rules + source refs. Omit full prior chapter text, other chapters, full outline.

  1. Idempotency: skip existing chapters meeting min line count
  2. Context build: extract spec → prev summary → STYLE rules → source refs
  3. Write: ch{NN}-{slug}.md with frontmatter (chapter, title, word_target, status, dates)
  4. QA: word count ±10% · frontmatter present · STYLE rules · heading H1→H2→H3 · hook matches spec

Parallel: up to 4 concurrent chapters when prereqs done, no mutual refs.

Continuity (every 3-5 chapters): term consistency, logic flow, character/code compat, reference integrity.

Gate: all chapters exist, ±10% word target, continuity passed.

Post-Completion

Update the project dashboard status:

node {PLUGIN_ROOT}/velith.mjs scan [project-dir] --plugin-root={PLUGIN_ROOT}
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 First seen · 29 lines · 25 tokens per session scan A eba30c491c67

Subscribe to this mod's changes

book-draft is a skill published in the GitHub repository epicsagas/Velith (33 stars, last pushed yesterday), licensed Apache-2.0. It adds 25 tokens to every session and 271 once invoked, about $0.0001 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

agent-session-monitor

Real-time agent conversation monitoring - monitors Higress access logs, aggregates conversations by session, tracks token usage. Supports web interface for viewing complete conversation history and costs. Use when users ask about current session token consumption, conversation history, or cost statistics.

higress-group/higress · 53 tokens

higress-daily-report

生成 Higress 项目每日报告,追踪 issue/PR 动态,沉淀问题处理经验,驱动社区问题闭环。用于生成日报、跟进 issue、记录解决方案。.

higress-group/higress · 50 tokens

issue-spec-workflow

Use issue-spec to plan and implement a change through exact-head human review handoff.

higress-group/higress · 22 tokens

open-ontologies

AI-native ontology engineering using 50+ MCP tools backed by an in-memory Oxigraph triple store. Build, validate, query, and govern RDF/OWL ontologies with a generate-validate-iterate loop. Use when building ontologies, knowledge graphs, RDF data, SPARQL queries, BORO/4D modeling, SHACL validation, clinical…

fabio-rovai/open-ontologies · 110 tokens

shadcn-ui

Provides complete shadcn/ui component library patterns including installation, configuration, and implementation of accessible React components. Use when setting up shadcn/ui, installing components, building forms with React Hook Form and Zod, customizing themes with Tailwind CSS, or implementing UI patterns like…

shep-ai/shep · 74 tokens

debug-trt-mismatch

Use when TensorRT output diverges from a model reference, model-first validation fails, generated text or media is wrong, or a family change introduces a numerical mismatch. Routes the investigation by model modality and escalates from the first divergent boundary to the smallest responsible family-owned operation.

NVIDIA/TensorRT-Model-Connect · 61 tokens