by jiaw-Zh · Codex Skill · ★ 52
Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h
长篇小说生成 SKILL 原始项目:AINovelGenerator 一个面向百万/千万字长篇的 AI 写作 SKILL,解决长篇小说后期走形的核心问题。 为什么需要这个 AI 写长篇小说有一个根本性问题:上下文窗口装不下整部作品。即使是 1M token 的窗口,对 300 万字的小说也远远不够。结果是: 早期设定被后期章节覆盖稀释,角色性格漂移 数值、能力、物品归属前后矛盾 伏笔埋了忘了回收,或回收时对不上原文 配角消失几十章后再出场,agent 只能现编 同类桥段反复出现,读者审美疲劳 这个 SKILL 用结构化记忆系统解决上述问题,而不是靠"更大的上下文窗口"。 核心特色 分层摘要冻结 将作品摘要拆为六层:L0(正文)→ L1(单章)→ L2(chunk)→ L3(篇章)→ L4(卷)→ L5(全书)。每层写定后冻结,不再被后续章节覆盖。彻底消除"电话传话"式的早期细节稀释。 实体中心档案 角色、地点、道具、势力、力量体系各自独立建档,包含硬约束、追加式时间线和变更记录。写作时只按需加载本章出场实体,精准且省 token。典型写前上下文用量 25k–40k token,1M 窗口极度宽裕。 正典账本(Canon Ledger) 五个只追加不修改的结构化文件: — 原子事实断言,带原文引用和 字段 — 角色承诺/誓言,带截止日期 — 境界/能力进阶轨迹,校验单调性 — 世界规则 — 时间线 写后校验时按实体过滤账本,数值漂移、能力越界、死而复生等硬冲突在落盘前即被拦截。 POV 知识边界 的 字段追踪每条秘密"谁知道"。写前加载出场角色的已知信息列表,防止角色使用尚未获得的信息——这是长篇后期最常见的 OOC 类型。 写前组装协议 9 步固定流程决定每章写作前载入哪些文件,包括:活跃伏笔、到期承诺、失踪副线提醒、关键词反查相关章节。 写后双 agent 校验 前置字数门(机械检查目标字数 ± 容差)+ 8 项语义校验(正典冲突 / POV 知识边界 / 硬约束 / 进阶合法性 / 命名一致性 / 桥段重复 / 伏笔对齐 / 场景打分)+ 固定落盘顺序。字数偏短自动扩写、偏长自动缩写、严重偏离重写。支持独立 subagent 执行校验,避免写作 agent 自我合理化。 命名一致性 标准名称表记录每个实体的规范写法和禁用变体,写后校验自动检测。 副线与配角追踪 追踪所有副线的最后推进章节。超过 20 章未推进的副线会在写前自动提示。 记忆快照与分叉写作 每 50 章或每卷收尾快照记忆层(不含正文,正文走 git)。出问题可回滚,想探索"如果当时选了另一条路"可以从快照建分支独立续写。 体裁模式(网文 / 严肃文学) 的 字段控制提示词的写作约束分支: 网文模式:爽点密度、打脸循
| Stars | 52 |
| Forks | 2 |
| Language | Python |
| Category | Codex Skill |
| Quality Score | 60.5194612974043/100 |
| Last Updated | 2026-06-18 |
| Created | 2026-05-07 |
| Platforms | codex, python |
| Est. Tokens | ~14k |
Looking for a long-novel-writer alternative? If you're comparing long-novel-writer with other codex skill tools, these 4 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.
中文网文小说写作skill
天命 · AI长篇小说协同创作/写作Skill — 模块化提示词工程系统 (Claude Skill / Prompt Engineering for Novel Writing)
A Codex/Claude skill that maintains per-repo operating theory documents.
Claude Code / Codex skill: reverse engineer a product & technical spec from a git branch
Explore other popular codex skill tools:
long-novel-writer is 使用codex(gpt 5.5)蒸馏原始项目AI_NovelGenerator生成的长篇小说生成 SKILL,优化记忆系统. It is categorized as a Codex Skill with 52 GitHub stars.
long-novel-writer is primarily written in Python. It covers topics such as aicreative, novel-writing.
You can find installation instructions and usage details in the long-novel-writer GitHub repository at github.com/jiaw-Zh/long-novel-writer. The project has 52 stars and 2 forks, indicating an active community.
The top alternatives to long-novel-writer on Agent Skills Hub include Chinese-WebNovel-Skill, tianming-skill, theorist. Each offers a different approach to the same problem space — compare them side-by-side by stars, quality score, and community activity.