Community图像github.com

web-novel-writing

面向网文作者的写作与项目维护技能:在明确的小说创作、续写、拆文、审校、去AI味、节奏诊断、剧本、封面、导出投稿txt或技能检查更新任务中启用,并按任务路由到对应手册和工具。普通文案、诗歌或非小说写作不触发。

web-novel-writing 是什么?

web-novel-writing is a Codex agent skill that 面向网文作者的写作与项目维护技能:在明确的小说创作、续写、拆文、审校、去AI味、节奏诊断、剧本、封面、导出投稿txt或技能检查更新任务中启用,并按任务路由到对应手册和工具。普通文案、诗歌或非小说写作不触发。.

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add https://github.com/lenmo181/novel-writing-skill/tree/main

Installed? Explore more 图像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

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 Bump bump_version.py (Version + Date Synchronized to All Registration Points, v7.43) + Review Skeleton Generator review_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 in versions/.


📁 Skill Directory Structure

See references/目录结构.md for the complete directory tree (doctor directory tree registers true sources).

⚙️ Global Configuration

Configuration ItemCurrent ValueDescription
Project Root DirectoryUser-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 PathNot 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 MarksChinese 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 PlatformFanqie StandardSpecify 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)ActionRequired Manual
Initialize project / New book / Build outlineBuild project + Four-level outlineMain file full text + LongFormMode.md
Initialize project with script / Build standard skeletonCreate missing project directories and archive templatestools/init_project.py, then read project_health.py report
Write Chapter X / Continue / Daily update / One-click generationLong-form writing full workflowMain file + LongFormMode.md
Write short story / Zhihu Yánxuǎn / Fanqie short story / Short taleShort story workflowShortStoryMode.md
Write short drama script / Novel to script / Manhua episode scriptScript workflowShortDramaScript.md
Market scan / Market research / What's hot / Topic selectionFive-stage market scanMarketScan.md
Deconstruct book / Deconstruct writing / Learn how "X" is writtenDeconstruction pipelineBookDeconstruction.md
Import this book / Continue my old draftReverse engineeringImportOldBook.md
Export txt / Writer assistant import / Pack whole book txtMerge 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 migrationMain file "Initialize Continuation" section
First use / Don't know how to start / Post-installation self-checkThree-minute quick start and end-to-end exampleQuickStart.md + ToolSelection.md
AI-ness preliminary screening / No ink ruler / Check local human-vibe risk firstZero-dependency heuristic preliminary screeningToolSelection.md + tools/check_chapter.py --ai-lite
Don't know which mode / Compound request / Need operation cardMain process judgment and permission boundaryModeOperationCard.md + ToolSelection.md
Evaluate skill / Regression route / Check privilege boundaryRead local evaluation scenario matrixEvaluationScenarios.md
Evaluation score / Five-dimensional score / Evaluation reportRead local T/R/A/C/E rating scaleEvaluationScale.md + tools/eval_skill.py
Pre-release check / Prepare for upload / Final pre-checkRead-only run full local quality gatetools/release_check.py
Receipt format / How to report results / Delivery instructionsUnified delivery receipt protocolReceiptProtocol.md
Semantic proofread / Items 14-30 / Chapter evidenceStructured semantic evidenceSemanticProofread.md + chapter_readiness.py --with-semantic
Crash / Error / Cannot find project / Resume progress / Update failedFault location and recoveryFAQ.md (update issues and read SkillUpdate.md)
Self-check skill / Skill not found / Installation incomplete / Tool errorUnified read-only self-checkOperationExamples.md + ToolSelection.md + tools/doctor.py
Check update / Update skill / Upgrade skill / Auto-update skillSkillHub version detection and secure updateSkillUpdate.md + tools/update_skill.py
Version bump / Upgrade version / Release new version / Bump / Change version numberOne-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 JSONOne-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 / ProofreadSingle chapter review + continuation diagnosisProofread.md
Health check / Health check / Setting library diagnosis / Continuity checkArchive-level full book health checkHealthCheck.md (with tools/grep_consistency.py)
Full-text review / Full book diagnosis / Fix queue / P0 issueFull 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 ruleRule lifecycle registration (candidate → experimental → stable → amended → deprecated)references/RuleLedger.md
Project audit / Take over old book / Check directory / Check chapter gapsProject structure audittools/project_audit.py + references/OpenSourceIntegration.md
Project health / Pre-writing total check / Handover checkAggregate structure, continuity, entity, and proofread to-dostools/project_health.py
Character alias / Relationship graph / Appearance statistics / Character ledgerGenerate entity index from canonical archivetools/entity_index.py
Research sources / Source audit / Citation trackingRecord sources, usage, verified facts, and issues to verifyreferences/ResearchSources.md (template) + tools/research_audit.py check ledger
Continuity check / Check timeline / Verify foreshadowing / Character status mismatchArchive continuity checktools/continuity_check.py + SerializationMemory.md
Prepare context / Pack before continuation / Continue writing Chapter XGenerate traceable context packtools/context_pack.py + LongFormMode.md
Compare edits / See modification differences / Before and after major revision reviewChapter version difftools/chapter_diff.py + SmoothReading.md
Snapshot / Backup before major revision / Save current stateProject safety snapshottools/snapshot_project.py + OpenSourceIntegration.md
Label chapter type / Calculate conflict score / Pacing diagnosisPacing quantification and labelingPacingAndStructure.md (with tools/conflict_score.py)
De-AI-fy / Too AI-like / Polish8 Gate cleanupDeAIfy.md
Smooth read Chapter X / Smooth read / Smooth / Reads stuck / This chapter reads awkwardSmooth 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 XSingle chapter online detectionDeAIfy.md·Zhuque online detection (with tools/zhuque_check.py)
Zhuque full text detection / Full book AI detection / Batch ZhuqueFull book detection + fix loopDeAIfy.md·Zhuque full book detection and fix loop (with tools/zhuque_check.py --book)
Mochi detection / Local AI detection / Quota exhaustedLocal readability detection (Zhuque fallback)DeAIfy.md·Mochi local detection (with tools/mochi_check.py)
Mochi install / Configure Mochi / Mochi wizard / Mochi not installedOne-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 placeAdvancement diagnosis (Four Advancement Questions + Circle Blacklist)SKILL "Plot Advancement Iron Laws" + grep_consistency.py D class
Unattended writing / Scheduled task / Idle continuation / Auto-writing shiftUnattended deployment (prevent rule decay + book style override + unfinished detection)Unattended.md
Hotlist research / Research hotlist / Update knowledge baseFive-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 checktools/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 scriptChapter 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 duplicationRecipe library expansion and polishPolishAndExpand.md
Write recap / Stage recap / Rewrite after hiatusReview archiveSerializationMemory.md
Generate cover / Cover quality checkSix-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 bookGenerate 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 / BlurbName formulaMain file "Book Title and Blurb"
I'm stuckGive 5 directions (designed with gap formula)Main file
Outline review / Check outline8+1 item checklist check and fixMain 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

  1. First identify main action: writing, read-only review, authorized revision, project migration, external detection, or skill maintenance.
  2. Then identify project state: no project, standard project, old draft, single file, damaged/missing archive.
  3. Then identify permission boundary: whether body modification allowed, archive modification allowed, networking or sending body off-machine allowed.
  4. 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 TypeDefinitionAction Example
Read-only reviewNo new text, no file modification, no archive updateCheck Chapter X for AI flavor
Authorized revisionUser explicitly allows text modification or file rewriteRewrite Chapter 3 opening
Online detectionSends text off-machine, requires explicit authorizationZhuque detect Chapter X
Project maintenanceAdd/delete/modify project archive filesInitialize new book project

📦 Tool Dependencies

The skill relies on the following tools. Their paths are registered in references/tool_index.json:

ToolDescriptionPath
init_project.pyInitialize new book project skeletontools/init_project.py
project_health.pyProject health checktools/project_health.py
export_assistant_txt.pyExport book as txttools/export_assistant_txt.py
check_chapter.pyChapter quality checktools/check_chapter.py
eval_skill.pySkill evaluationtools/eval_skill.py
release_check.pyPre-release quality gatetools/release_check.py
doctor.pySkill self-checktools/doctor.py
update_skill.pySkill updatetools/update_skill.py
bump_version.pyVersion bumptools/bump_version.py
review_skeleton.pyReview skeleton generatortools/review_skeleton.py
entity_index.pyEntity index generatortools/entity_index.py
continuity_check.pyContinuity checktools/continuity_check.py
context_pack.pyContext pack generatortools/context_pack.py
chapter_diff.pyChapter difftools/chapter_diff.py
snapshot_project.pyProject snapshottools/snapshot_project.py
grep_consistency.pyConsistency greptools/grep_consistency.py
full_review.pyFull book reviewtools/full_review.py
project_audit.pyProject audittools/project_audit.py
research_audit.pyResearch audittools/research_audit.py
conflict_score.pyConflict score calculationtools/conflict_score.py
zhuque_check.pyZhuque online/offline detectiontools/zhuque_check.py
mochi_check.pyMochi local detectiontools/mochi_check.py
mochi_setup.pyMochi installationtools/mochi_setup.py
retention_check.pyRetention/structural analysistools/retention_check.py
script_check.pyScript checktools/script_check.py
cover_check.pyCover quality checktools/cover_check.py
visualize.pyVisualization dashboardtools/visualize.py

📚 Reference Manuals

All specialized manuals are located in the skill root directory:

ManualContent
LongFormMode.mdLong-form novel writing workflow
ShortStoryMode.mdShort story writing workflow
ShortDramaScript.mdShort drama script writing workflow
MarketScan.mdMarket scan workflow
BookDeconstruction.mdBook deconstruction pipeline
ImportOldBook.mdOld book import and reverse engineering
Proofread.mdChapter proofreading and diagnosis
DeAIfy.mdDe-AI-fication and polish
Cover.mdCover generation and quality check
SerializationMemory.mdSerialization memory management
PacingAndStructure.mdPacing quantification and structure
SmoothReading.mdSmooth reading fix
Unattended.mdUnattended writing deployment
HotlistResearch.mdHotlist research
HotlistKnowledgeBase.mdHotlist knowledge base
NovelToScript.mdNovel to script conversion
PolishAndExpand.mdPolish and expand recipe library
QuickStart.mdQuick start guide
ToolSelection.mdTool selection guide
ModeOperationCard.mdMode operation cards
FAQ.mdFrequently asked questions
SkillUpdate.mdSkill update guide
SemanticProofread.mdSemantic proofreading
ReceiptProtocol.mdUnified delivery receipt protocol
EvaluationScenarios.mdEvaluation scenarios
EvaluationScale.mdEvaluation scale
OperationExamples.mdOperation examples
HealthCheck.mdFull book health check

📁 Reference Files (in references/)

FileContent
目录结构.mdComplete directory tree
规则台账.mdRule ledger
开源融合.mdOpen-source integration reference
研究来源.mdResearch source template
tool_index.jsonTool 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:

  1. Golden Opening Rule: First 500 words must contain a hook, conflict, or compelling question.
  2. Expectation Management Rule: Every chapter must set at least one expectation for the next.
  3. Viewpoint Discipline Rule: No POV switching within a chapter unless explicitly structured.
  4. Show Don't Tell Rule: Narrative summary limited; actions, dialogue, and sensory details prioritize.
  5. Pleasure Loop Rule: Satisfaction payoff must follow setup within reasonable distance.
  6. Face-Slapping Rule: For web novels, the protagonist must deliver a face-slapping moment (outsmarting, overpowering, revealing) at least once per volume/arc.
  7. Cheat Code Balance Rule: Protagonist advantages must come with costs or limitations.
  8. Pacing Rule: Conflict chapters must alternate with buffer chapters; no more than 3 consecutive high-conflict chapters without a breather.

🛡️ Validation Check Categories

CategoryCountDescription
Script Hard Checks13Automated checks for chapter structure, word count, tag usage, quote consistency, etc.
AI Semantic Checks17Semantic analysis for logical consistency, character voice, pacing, AI-ness signals, etc.
Graded FeedbackP0-P3P0 = blocking; P1 = must fix; P2 = should fix; P3 = advisory

📝 Full-Text Review Pipeline

  1. P0 Issues: Immediate blocking (empty chapter, corrupted file, missing essential sections)
  2. P1 Issues: Must fix before release (inconsistent character name, plot hole, timeline error)
  3. P2 Issues: Should fix (repetitive phrasing, weak dialogue tags, minor continuity slips)
  4. 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.py compares local version with remote (SkillHub).
  • Secure Update: Download differential patches only; full download if corruption detected.
  • Backup Before Update: tools/snapshot_project.py creates a snapshot of project state.
  • Rollback: If new version causes issues, previous version stored in versions/ is restored.

📦 Export Formats

FormatToolDescription
Fanqie Import TXTexport_assistant_txt.pyChapter-numbered, encoded selection
Writer Assistant TXTSameCompatible with Writer Assistant platform
Script Formatscript_check.py + customFor short drama script submission

This skill is continuously evolving. For feature requests or bug reports, please consult the community channel.

相关技能