Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Xiaoyangy/novel-studionpx agentmods add skills/xiaoyangy/novel-studio/novel-rewriteWrote 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/novel-rewrite)<a href="https://agentmods.dev/skills/xiaoyangy/novel-studio/novel-rewrite"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/novel-rewrite/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/novel-rewrite"><img src="https://agentmods.dev/badge/skills/xiaoyangy/novel-studio/novel-rewrite.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.00065 | $0.00646 |
| Opus 5 | $0.00032 | $0.00323 |
| Sonnet 5 | $0.00013 | $0.00129 |
| Haiku 4.5 | $0.00006 | $0.00065 |
Grade A, and why
novel-rewrite 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 12d 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.
What it actually says
novel-rewrite:pipeline rewrite 阶段重写
读取已有项目的评审反馈,逐章调用 Writer(或 coordinator 角色)重写章节正文。
会改动 chapters/*.md 原文,建议先用版本控制或备份。
重写时 Writer 会使用 human_feel_craft:把评审中的 AI 腔、解释感、模板情绪问题转成现场物件、主观误判、短对话/动作拍和可复核因果链,而不是只替换形容词。
Writer 同时会使用 writing_techniques_digest:把 data/reference-library/writing-craft 的逐篇提炼落到目标/阻力/代价/新增信息、钩子接力、事件铺垫/过程/余波、过渡章期待铺垫和标点功能上。结构缺口先补任务和场景, 再做句子级润色。
前置条件
- 已完成首次配置(见
skills/README.md)。 - 一个已跑过
novel-review的项目(有评审反馈可依据)。项目根 = 当前工作目录,不能用 位置参数传路径,需先cd进项目目录。
执行
# 先进入项目目录,再按反馈重写
cd ./output/novel
novel-studio --pipeline --stages rewrite
# 只重写第 3–8 章
novel-studio --pipeline --stages rewrite --from 3 --to 8
# 用 coordinator 角色而非默认 writer
novel-studio --pipeline --stages rewrite --role coordinator
参数
| 参数 | 默认 | 说明 |
|---|---|---|
--stages rewrite |
— | 只执行 pipeline 的 rewrite 阶段 |
--from <n> |
0(自动) |
起始章号(含) |
--to <n> |
0(自动) |
结束章号(含) |
--role <name> |
writer |
调用的模型角色:writer / coordinator |
--budget <dur> |
见 --help |
每章 Writer 调用硬时间预算 |
产物
- 改写后的
chapters/*.md(原文被覆盖)
配套流程
novel-review → 人工/自动确认意见 → novel-rewrite。两者都经 pipeline 按章号范围工作,可分批迭代。
What ships with it
2 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.
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.
- 12d ago First seen · 49 lines · 65 tokens per session scan A cf5919d38dde
novel-rewrite is a skill published in the GitHub repository Xiaoyangy/novel-studio (109 stars, last pushed 3d ago), licensed Apache-2.0. It adds 65 tokens to every session and 646 once invoked, about $0.0003 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
story-review
A review workflow for finding story problems from several viewpoints, including issues with structure, characters, wording, and fictional world rules. It can use multiple reviewer agents or work alone.
story-cover
A novel-cover generator that creates a cover with the book title and author name. It chooses a visual style from the book information and can use Codex's image-generation tool.
shogun-screenshot
A screenshot tool for getting images from a computer or web page and then cropping, resizing, or masking sensitive information. Playwright is a browser-automation tool used here to capture web pages.
imagegen
Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, UI mockups, product shots, or transparent-background cutouts. Use when the result should be an image asset rather than repo-native SVG, HTML/CSS, or canvas.
visualize
A Chinese-language guide for creating interactive charts, diagrams, simulations, visual explanations, dashboards, visual comparisons, SVG or Canvas artwork, and interface prototypes in a Nexus conversation.
html-artifact
Create polished single-file HTML artifacts for plans, reports, explainers, code reviews, lightweight dashboards, prototypes, and one-off editing tools. Use when the user asks for a standalone HTML file, single HTML, HTML artifact, interactive report, shareable local artifact, Alpine.js artifact, custom CSS artifact…