Book Draft logo

Book Draft

Community
epicsagas
book-draft

Phase 3: Drafting. Voice lock on a sample chapter, then sequential full-context chapter drafting with draft-critique-revise, bible ledger updates, and periodic continuity checks.

Overview

Publisherepicsagas
RepositoryVelith
Skill namebook-draft
Stars
40
Forks
7
Bundled files
Instructions only
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by epicsagas on GitHub. Read the source before you install it.

Installation

Install the Book Draft AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/epicsagas/Velith/tree/main/skills/book-draft
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/epicsagas/Velith.git /tmp/Velith
mkdir -p .claude/skills
cp -r /tmp/Velith/skills/book-draft .claude/skills/book-draft
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Book Draft in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Book Draft on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Book Draft is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Phase 3: Drafting

Goal: a complete manuscript in one voice, internally consistent, each chapter already revised once against the quality bar. Drafting done this way needs an editor; drafting done to word count needs a rewrite.

Read ${CLAUDE_PLUGIN_ROOT}/skills/loom/quality-bar.md, then PRD.md, STYLE.md, outline.md, bible.md.

Refuse to draft if outline.md lacks ## Approval. Point the author to /book-outline.

Step 0: Voice lock (once per book)

If STYLE.md's ## Voice Lock says pending:

  1. Choose the sample chapter: chapter 1 by default, or the chapter the author names. For fiction, the architect may recommend a mid-book chapter if chapter 1 is atypical (prologue, framing device).
  2. Run scene-generator (fiction) then chapter-writer on that chapter exactly as in normal drafting.
  3. Present the chapter to the author with the writer's own critique scores. Ask: is this the voice? What is off? Required stop.
  4. On approval, record in STYLE.md under ## Voice Lock: date, chapter, the author's notes, and 2-3 quoted passages from the approved chapter that best represent the voice. Chapter-writer reads these on every later chapter.
  5. On rejection, revise the fingerprint per the author's notes, regenerate, present again. Up to three rounds, then ask the author to supply or edit a sample directly.

--voice-lock forces this step even if a lock exists (voice change mid-book).

Step 1: Order and concurrency

Narrative genres (fiction, screenplay, game, memoir, narrative nonfiction, poetry sequences): strictly sequential. Chapter N requires chapter N-1 saved with status: draft or later and a bible ledger entry.

Technical, reference, academic: read the dependency DAG in outline.md. Chapters with no unsatisfied prerequisites and no mutual references may draft concurrently, at most 3. Each concurrent writer still reads all completed chapters.

Never run two chapter-writers on the same chapter.

Step 2: Per-chapter loop

For each chapter to draft (skip existing unless --force):

  1. Fiction only: invoke scene-generator → drafts/ch{NN}-scenes.md (a plan, not prose).
  2. Invoke chapter-writer with the chapter number. It reads everything, drafts, critiques, revises, writes drafts/ch{NN}-{slug}.md, appends the chapter ledger in bible.md, and writes .velith/critiques/ch{NN}.md.
  3. Verify the writer's self-reported scores. If any axis < 6 after its revision, run it again with the critique as additional input before moving on.
  4. If the chapter spec lists figures, the writer has placed ![alt](../visuals/figures/{id}.svg) references with captions at the right spots. Invoke figure-engineer for those ids now (technical and nonfiction) so the figure exists while the chapter is fresh; illustrations wait for the look lock in /book-visuals.
  5. node ${CLAUDE_PLUGIN_ROOT}/velith.mjs scan [project-dir] so the dashboard updates.

Step 3: Continuity checks

Invoke continuity-editor after chapters 3, then every 4 chapters, then after the final chapter. It reads the whole manuscript against the bible. Minor issues are fixed in place; Critical and Major issues are reported and, for narrative genres, must be resolved before drafting continues (a contradiction in chapter 5 propagates into 6 through 20).

Chapter file format

markdown
---
chapter: 7
title: "..."
slug: "..."
word_target: 4000
words: 4120
status: draft        # draft | edited | final
revision: 1
critique_score: {voice: 7, structure: 7, depth: 8, specificity: 7, reader: 7}
created: 2026-09-04
updated: 2026-09-04
---

# Chapter title

Body...

Korean projects count characters excluding whitespace; count_unit: chars in PRD.

Gate

All chapters in outline.md exist as drafts. Every chapter has a critique with all five axes ≥ 6. Bible ledger has an entry per chapter. Last continuity report has no unresolved Critical issues. Voice lock recorded.

Resuming

/book-draft with no chapter argument resumes from the first missing chapter. /book-draft 12 drafts chapter 12 only (refuses for narrative genres if 11 is missing). /book-draft 12 --force redrafts 12 and warns that later chapters may need continuity review.

Post-completion

bash
node ${CLAUDE_PLUGIN_ROOT}/velith.mjs scan [project-dir]

Frequently asked questions

What does the Book Draft AI skill do?

Phase 3: Drafting. Voice lock on a sample chapter, then sequential full-context chapter drafting with draft-critique-revise, bible ledger updates, and periodic continuity checks.

Why use Book Draft on TypingMind?

Because you install it once and use it with any model. Book Draft is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Book Draft in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/epicsagas/Velith/tree/main/skills/book-draft. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Book Draft?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Book Draft?

As many as you like. As long as a model supports skills, you can use Book Draft with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Book Draft AI skill free?

Yes. It is published on GitHub by epicsagas under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇