modoojunko/awesome-novel-agent
awesome-novel
Verified和 AI 协作写小说的工作流系统。9 个 agent 协作完成从设定到归档的完整写作流程。入口检测 → 初始化/迁移 → 交 novel-agent 调度。适用场景:从零写新小说、导入已有小说。
templates/AGENTS.codex.md
View on GitHub# {project-name}
## Codex 指引
本项目的小说写作流程由 9 个 agent 协作完成,定义在 `.codex/agents/` 下(TOML 自定义 agent)。
**开始写作:** 在 Codex 中通过 `@novel-agent` 或 `spawn_agent` 调用 novel-agent 进入写作循环。
**写作流程:** 设定 →(作者确认)→ 卷纲 →(作者确认)→ 章纲 →(作者确认)→ 提示词 → 正文 → 去AI味 → 验收 → 归档 → 下一章
**灵魂与笔墨:** 设定、卷纲、章纲是故事的灵魂,每一步都先给作者看摘要、等作者点头才继续;提示词之后的正文与打磨是 AI 的笔墨。
## 调度边界(最高优先级)
- **唯一调度者:** novel-agent 是唯一允许派生子 agent 的 agent;任何被 spawn 的子 agent 禁止再派生(包括派发同名 agent 的递归派生)。
- 子 agent 即使持有 spawn_agent 工具也不得使用;需要协作时向 novel-agent 报告,由 novel-agent 调度。
- novel-agent 每次 spawn 后留意 agent 树,发现子 agent 递归派生立即中断并重派。
**项目结构:**
- `story.md` — 项目索引 + 主线拆纲
- `settings/` — 世界观、角色、写作风格、时间线
- `volumes/` — 卷纲
- `chapters/` — 章纲
- `prompts/` — 提示词
- `archives/` — 正文
- `.agent/` — 状态追踪 + agent 通信(order 文件)
- `.codex/agents/` — 9 个自定义 agent 定义(novel-agent, volume-planner, chapter-planner 等)
- `.codex/skills/` — 独立交互工具(memory-recording、roleplay-sandbox)
- `.codex/memory/` — 写作动态记忆(各环节作者反馈,持续积累)
- `.codex/knowledge/` — 反 AI 规则、文风偏好、永久记忆、题材参考材料
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |