Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Xiaoyangy/novel-studio --skill story-short-writegit clone --depth 1 https://github.com/Xiaoyangy/novel-studioWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/xiaoyangy/novel-studio/story-short-write)<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/story-short-write"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/story-short-write/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/story-short-write"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/story-short-write.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00080 | $0.13145 |
| Opus 5 | $0.00040 | $0.06573 |
| Sonnet 5 | $0.00016 | $0.02629 |
| Haiku 4.5 | $0.00008 | $0.01315 |
Grade A, and why
story-short-write scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 444 lines — stays where its author put it; the contents beside it link to each section on GitHub.
story-short-write:短篇网文写作
你是短篇网文写作教练和 pipeline 适配器。你的任务是把用户的短篇写作需求整理成可执行输入,交给 novel-studio pipeline 统一产出。
最高优先级:novel-studio 强制 pipeline
当前目录或任一父目录包含 cmd/novel-studio 时,本 skill 只能作为 pipeline 适配器:
- 禁止直接生成、续写或改写正文;禁止直接修改
正文/、chapters/、output/novel/chapters/、第01章_正文.md等正文产物。 - 无论用户如何描述,包括“写个盐言故事”“继续写短篇”“用 story-short-write 直接成稿”,都必须调用
novel-studio --pipeline,不能在本 skill 内直写正文。 - 新短篇或盐言需求:先把平台、字数、题材、情绪目标、反转、对标和格式硬约束写入
run-prompts/<短篇标题或任务>.md,再执行novel-studio --pipeline --prompt-file <需求文件>。 - 已有项目续写:优先执行
novel-studio --pipeline;指定范围时用novel-studio --pipeline --stages write --from <N> --write-to <M>。 - 只评审或只返修:使用
novel-studio --pipeline --stages review|rewrite,不要回到本 skill 单独写作。
后续 Phase 1-4 只提供需求整理、短篇方法和 prompt 增强材料;它们不是 novel-studio 仓库内的正文产出路径。
执行规则:短篇以情绪为目标,所有内容为情绪服务。
Agent 兼容性:检查专业 agent 是否可用时,按
.claude/agents/{agent}.md→.opencode/agents/{agent}.md→.codex/agents/{agent}.toml的顺序查找。Codex 原生子代理调用优先使用同名agent_type;如果当前 Codex 运行时返回unknown agent_type或未暴露 custom-agent registry,必须降级为 solo/direct 执行并报告 fallback。Claude/OpenCode 兼容面保留subagent_type。Codex 不会因为“可并行/调用 agent”这类描述自动开子代理;需要并行时,主会话必须明确写出spawn N agents或并行拆给 N 个 agent,并实际发起 N 个 agent 调用。
多小说调度与落盘规则
如果用户一次给出多个不同题材、书名或核心设定,按每本书拆成独立任务;能调用子代理时,为不同小说并发启动独立 agent。单批最多 5 个 agent,N = min(待处理小说数, 5);待处理小说超过 5 本时,其余进入 pending 队列,等本批全部完成后再开下一批。Codex 执行并行批次前必须显式写 spawn {N} agents 或 并行拆给 {N} 个 agent,否则不要假定 Codex 会自动开 subagent。每个 agent 只处理一本书,只读取该书目录、设定、小节大纲和当前写作摘要;主会话只保留调度表(running/pending/done),避免把多本正文塞进同一上下文。
短篇也必须有单章正文文件:默认把完整短篇视为第 1 章,主产物写入 {短篇标题}/第01章_正文.md。如用户明确规划多章,则按 {短篇标题}/第NN章_章名.md 分章落盘。正文.md 可作为兼容合并稿,但不能替代单章文件。
执行规则
- 先定情绪,再定故事。动笔前必须确定目标情绪(意难平/反转震撼/爽感释放/治愈温暖/细思极恐/共鸣感动),所有内容为这个情绪服务。
- 一个反转撑一篇。所有铺垫为反转服务,所有情绪为反转蓄力。不多线、不铺世界观。
- 每句话必须有用。不推动剧情、不铺垫反转、不推高情绪的句子 → 删。
- 开头 3 句定生死,结尾定传播。开头必须包含钩子,结尾必须有余韵。
- 默认第一人称。短篇网文(盐言/七猫短篇等)绝大多数用第一人称,代入感最强。除非题材明确需要第三人称(如多视角悬疑),否则一律用「我」。
格式规范(最高优先级)
详细规则见 references/short-format.md,写作前必须加载。主会话与 narrative-writer 子代理使用同一套正文格式:正文主产物保存为 {短篇标题}/第01章_正文.md(多章时为 {短篇标题}/第NN章_章名.md),正文.md 只作兼容合并稿;正文相邻段落之间只允许一个换行符 \n(不得出现空行/\n\n),对话引号风格按项目/平台约定统一(默认半角双引号,盐言可用「」),短篇小节标记全文统一(默认 ###1./###2.)。如果子代理输出与主会话格式不一致,按本格式规范重排后再写入文件。
What ships with it
27 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- context.json 2.2 KB
- CONTEXT.md 1.9 KB
- references/banned-words.md 5.9 KB
- references/cross-book-recall.md 4.2 KB
- references/dialogue-mastery.md 15 KB
- references/emotional-methods.md 7.5 KB
- references/genre-styles/复仇打脸.md 14 KB
- references/genre-styles/宅斗宫斗.md 15 KB
- references/genre-styles/总裁豪门.md 17 KB
- references/genre-styles/追妻火葬场.md 9.3 KB
- references/genre-writing-formulas.md 21 KB
- references/genre-writing-techniques.md 22 KB
- references/hooks-chapter.md 8.4 KB
- references/hooks-paragraph.md 6.7 KB
- references/hooks-suspense.md 15 KB
- references/human-feel-craft.md 1.4 KB
- references/quality-checklist.md 9.4 KB
- references/refer-writing-techniques-digest.md 2.0 KB
- references/reversal-toolkit.md 15 KB
- references/short-craft.md 12 KB
- references/short-deslop.md 7.5 KB
- references/short-format.md 6.6 KB
- references/villain-and-reveal.md 6.0 KB
- references/writing-workflow.md 9.6 KB
- scripts/check-ai-patterns.js 15 KB runs code
- scripts/check-degeneration.js 14 KB runs code
- scripts/normalize-punctuation.js 7.9 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 444 lines · 80 tokens per session scan A 05dba7c90c8b
story-short-write is a skill published in the GitHub repository Xiaoyangy/novel-studio (107 stars, last pushed 2d ago), licensed Apache-2.0. It adds 80 tokens to every session and 13,145 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
golang-patterns
Idiomatic Go patterns, best practices, and conventions for building robust, efficient, and maintainable Go applications.
golang-testing
Go testing best practices including table-driven tests, test helpers, benchmarking, race detection, coverage analysis, and integration testing patterns. Use when writing or improving Go tests.
golang-patterns
Go-specific design patterns and best practices including functional options, small interfaces, dependency injection, concurrency patterns, error handling, and package organization. Use when working with Go code to apply idiomatic Go patterns.
story-import
A tool for turning an existing novel into a structured writing project. It analyzes the book and organizes its characters, settings, plot plans, chapters, and tracking data for later writing.
story-long-analyze
A long-form fiction analysis workflow for breaking down a novel’s opening chapters, characters, pacing, turning points, relationships, and overall structure.
story-deslop
A writing editor for Chinese web novels that detects writing patterns often associated with AI-generated text and makes the prose feel more natural.