/novelist:novel-story-tellingfrom Novelist
Designs and controls whole-novel storytelling: reader mental-model progression, chapter flow, conflict arcs, foreshadowing, continuity, and safe chapter-file creation for Markdown novel repositories.
Ships in Novelist. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Before running a bundled command, resolve <skill-dir> to the absolute directory
containing this SKILL.md. Keep --project-root pointed at the active novel
workspace, not at the skill or plugin installation.
Treat chapters/ as manuscript canon and all other source directories as planning and continuity evidence. Follow AGENTS.md. Never edit published/ as source.
Write all agent instructions, temporary prompts, schemas, and script inputs in English. Write manuscript prose and author-facing creative output in this order of precedence:
project.md language;style/000.style-guide.md language;Preserve names, honorifics, invented terms, and spelling from canonical files. Do not translate them unless requested.
Resolve conflicts by authority: explicit author direction > final source > revision source > latest manuscript fact > draft source > outline or seed. Report unresolved conflicts; do not silently choose or invent canon.
Keep analytical review separate from ordinary planning, drafting, and revision.
Do not invoke analytical-review unless the author explicitly requests
critique/review or explicitly delegates the complete autonomous novel lifecycle
from initial planning through publication.
For that fully autonomous start-to-publication request only, after all chapters
are drafted and before calling publish-novel:
analytical-review;apply, defer, or reject with a concise
rationale;publish-novel for deterministic packaging.An ordinary request to finish remaining chapters, revise known material, or publish an existing manuscript does not by itself authorize this loop. If the author explicitly asks for review and revision together, keep diagnosis and application distinct and preserve finding IDs through the handoff.
Read AGENTS.md, project.md, style/000.style-guide.md, plot/000.master-plot.md, and outlines/000.master-outline.md. Determine:
Do not load every source file into context by default.
Run:
python3 "<skill-dir>/scripts/build_story_context.py" \
--project-root . \
--chapter <number> \
--query "<POV, location, entities, conflict, or theme>" \
--max-tokens 6000 \
--output-language auto \
--output /tmp/story-context.md
Read the resulting pack. It prioritizes explicit links, active master sources, the target outline, recent chapters, the story ledger, and query matches. It includes source paths so every inferred constraint can be checked against canon.
Treat the context pack as author-side evidence, not proof that a reader has seen a fact. Reconstruct reader knowledge only from prior publishable ## Draft text and explicitly recorded reader-facing evidence. Synopsis, Revision Notes, outlines, character sheets, hidden truth, and canon-fact ledger entries do not count as reader exposure. Treat recorded expected inferences as editorial hypotheses and spot-check them against Draft before relying on them.
Increase the budget only when the pack proves insufficient. Prefer linked fact cards and Continuity sections over full old chapters. Read a full source file only to resolve ambiguity or recover scene-level nuance.
Read story-flow.md for whole-book and chapter-unit control. Read only the genre references needed for the current project:
For hybrids, select one primary story engine and at most two secondary engines per chapter. Preserve each genre's reader contract. For example, a romantic subplot may intensify a mystery, but it must not excuse an unseeded solution.
Before outlining or drafting, state compactly:
Keep a distinction between facts, plans, and hypotheses. A plan in an outline is not yet an event in canon.
Give the chapter one primary job. Define:
Use the chapter motion inherit → pressure → choice → consequence → handoff. Vary scene rhythm and emotional temperature inside that motion. Do not force a twist when a decision, recognition, or cost produces the stronger turn.
Run the structural audit:
python3 "<skill-dir>/scripts/check_continuity.py" --project-root .
Then perform the semantic gate using the context pack:
| Dimension | Entry fact | Proposed change | Evidence | Valid transition? |
|---|---|---|---|---|
| Character knowledge | ||||
| Physical state and possessions | ||||
| Relationship and obligation | ||||
| Location and elapsed time | ||||
| World or genre rule | ||||
| Clue, secret, or reveal | ||||
| MacGuffin custody and meaning | ||||
| Open thread and promised payoff |
Fix an invalid transition in the plan before drafting. If the author intends a retcon, identify every affected source file and obtain confirmation before changing established canon.
Then map the chapter's major beats with the reader-model table in story-flow.md. Every required inference must have reader-visible prerequisites. Preserve local orientation—who wants what, what changed, and why it matters—even when the larger truth remains hidden. Split or sequence a beat that requires several unrelated new names, rules, timelines, and causal claims at once unless overload is an intentional experience.
Follow the author-approved chapter contract and existing voice. Make every scene change at least one of: knowledge, leverage, relationship, objective, risk, resource, location, or commitment.
Preserve causal links. Use therefore or but transitions between major beats more often than unrelated and then transitions. Let relief expose consequences, deepen attachment, or reposition the next threat.
Compose information as a reader-state transition: anchor the current picture, present a perceivable cue, permit the intended inference, and let action or consequence use that update. The reader need not know the hidden truth, but must be able to understand the immediate situation and recover the intended causal bridge. Prefer reordering, dramatizing, bridging, or pruning information over repairing every gap with explanation. Preserve rewarding subtext and inference instead of explaining away all ambiguity.
Do not hide information that the viewpoint character is actively thinking merely to manufacture surprise. Hide significance, access, motive, or interpretation instead.
For a new chapter, prepare a reviewed UTF-8 JSON payload. Use English field names and write title, synopsis, draft, and creative notes in the manuscript language:
{
"number": 7,
"title": "The Burned Index",
"slug": "the-burned-index",
"status": "draft",
"pov": "char-protagonist",
"timeline": "Day 12, after sunset",
"setting": "world-royal-archive",
"word_target": 2500,
"characters": ["char-protagonist"],
"materials": [],
"macguffins": ["macguffin-burned-index"],
"plot_threads": ["plot-main"],
"outline": "outline-chapter-007",
"published": false,
"tags": [],
"synopsis": "One or two paragraphs describing the chapter's change.",
"draft": "Complete manuscript prose.",
"revision_notes": "Optional reviewed notes."
}
Write it with the bundled guardrail:
python3 "<skill-dir>/scripts/write_chapter.py" \
--project-root . \
--input /tmp/chapter-007.json
The script must create exactly chapters/NNN.lowercase-ascii-slug.md, populate the repository chapter schema, and refuse any existing chapter number or path. Never bypass that refusal. If the number already exists, treat the task as a revision and edit that file minimally; do not regenerate or replace the whole file. Preserve its created date, set updated to the current ISO date, keep number, id, title, slug, filename, and H1 synchronized, and retain author text outside the requested revision.
Every chapter file must follow chapters/_template.md and contain exactly one H1 matching title, followed by exactly one each of ## Synopsis, ## Draft, and ## Revision Notes. Put manuscript prose only in ## Draft. Remove all template placeholder prose. Do not write a chapter outside chapters/, nest it in a subdirectory, omit YAML arrays, or invent non-ASCII filenames.
Treat the chapter file as an editorial container: only ## Draft is
publishable. Keep Synopsis and Revision Notes useful to writers, but never
repeat their text as a preface, summary, or appendix inside Draft.
Use the Draft Markdown contract consistently:
*“…”*,
whether it stands alone or shares a paragraph with narration, as in
*“Approved.”* Rhea said. EPUB maps only that range to
<i class="dialog"> with serif italic styling.*…* for interior thought. Use curly single quotes ‘…’
for cited wording, remembered phrasing, or a quotation nested inside speech.
A curly double-quoted span anywhere outside exact *“…”* markers is an error
because it cannot be styled or classified safely.**…** only for genuine strong emphasis. Keep every marker pair balanced
on one line.--- alone between blank lines for a scene or time break. Never use
* * * or a decorative bullet sequence.Immediately after creating or revising the file, run:
python3 "<skill-dir>/scripts/check_continuity.py" \
--project-root . \
--strict
Resolve every error. Review warnings and either fix them or report why they are intentional. Do not present a malformed chapter as completed.
After the structural gate, run the reader mental-model audit in story-flow.md using only reader-visible Draft text. At each scene or major turn, state what the target reader can now describe, likely believes or suspects, still asks, and anticipates. Compare that reconstruction with the intended trajectory and repair accidental confusion, author-knowledge leakage, unsupported inference, cognitive overload, or inert repetition.
The strict gate must reject curly double-quoted speech without the surrounding emphasis, straight ASCII dialogue quotes, and 5 consecutive dialogue-only paragraphs without a readability break. It must accept narration before or after a marked dialogue range in the same paragraph, shorter dialogue-only runs, unquoted italic interior thought, and curly single-quoted cited wording.
After the author accepts or finalizes a chapter:
{
"chapter": 12,
"title": "Chapter title",
"summary": "Objective account of what changed.",
"canon_facts": [],
"state_changes": [],
"timeline_changes": [],
"knowledge_changes": [],
"reader_model_changes": [
{
"id": "reader-model-change-id",
"status": "expected",
"evidence": "Reader-visible detail in Draft.",
"expected_inference": "What the target reader can now infer.",
"uncertainty": "Alternative interpretation or confidence limit."
}
],
"open_reader_questions": [],
"macguffin_changes": [],
"open_threads": [],
"resolved_threads": [],
"uncertainties": []
}
Keep reader_model_changes editorial rather than canonical. Use separate evidence and expected_inference fields, and record an uncertainty whenever another interpretation remains plausible. Record open_reader_questions only when the chapter intentionally keeps them alive; do not use this section for missing explanations or continuity gaps.
python3 "<skill-dir>/scripts/update_story_ledger.py" \
--project-root . --input /tmp/chapter-state.json --dry-run
--dry-run.Never record speculation as a fact. Put ambiguity in uncertainties with competing interpretations.
Do not finish a story-planning or chapter task until:
chapters/ with synchronized filename, frontmatter, H1, and required body sections;agents/openai.yaml (opens in a new tab)references/drama.md (opens in a new tab)references/mystery.md (opens in a new tab)references/romantic-entanglement.md (opens in a new tab)references/science-fiction.md (opens in a new tab)references/story-flow.md (opens in a new tab)references/time-travel-and-loop.md (opens in a new tab)references/wuxia.md (opens in a new tab)scripts/build_story_context.py (opens in a new tab)scripts/check_continuity.py (opens in a new tab)scripts/story_io.py (opens in a new tab)scripts/update_story_ledger.py (opens in a new tab)scripts/write_chapter.py (opens in a new tab)tests/test_chapter_markup.py (opens in a new tab)tests/test_story_ledger.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub comfuture/novelist --plugin novelist9 skills in this plugin
/analytical-reviewReview novel outlines, drafted chapters, full manuscripts, and prior revision findings as an independent analytical editor. Use when the author explicitly requests critique, developmental review, work examination, line editing, proofreading, whole-manuscript review, or regression verification, and when an explicitly fully autonomous workflow covers the complete novel lifecycle from initial planning through publication. Produce an intent-aware, evidence-backed report with Overall Assessment, Work Examination, and Line Editing or Proofreading sections while remaining read-only by default. Do not invoke this skill automatically for ordinary planning, drafting, revision, continuity validation, EPUB export, build, regeneration, packaging, validation, or publication requests./create-characterCreate character source files for this novel project. Use when the user wants to invent, refine, name, or save a fictional character into characters/ as Markdown with YAML frontmatter, especially from role, personality, setting, era, region, language, relationships, motives, secrets, or plot function./create-materialCreate story material source files for this novel project. Use when the user wants to generate, refine, or save raw novel material such as motifs, objects, scene seeds, dialogue seeds, research notes, themes, images, conflicts, clues, or reusable ideas into materials/ as Markdown with YAML frontmatter./create-novel-projectInitialize a safe, self-contained Markdown novel workspace from the Novelist plugin scaffold. Use when the user wants to start, scaffold, bootstrap, or create a new novel project with source directories, templates, continuity rules, visual guidance, and EPUB output conventions./create-plotCreate whole-novel plot and plot-thread source files for this novel project. Use when the user wants to generate, refine, structure, or save a central plot, act structure, promise, pressure, reversals, turns, reveals, or payoffs into plot/ as Markdown with YAML frontmatter./create-settingCreate whole-novel setting and worldbuilding source files for this novel project. Use when the user wants to generate, refine, or save a novel setting, era, region, social order, locations, rules, atmosphere, constraints, or continuity facts into world/ as Markdown with YAML frontmatter.Other plugins' skills for the same job