Xiaoshuo Studio — Design skill for Claude Code
Local fiction studio for long-form novel planning, canon memory, style learning, and skill-based writing workflows for Codex and Claude Code.
How to install Xiaoshuo Studio
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Zhao73/xiaoshuo-studio and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Xiaoshuo Studio does
Local fiction studio for long-form novel planning, canon memory, style learning, and skill-based writing workflows for Codex and Claude Code.
Alternatives in Design
- Learning Output Style — Interactive learning mode for skill building 14k ★
- Studio — Launch the local design Studio — a live token editor over the latest extraction 3.6k ★
- Hermes Studio — Web UI & dashboard for Hermes Agent — chat, memory, skills, terminal, approvals, multi-agent orchestration 354 ★
README
xiaoshuo
[](https://github.com/Zhao73/xiaoshuo-studio/actions/workflows/ci.yml) [](./LICENSE) [](./README.md) [](./README.en.md)
面向长篇小说创作的本地工作台:建书向导、剧情记忆、参考小说技法学习、章节规划、连续性检查、skill 聚合入口,都放在同一个项目里。
`xiaoshuo` 主要解决这几类问题:
- 从一个模糊想法开始,一步步问答把小说搭起来
- 长篇连载不靠模型“自己记住”,而是靠 canon 和记忆层稳住连续性
- 把你本地收藏的小说样本导入进来,学习节奏、对白、钩子和推进方式
- 用一个总入口 skill
xiaoshuo-studio驱动整个项目,而不是记一堆零散 skill 名 - 开源后直接导出或安装 skill bundle,别人也能一键用起来
页面截图
首页

建书向导

核心能力
- 深度建书向导:像 Plan Mode 一样逐题问答,自动生成项目、初始 canon、首卷方案和第 1 章 brief
- Canon 记忆层:人物、时间线、伏笔、线头、世界规则都可结构化存储
- 参考小说学习:支持导入本地小说文件夹、切章、风格分析、混合风格卡
- 连续性检查:写完章节后检查人物状态、地点、规则是否打架
- Skill 聚合入口:只记
xiaoshuo-studio,它负责路由到合适的子 skill - 开源分发:支持
aggregator-only和full-bundle两种导出/安装模式
架构图
flowchart LR
U[写作者 / Agent] --> A[Next.js Studio UI]
U --> S[xiaoshuo-studio skill]
S --> R[Skill registry]
R --> C1[建书 / 导入 / 学风格 skills]
R --> C2[规划 / 写作 / 审校 skills]
A --> API[本地 API routes]
C1 --> API
C2 --> API
API --> CANON[Canon memory layer]
API --> CORPUS[参考语料与风格分析]
CANON --> DB[(SQLite index)]
CANON --> MD[Markdown canon snapshots]
CORPUS --> PY[Python analyzer]
写作工作流
flowchart TD
I[一个想法 or 已有项目] --> W[建书向导]
W --> P[项目 + canon seed]
P --> R1[导入参考小说]
R1 --> S1[分析 / 混合风格]
S1 --> B[生成 chapter brief]
B --> D[起草章节]
D --> Q[连续性检查]
Q --> U[回写 canon]
U --> H[去 AI 味 / 润色]
H --> L[从 review 反向学习]
安装矩阵
| 目标 | 命令 |
|---|---|
| 本地开发运行 | npm install && npm run dev |
| 本地完整验证 | npm run lint && npm test && npm run build && pytest tests/python -q |
| 为 Codex 导出一个 |
Related Skills
Multi Platform Release Skill
Free Claude Code & Codex skill: Planning one video for several overseas platforms (YouTube, TikTok, Instagram,
Novel Style
Configure writing style, genre, narrative perspective, and chapter length for a novel. Saves style settings th
Longform
Generate a horizontal 16:9 long-form YouTube video from a timestamped script (MS Paint stickman style)
Longform2f
Horizontal 16:9 long-form video with up to TWO visual beats per timestamp
Docs Architect
Creates comprehensive technical documentation from existing codebases. Analyzes architecture, design patterns,
Fanbook
Turn an anime name list (or a local video library) into a magazine-style PDF collection book: posters, synopse
Related Agents
Cura Stile
Custode dello stile auto-migliorante degli editor video (reel + YouTube long-form). Dopo ogni video raccoglie
Editorial Writer
Use this agent for long-form editorial blog content (1500-3500 words) with SEO, visual direction and rigorous
Writing
Articles, posts, long-form writing and editing. Use when the request says: "yaz", "blog", "makale", "draft", "