🎭 AI 写小说:从零生成 10-50 章完整中文小说,三层问答 · 创作记忆 · 悬念钩子 · 自动校验,长篇网文连载皆宜|开源免费,适配主流 agent harness|🤝 Infistar.cc 赞助 · 注册送 $5|AI novel writing skill
# Add to your Claude Code skills
git clone https://github.com/PenglongHuang/chinese-novelist-skillGuides for using ai agents skills like chinese-novelist-skill.
Last scanned: 11/28/2026
{
"issues": [],
"status": "PASSED",
"scannedAt": "2026-11-28T21:30:54.643Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}chinese-novelist-skill is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by PenglongHuang. 🎭 AI 写小说:从零生成 10-50 章完整中文小说,三层问答 · 创作记忆 · 悬念钩子 · 自动校验,长篇网文连载皆宜|开源免费,适配主流 agent harness|🤝 Infistar.cc 赞助 · 注册送 $5|AI novel writing skill. It has 5,853 GitHub stars.
Yes. chinese-novelist-skill passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/PenglongHuang/chinese-novelist-skill" and add it to your Claude Code skills directory (see the Installation section above). chinese-novelist-skill ships a SKILL.md manifest, so compatible agents can discover and load it automatically.
chinese-novelist-skill is primarily written in JavaScript. It is open-source under PenglongHuang on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh chinese-novelist-skill against similar tools.
No comments yet. Be the first to share your thoughts!
02-写作计划.json 协调状态进入每个阶段时,先阅读对应的流程文档以获取详细执行指令。
书房在创作流程中自动启动(见第三阶段),无需用户提出。当用户主动要求查看已有小说或打开书房时,同样直接启动,不进入创作问答:
node "{skillBaseDir}/scripts/visual/workbench.mjs" --workspace "<作品集合目录>" --detach(需 Node ≥16,免安装)。必须带 --detach:前台进程会阻塞 Agent 的 shell 直到超时。--workspace 可省,默认当前目录下的 .chinese-novelist/;禁止扫描磁盘寻找作品。后台默认端口 5112,已运行会自动复用并打印地址,发给用户即可,不要重复启动。/api/projects 取作品 ID,不要用书名猜。读取用户偏好,检测未完成项目(中断续写),展示个性化欢迎。 → 详见 phase0-initialization.md
通过递进式问答收集创作需求,确定小说定位与标题:
创建项目文件夹(./.chinese-novelist/{timestamp}-{小说名称}/),生成大纲、人物档案和写作计划JSON,等待用户确认。 → 详见 phase2-planning.md
规划确认后,选择写作模式:
serial):主 Agent 自己逐章写,全程无中断subagent-parallel):将章节分成批次,派生子 Agent 并行写作agent-teams):Claude Code 多 Agent 协作模式,Agent 间可通讯(需手动开启)→ 详见 phase3-writing.md
切记,一旦进入这个阶段,所有过程都禁止向用户确认。用户就是你的读者,你必须把完整的小说创作完成才能与用户报告
开写第一章前自动启动书房(无需用户提出):node "{skillBaseDir}/scripts/visual/workbench.mjs" --workspace <作品集合目录> --detach,地址发给用户后立即逐章创作,不停不等(失败照常写作)。
根据用户选择的写作模式(串行/并行/Teams)逐章执行创作流程。每章创作前必须读取 01-大纲.md 中对应章节的规划信息,严格按大纲创作。支持中断续写。 → 详见 phase3-writing.md
主 Agent 调用脚本检查章节状态和字数,将问题派回原写作 worker 处理,最多3轮;未通过则标记 needs_attention。全程无需用户确认。 → 详见 phase4-validation.md
v2.0 重构发布:引入三层递进式问答、偏好记忆系统、中断续写、三种写作模式和自动校验修复!
查看 v1.0 → v2.0 升级说明 了解详情。
脑子里有个故事,却总卡在“然后呢”?先定人物和大纲,再逐章写到完稿。面向 Coding Agent、Personal Agent 等各类 Agent:
安装 Skill:npx skills add PenglongHuang/chinese-novelist-skill
装好后,说一句:使用 chinese-novelist 帮我写一部小说
支持当下主流 Agent Harness:Claude Code、Codex CLI、Gemini CLI、Cursor、Windsurf、Trae、CodeBuddy、Qwen Code、iFlow CLI、Aider、OpenCode、WorkBuddy 等均可直接安装使用,创作流程中的书房会在写作阶段自动启动,无需手动打开。
chinese-novelist-skill × Infistar.cc
用这个技能包写长篇的朋友都知道:动辄几十万字的大纲回溯、多代理并行出章,额度往往比灵感先耗尽。
如果想放开手脚写长篇,推荐换上 Infistar:
每次创作后,Skill 会自动学习你的偏好:喜欢的题材类型、叙事风格、章节数量倾向、文字密度等。下次使用时,直接应用你的习惯,省去重复问答。
写完的章节不再是散落的文件:启动本地书房,书架、章节进度、正文与创作资料一目了然,文件变动实时刷新;审读报告还会对全书做机械比对——节奏突变、人物断档、口头禅落实,尽收眼底。
自动加载用户偏好,检测中断续写;三层问答后规划确认,随后全自动推进到完稿。各阶段细节见 references/flows/。
.chinese-novelist/
├── user-preferences.json # 用户偏好(跨项目共享)
└── 20260412-143000-午夜列车/
├── 01-大纲.md # 故事概述、章节规划+ 设定词典
├── 00-人物档案.md # 主角、反派、配角档案
├── 02-写作计划.json # 章节状态与字数记录
├── 03-文风基准.md # 文风指纹、基准段落、AI味负面清单
├── 99-章节摘要.md # 预建全章标题,每章收尾原位填写摘要
├── 第01章-最后一班列车.md
├── 第02章-消失的乘客.md
└── ...
references/flows/)| 文件 | 内容 |
|---|---|
phase0-initialization.md |
Phase 0:初始化与偏好加载 |
phase1-layer1-core.md |
Phase 1 Layer 1:核心定位问答(Q1-Q3) |
phase1-layer2-customize.md |
Phase 1 Layer 2:深度定制问答 |
phase2-planning.md |
Phase 2:规划与写作计划生成 |
phase3-writing.md |
Phase 3:疯狂创作(三种写作模式) |
phase4-validation.md |
Phase 4:自动校验与修复 |
references/guides/)| 文件 | 内容 |
|---|---|
chapter-guide.md |
章节写作指南(含开头技巧、中文文学技法、连贯性保证、质量检查) |
hook-techniques.md |
悬念设置技巧(13 种结尾钩子类型) |
character-building.md |
人物塑造技法(侧重写作过程中的塑造技巧) |
dialogue-writing.md |
对话写作规范(含节奏进阶、权力博弈) |
plot-structures.md |
情节结构模板 |
content-expansion.md |
内容扩充技巧(含分题材策略、实例对比) |
outline-template.md |
大纲与设定词典模板 |
character-template.md |
人物档案模板 |
chapter-template.md |
章节文件模板 |
如果这个项目帮你写出了第一部小说,可以考虑在爱发电赞助我,你的支持直接决定项目的更新速度。