Skill: Web Novel Creation Skill
Version: v7.45 (2026-10-12) · Ultra-Long Scale Edition
Core Features: Nine Modes, One Entry (Long/Short/Short Drama Script/Market Scan/Book Deconstruction/Import Old Book/Proofread/De-AI-fy/Cover) + 30 Checks (13 Script Hard Checks + 17 AI Semantic, including Chapter Title Platform Standards + Plot Advancement Anti-Circle) + Golden Opening + Expectation System + Viewpoint Discipline + Show Don't Tell + Pleasure Loop + Face-Slapping Quadruple Beat + Cheat Code Design Principles + AI-ness Index (Including Eight-Dimensional View and Inter-Chapter 5-gram Structural Dimension) + Zhuque AI Text Online Detection (Optional, Quantitative Review + Segment Localization) + Author Memory + Constraint Lock + Serialization Memory (Three-Layer Review Archive + Information Gap Matrix) + Setting Priority Chain + Polishing and Expansion Recipe Library + Pacing Quantification (Conflict Score/Chapter Type/Buffer Chapter Triage) + Hook Carrier DNA (Five-Slot Fingerprint) + Failure Code Gate + Setting Library Health Check + Style Sample Soft Doorbell + Constant Centralization + Open-Source Merged Project Health/Context Pack/Continuity/Diff/Snapshot Loop + SkillHub Version Detection, Secure Update, Backup & Failure Rollback + One-Click Version Bumpbump_version.py(Version + Date Synchronized to All Registration Points, v7.43) + Review Skeleton Generatorreview_skeleton.py& Semantic Weak Evidence Files (Non-blocking but Not Conclusive, v7.44) + Main File Slimmed to Pure Routing Hub (89KB → 35KB, Only Authoring Rules Body = "Writing Iron Laws", v7.44) + Full-Text Review Pipeline (P0-P3 Grading + Fix Queue + Second Review Comparison + Regression Check) with Rule Ledger (Rule Lifecycle) + Subject Exception Priority Principle (v7.35 Hard Check Noise Reduction: Rhetoric/Human-Vibe/Character Description Downgraded to Naturalness Signal)
v7.0 Mainline: Integrate local story skill family (12) and open-source community essence (oh-story, WebNovel Studio, etc.), one skill covers the entire web novel workflow. Folder name is stable, version only recorded at the top of this file and inversions/.
📁 Skill Directory Structure
See
references/目录结构.mdfor the complete directory tree (doctor directory tree registers true sources).
⚙️ Global Configuration
| Configuration Item | Current Value | Description |
|---|---|---|
| Project Root Directory | User-specified > NOVEL_PROJECT_ROOT > Current Codex user's ~/.codex/workspace/novels/ (configurable) | All new books created under <Project Root>\<Book Name>\; do not hardcode username or home directory |
| Million-Novel Library / Deconstruction Library Path | Not configured (deconstruction outputs default to <Project Root>\Deconstruction Library\) | Execution Definition: Retrieve [subject] novel/Reference [subject] type opening = Search the library path for similar books by subject keywords, extract their opening and writing methods for this chapter; Library not configured → Skip this step, do not block writing, only leave one line in the process reply "Library not configured, skipped similar writing method retrieval" |
| Dialogue Quotation Marks | Chinese curved quotes “”, inner monologue ‘’ (Short story defaults to half-width double quotes, Yánxuǎn can use 「」 — see Short Story Manual) | Script defaults to --quote chal (long-form format); short story passes --quote straight, Yánxuǎn passes --quote any |
| Default Platform | Fanqie Standard | Specify other platforms, adjust according to manual quick reference table, do not fabricate data |
🧭 Mode Routing Table (AI Must Read First! Identify novel intent, check this table first)
Compound Request Judgment Protocol (v7.39): First lock user explicit restrictions (read-only/no external transmission/no modification of body) → Then identify main creation action → Then attach additional diagnosis → Finally decide write/online. Multiple actions that would produce different writes, external transmissions, or plot changes must be split into stages and stop at confirmation point; "Check locally after writing" can be a built-in Gate of the current flow.
| User Intent (Keywords) | Action | Required Manual |
|---|---|---|
| Initialize project / New book / Build outline | Build project + Four-level outline | Main file full text + LongFormMode.md |
| Initialize project with script / Build standard skeleton | Create missing project directories and archive templates | tools/init_project.py, then read project_health.py report |
| Write Chapter X / Continue / Daily update / One-click generation | Long-form writing full workflow | Main file + LongFormMode.md |
| Write short story / Zhihu Yánxuǎn / Fanqie short story / Short tale | Short story workflow | ShortStoryMode.md |
| Write short drama script / Novel to script / Manhua episode script | Script workflow | ShortDramaScript.md |
| Market scan / Market research / What's hot / Topic selection | Five-stage market scan | MarketScan.md |
| Deconstruct book / Deconstruct writing / Learn how "X" is written | Deconstruction pipeline | BookDeconstruction.md |
| Import this book / Continue my old draft | Reverse engineering | ImportOldBook.md |
| Export txt / Writer assistant import / Pack whole book txt | Merge book drafts into platform-importable single file txt (chapter number sorted, --range chapter selection, encoding optional) | tools/export_assistant_txt.py |
| Initialize continuation / Access old project (upgrade existing archive structure to mind/) | Structure access migration | Main file "Initialize Continuation" section |
| First use / Don't know how to start / Post-installation self-check | Three-minute quick start and end-to-end example | QuickStart.md + ToolSelection.md |
| AI-ness preliminary screening / No ink ruler / Check local human-vibe risk first | Zero-dependency heuristic preliminary screening | ToolSelection.md + tools/check_chapter.py --ai-lite |
| Don't know which mode / Compound request / Need operation card | Main process judgment and permission boundary | ModeOperationCard.md + ToolSelection.md |
| Evaluate skill / Regression route / Check privilege boundary | Read local evaluation scenario matrix | EvaluationScenarios.md |
| Evaluation score / Five-dimensional score / Evaluation report | Read local T/R/A/C/E rating scale | EvaluationScale.md + tools/eval_skill.py |
| Pre-release check / Prepare for upload / Final pre-check | Read-only run full local quality gate | tools/release_check.py |
| Receipt format / How to report results / Delivery instructions | Unified delivery receipt protocol | ReceiptProtocol.md |
| Semantic proofread / Items 14-30 / Chapter evidence | Structured semantic evidence | SemanticProofread.md + chapter_readiness.py --with-semantic |
| Crash / Error / Cannot find project / Resume progress / Update failed | Fault location and recovery | FAQ.md (update issues and read SkillUpdate.md) |
| Self-check skill / Skill not found / Installation incomplete / Tool error | Unified read-only self-check | OperationExamples.md + ToolSelection.md + tools/doctor.py |
| Check update / Update skill / Upgrade skill / Auto-update skill | SkillHub version detection and secure update | SkillUpdate.md + tools/update_skill.py |
| Version bump / Upgrade version / Release new version / Bump / Change version number | One-click version bump: sync version number and release date to all registration points (default dry-run, --apply goes to disk then auto-runs lint/reference/self-check) | tools/bump_version.py |
| Generate review skeleton / Semantic items missing / How to fill review JSON | One-click generate Items 14-30 semantic review skeleton JSON (auto-calculate body sha256, default revise) | tools/review_skeleton.py + SemanticProofread.md |
| Review Chapter X / Review this volume / Diagnose Chapter X / Proofread | Single chapter review + continuation diagnosis | Proofread.md |
| Health check / Health check / Setting library diagnosis / Continuity check | Archive-level full book health check | HealthCheck.md (with tools/grep_consistency.py) |
| Full-text review / Full book diagnosis / Fix queue / P0 issue | Full book multi-dimensional pipeline (P0-P3 grading + five problem types + fix queue; body read-only, report to disk) | tools/full_review.py + HealthCheck.md·P0-P3 scope |
| Rule ledger / Check rule source / Why this rule / Deprecated rule | Rule lifecycle registration (candidate → experimental → stable → amended → deprecated) | references/RuleLedger.md |
| Project audit / Take over old book / Check directory / Check chapter gaps | Project structure audit | tools/project_audit.py + references/OpenSourceIntegration.md |
| Project health / Pre-writing total check / Handover check | Aggregate structure, continuity, entity, and proofread to-dos | tools/project_health.py |
| Character alias / Relationship graph / Appearance statistics / Character ledger | Generate entity index from canonical archive | tools/entity_index.py |
| Research sources / Source audit / Citation tracking | Record sources, usage, verified facts, and issues to verify | references/ResearchSources.md (template) + tools/research_audit.py check ledger |
| Continuity check / Check timeline / Verify foreshadowing / Character status mismatch | Archive continuity check | tools/continuity_check.py + SerializationMemory.md |
| Prepare context / Pack before continuation / Continue writing Chapter X | Generate traceable context pack | tools/context_pack.py + LongFormMode.md |
| Compare edits / See modification differences / Before and after major revision review | Chapter version diff | tools/chapter_diff.py + SmoothReading.md |
| Snapshot / Backup before major revision / Save current state | Project safety snapshot | tools/snapshot_project.py + OpenSourceIntegration.md |
| Label chapter type / Calculate conflict score / Pacing diagnosis | Pacing quantification and labeling | PacingAndStructure.md (with tools/conflict_score.py) |
| De-AI-fy / Too AI-like / Polish | 8 Gate cleanup | DeAIfy.md |
| Smooth read Chapter X / Smooth read / Smooth / Reads stuck / This chapter reads awkward | Smooth reading fix (reading layer: smooth read → find stuck points → fix locally; A mechanical/B reading feel fixed locally, C logic only marked; output revised draft + change list + confirmation items + reading report) | SmoothReading.md |
| Zhuque detection / AI detect Chapter X | Single chapter online detection | DeAIfy.md·Zhuque online detection (with tools/zhuque_check.py) |
| Zhuque full text detection / Full book AI detection / Batch Zhuque | Full book detection + fix loop | DeAIfy.md·Zhuque full book detection and fix loop (with tools/zhuque_check.py --book) |
| Mochi detection / Local AI detection / Quota exhausted | Local readability detection (Zhuque fallback) | DeAIfy.md·Mochi local detection (with tools/mochi_check.py) |
| Mochi install / Configure Mochi / Mochi wizard / Mochi not installed | One-click install (locate → clone → persist → start service self-check) | tools/mochi_setup.py + DeAIfy.md·Mochi local detection |
| Circle / Filler / Plot not advancing / Stuck in place | Advancement diagnosis (Four Advancement Questions + Circle Blacklist) | SKILL "Plot Advancement Iron Laws" + grep_consistency.py D class |
| Unattended writing / Scheduled task / Idle continuation / Auto-writing shift | Unattended deployment (prevent rule decay + book style override + unfinished detection) | Unattended.md |
| Hotlist research / Research hotlist / Update knowledge base | Five-step hotlist research (sampling → engineering deconstruction → three-round review → ABC classification → knowledge base round recording) | HotlistResearch.md + HotlistKnowledgeBase.md |
| Retention analysis / This chapter structure analysis / Chapter health check | tools/retention_check.py (structural profile + inter-chapter repetition rate + information increment + risk list, advisory level) | HotlistResearch.md·7 + HotlistKnowledgeBase.md |
| Novel to script / This chapter script / Chapter script / To script | Chapter script conversion (fifth step of writing chapter auto-sync; old book single chapter/full book supplementary conversion) | NovelToScript.md (format reuse ShortDramaScript.md, with tools/script_check.py) |
| Expand / This chapter too short / Too dry / Bridge two sections / Reduce duplication | Recipe library expansion and polish | PolishAndExpand.md |
| Write recap / Stage recap / Rewrite after hiatus | Review archive | SerializationMemory.md |
| Generate cover / Cover quality check | Six-step execution protocol for cover generation (prioritize calling $story-cover / $imagegen) | Cover.md (with tools/cover_check.py) |
| Dashboard / Progress / Status / Visualization / Read body / View book | Generate and open visualization dashboard (single file dashboard.html nine zones: Overview/Body Reading (full text embedded: continuation memory/page turn/font size/paper·night theme/full text search jump)/Chapter Snapshot/Characters/Foreshadowing/Timeline/Anchors/Detection Trends/Archive) | tools/visualize.py |
| Book title / Blurb | Name formula | Main file "Book Title and Blurb" |
| I'm stuck | Give 5 directions (designed with gap formula) | Main file |
| Outline review / Check outline | 8+1 item checklist check and fix | Main file "Outline Review Checklist" |
Routing Principles: Read QuickStart.md on first use; read ToolSelection.md when needing to judge tools. Clear novel writing, continuation, generation, proofreading, deconstruction, market scan, import, cover, or project maintenance intent → Then read this table, ModeOperationCard.md corresponding card, and specialized manuals; general text, poetry, non-novel writing do not enter this skill. Simple requests default to quick level, do not automatically start full proofreading pipeline. Pre-release read-only pre-check is not equal to upload; upload still requires explicit user authorization.
Main Process Judgment Protocol
- First identify main action: writing, read-only review, authorized revision, project migration, external detection, or skill maintenance.
- Then identify project state: no project, standard project, old draft, single file, damaged/missing archive.
- Then identify permission boundary: whether body modification allowed, archive modification allowed, networking or sending body off-machine allowed.
- Only additional checks that do not change permissions and output can be automatically chained; actions that would change files, plot, or external data flow must be split into stages and stop at confirmation point.
Priority is fixed to: User explicit > Mode > Permission boundary > Project state. Permission boundary verification is mandatory in main process judgment and cannot be omitted.
📐 Permission Boundary Verification
| Permission Type | Definition | Action Example |
|---|---|---|
| Read-only review | No new text, no file modification, no archive update | Check Chapter X for AI flavor |
| Authorized revision | User explicitly allows text modification or file rewrite | Rewrite Chapter 3 opening |
| Online detection | Sends text off-machine, requires explicit authorization | Zhuque detect Chapter X |
| Project maintenance | Add/delete/modify project archive files | Initialize new book project |
📦 Tool Dependencies
The skill relies on the following tools. Their paths are registered in references/tool_index.json:
| Tool | Description | Path |
|---|---|---|
init_project.py | Initialize new book project skeleton | tools/init_project.py |
project_health.py | Project health check | tools/project_health.py |
export_assistant_txt.py | Export book as txt | tools/export_assistant_txt.py |
check_chapter.py | Chapter quality check | tools/check_chapter.py |
eval_skill.py | Skill evaluation | tools/eval_skill.py |
release_check.py | Pre-release quality gate | tools/release_check.py |
doctor.py | Skill self-check | tools/doctor.py |
update_skill.py | Skill update | tools/update_skill.py |
bump_version.py | Version bump | tools/bump_version.py |
review_skeleton.py | Review skeleton generator | tools/review_skeleton.py |
entity_index.py | Entity index generator | tools/entity_index.py |
continuity_check.py | Continuity check | tools/continuity_check.py |
context_pack.py | Context pack generator | tools/context_pack.py |
chapter_diff.py | Chapter diff | tools/chapter_diff.py |
snapshot_project.py | Project snapshot | tools/snapshot_project.py |
grep_consistency.py | Consistency grep | tools/grep_consistency.py |
full_review.py | Full book review | tools/full_review.py |
project_audit.py | Project audit | tools/project_audit.py |
research_audit.py | Research audit | tools/research_audit.py |
conflict_score.py | Conflict score calculation | tools/conflict_score.py |
zhuque_check.py | Zhuque online/offline detection | tools/zhuque_check.py |
mochi_check.py | Mochi local detection | tools/mochi_check.py |
mochi_setup.py | Mochi installation | tools/mochi_setup.py |
retention_check.py | Retention/structural analysis | tools/retention_check.py |
script_check.py | Script check | tools/script_check.py |
cover_check.py | Cover quality check | tools/cover_check.py |
visualize.py | Visualization dashboard | tools/visualize.py |
📚 Reference Manuals
All specialized manuals are located in the skill root directory:
| Manual | Content |
|---|---|
LongFormMode.md | Long-form novel writing workflow |
ShortStoryMode.md | Short story writing workflow |
ShortDramaScript.md | Short drama script writing workflow |
MarketScan.md | Market scan workflow |
BookDeconstruction.md | Book deconstruction pipeline |
ImportOldBook.md | Old book import and reverse engineering |
Proofread.md | Chapter proofreading and diagnosis |
DeAIfy.md | De-AI-fication and polish |
Cover.md | Cover generation and quality check |
SerializationMemory.md | Serialization memory management |
PacingAndStructure.md | Pacing quantification and structure |
SmoothReading.md | Smooth reading fix |
Unattended.md | Unattended writing deployment |
HotlistResearch.md | Hotlist research |
HotlistKnowledgeBase.md | Hotlist knowledge base |
NovelToScript.md | Novel to script conversion |
PolishAndExpand.md | Polish and expand recipe library |
QuickStart.md | Quick start guide |
ToolSelection.md | Tool selection guide |
ModeOperationCard.md | Mode operation cards |
FAQ.md | Frequently asked questions |
SkillUpdate.md | Skill update guide |
SemanticProofread.md | Semantic proofreading |
ReceiptProtocol.md | Unified delivery receipt protocol |
EvaluationScenarios.md | Evaluation scenarios |
EvaluationScale.md | Evaluation scale |
OperationExamples.md | Operation examples |
HealthCheck.md | Full book health check |
📁 Reference Files (in references/)
| File | Content |
|---|---|
目录结构.md | Complete directory tree |
规则台账.md | Rule ledger |
开源融合.md | Open-source integration reference |
研究来源.md | Research source template |
tool_index.json | Tool path index |
🧠 Author Memory (Author Personality Constraint)
The skill maintains an "author memory" (stored in project root 记忆.md) that records the author's writing habits, preferred styles, thematic tendencies, and common pitfalls. This memory is read before each writing session (continuation/new chapter) and must be consulted to ensure the output aligns with the author's personal touch. It is not modifiable by the AI unless explicitly authorized by the user.
⛓️ Constraint Lock (Configurable Per-Session)
Users can set a "constraint lock" before writing begins, defining hard limits such as:
- Minimum chapter length (e.g., 3000 words)
- Maximum AI-ness index score (e.g., < 30)
- Required elements per chapter (e.g., at least one conflict scene)
- Prohibited patterns (e.g., "suddenly" adverbs, cliché endings)
- Platform-specific rules (e.g., Fanqie requires first chapter hook within first 200 words)
The lock is enforced by the main process before any generation; violations cause an immediate stop and re-prompt.
📈 Writing Iron Laws (Main Body Rules)
The skill's core writing rules are concentrated in a single document "Writing Iron Laws" (in the main file body). These laws include:
- Golden Opening Rule: First 500 words must contain a hook, conflict, or compelling question.
- Expectation Management Rule: Every chapter must set at least one expectation for the next.
- Viewpoint Discipline Rule: No POV switching within a chapter unless explicitly structured.
- Show Don't Tell Rule: Narrative summary limited; actions, dialogue, and sensory details prioritize.
- Pleasure Loop Rule: Satisfaction payoff must follow setup within reasonable distance.
- Face-Slapping Rule: For web novels, the protagonist must deliver a face-slapping moment (outsmarting, overpowering, revealing) at least once per volume/arc.
- Cheat Code Balance Rule: Protagonist advantages must come with costs or limitations.
- Pacing Rule: Conflict chapters must alternate with buffer chapters; no more than 3 consecutive high-conflict chapters without a breather.
🛡️ Validation Check Categories
| Category | Count | Description |
|---|---|---|
| Script Hard Checks | 13 | Automated checks for chapter structure, word count, tag usage, quote consistency, etc. |
| AI Semantic Checks | 17 | Semantic analysis for logical consistency, character voice, pacing, AI-ness signals, etc. |
| Graded Feedback | P0-P3 | P0 = blocking; P1 = must fix; P2 = should fix; P3 = advisory |
📝 Full-Text Review Pipeline
- P0 Issues: Immediate blocking (empty chapter, corrupted file, missing essential sections)
- P1 Issues: Must fix before release (inconsistent character name, plot hole, timeline error)
- P2 Issues: Should fix (repetitive phrasing, weak dialogue tags, minor continuity slips)
- P3 Issues: Advisory (style variance, slight over-explanation, optional synonyms)
Fixes are organized into a priority queue and can be applied in batch after user confirmation. Second review and regression check follow after fix application.
🔄 Update & Maintenance
- Version Check:
tools/update_skill.pycompares local version with remote (SkillHub). - Secure Update: Download differential patches only; full download if corruption detected.
- Backup Before Update:
tools/snapshot_project.pycreates a snapshot of project state. - Rollback: If new version causes issues, previous version stored in
versions/is restored.
📦 Export Formats
| Format | Tool | Description |
|---|---|---|
| Fanqie Import TXT | export_assistant_txt.py | Chapter-numbered, encoded selection |
| Writer Assistant TXT | Same | Compatible with Writer Assistant platform |
| Script Format | script_check.py + custom | For short drama script submission |
This skill is continuously evolving. For feature requests or bug reports, please consult the community channel.