novel-prep

Aggregates settings, outlines, and prior chapters into a compressed writing context under 2000 tokens.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/cwjdong-design/novel --skill novel-prep-cwjdong-design
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: novel-prep
Source: https://github.com/cwjdong-design/novel/tree/main/novel-prep
Command: npx skills add https://github.com/cwjdong-design/novel --skill novel-prep-cwjdong-design

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Writing a new chapter of a serialized web novel requires the author to juggle worldbuilding documents, character cards, foreshadowing trackers, error logs, and previous chapters. Manually assembling this context is slow and error-prone, and feeding everything raw to an LLM blows the context budget. This Skill automates the collection, prioritization, and compression of all relevant materials into a single structured context block. ## Core Features & Use Cases - Structured context assembly: Reads worldbuilding docs, character cards, foreshadowing tables, storyline status, outlines, and the last 1-5 chapters, with explicit handling for first-chapter (N=1) creation mode. - Weighted error recall: Applies a decay formula (weight × 0.7^chapter distance) to past correction records so only recent, high-impact mistakes surface in the context. - Foreshadowing prioritization: Sorts pending plot threads by overdue status, urgency tier, and remaining chapters so critical setups are never dropped. - Token budget compression: Enforces a 2000-token budget with a strict priority ladder that never trims character state, plus a reader-retention (drop-off) prediction for the target chapter. - Use Case: Before drafting chapter 42 of a fantasy serial, run this Skill to get a compact brief showing each character's current state, the two overdue foreshadowing threads due this chapter, the outline excerpt, the previous chapter's cliffhanger, and the top weighted correction feedback. ## Quick Start Prepare the writing context for chapter 42 of my novel using the novel-prep skill.

Frequently Asked Questions about novel-prep

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prepare context for writing a new novel chapter with AI?

Provide the book name and target chapter number, and the Skill reads worldbuilding docs, character cards, foreshadowing tables, outlines, and the last 1-5 chapters. It outputs a structured context block with character states, pending plot threads, outline points, and prior-chapter hooks.

How does the Skill keep the writing context under the token limit?

It enforces a 2000-token budget with fixed allocations per section and a priority compression ladder. Correction feedback and prior-chapter info are trimmed first, while character state is never cut. Chinese characters divided by two approximate the token count.

What happens when writing the first chapter with no previous text?

For chapter N=1, the Skill skips prior-chapter reading and marks fields as opening chapter with no prior text. It instead loads the author profile and platform style guide as the creative baseline, and foreshadowing sections are marked as empty.

How are past writing mistakes weighted for the current chapter?

Each correction record gets an initial weight by error type, multiplied by 0.7 raised to the chapter distance. Only records within 10 chapters qualify, repeated issues get a 1.5x boost, and the top 5 by effective weight are included.

Can the Skill predict where readers might drop the chapter?

Yes, it flags five high-risk positions in the chapter, such as the opening 100 words and the chapter-end hook, rates each as low, medium, or high risk, and estimates a retention percentage from outline conflict and hook strength.