shizhangyu-write

shizhangyu-write is a command for Claude Code from wordflowlab/novel-writer. It costs 0 tokens per session (1,481 once invoked), scanned A, original, MIT.

A command for creating long Chinese-language historical fiction in the style of the named author, using types such as opening, battle, intrigue, chapter, and finale.

In plain words
What is it for?
Use it to request Chinese fiction scenes involving political strategy, battles, revelations, climaxes, or story openings.
Why use it?
It gives the writer a predefined structure for requesting different kinds of epic scenes and chapters.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to request Chinese fiction scenes involving political strategy, battles, revelations, climaxes, or story openings.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wordflowlab/novel-writer/shizhangyu-write
Install

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.

Clone the repo
git clone --depth 1 https://github.com/wordflowlab/novel-writer

Made for: Claude Code.

Wrote 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.

agentmods badge for shizhangyu-write

README.md
[![agentmods](https://agentmods.dev/badge/commands/wordflowlab/novel-writer/shizhangyu-write/github.svg)](https://agentmods.dev/commands/wordflowlab/novel-writer/shizhangyu-write)
Your own site
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/shizhangyu-write"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/shizhangyu-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.

agentmods 80×15 button for shizhangyu-write

Your own site · 80×15
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/shizhangyu-write"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/shizhangyu-write.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01481
Opus 5 $0.00000 $0.00740
Sonnet 5 $0.00000 $0.00296
Haiku 4.5 $0.00000 $0.00148

Measured 11d ago against content hash 6be16967de84, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

shizhangyu-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.

plugins/shizhangyu-style/commands/shizhangyu-write.md · 128 lines

What it actually says

石章鱼风格史诗创作

使用石章鱼风格创作20000字以上的史诗级章节,融合宏大叙事、深邃权谋、鲜活人物。

使用方法

/shizhangyu-write <类型> [描述]

内容类型

  • opening - 开篇章节(强钩子)
  • court - 朝堂风云
  • battle - 战争场面
  • intrigue - 权谋密室
  • revelation - 真相揭露
  • climax - 高潮冲突
  • finale - 大结局
  • chapter - 标准章节

示例用法

创作开篇章节

用户:/shizhangyu-write opening 大唐永徽六年,一场改变历史的刺杀

AI:
第一章 血染未央

永徽六年,长安。

子时三刻,含元殿外的石阶上,一滴血悄无声息地滴落,在月光下泛着诡异的暗红。

李淳风停下脚步,他那双看透天机的眼睛微微眯起。作为大唐司天监,他本该在钦天监观星,但今夜的星象让他不得不冒死入宫。紫微星暗淡,帝星摇曳,而最让他心惊的是,一颗原本不该出现的客星,正缓缓逼近帝座。

"有人要弑君。"这个念头刚在他脑中闪过,远处便传来一声压抑的闷哼。

[继续20000字的精彩内容...]

创作权谋场景

用户:/shizhangyu-write intrigue 三方势力的秘密会谈

AI:
第十七章 三国弈局

建安十三年,许昌城外二十里,废弃的青云观。

三盏灯火,三张面孔,三个足以改变天下格局的人物。

曹操的谋士郭嘉端坐东位,他咳嗽了两声,殷红的血丝在丝帕上绽开。众人都知道,这位被称为"鬼才"的谋士命不久矣,但谁也不敢小觑一个将死之人的最后布局。

南位上,周瑜负手而立,三十二岁的他正值壮年,眼中闪烁着的光芒如长江之水,深不可测。作为孙权的左膀右臂,他今夜的出现本身就是一个危险的信号。

西位空了半刻,才有人施施然入座。来者一袭青衫,羽扇纶巾,正是刘备的军师诸葛亮。二十七岁的卧龙初出茅庐不过一年,却已经搅动了半个天下。

"三位今夜相聚,所为何事?"郭嘉率先开口,声音虚弱却暗藏机锋。

[继续展开三方博弈的精彩内容,总计20000字...]

创作战争场面

用户:/shizhangyu-write battle 官渡之战最后一夜

AI:
第二十三章 官渡血夜

建安五年九月,官渡。

战鼓如雷,血月当空。

袁绍大营中,七十万大军已经完成集结。这是他倾尽河北四州之力聚集的军队,单是看着那连绵不绝的营帐,就足以让任何敌人胆寒。

"今夜,便是曹阿瞒的死期!"袁绍站在帅台之上,他那张原本儒雅的脸上,此刻满是狰狞。三个月的对峙,十万石粮草的消耗,还有许攸的背叛,这一切都让这位河北霸主失去了往日的从容。

就在此时,中军大帐外传来一阵骚动。

"报!乌巢方向火起!"

这六个字如同晴天霹雳,瞬间让袁绍的脸色变得惨白。乌巢,那是他屯放粮草的要地,那里有支撑七十万大军一个月的军粮!

[继续描写官渡之战的惊心动魄,包含多个视角、多条战线,总计20000字...]

创作特色

必备元素

  1. 开篇钩子:前500字必须抓住读者
  2. 多线并进:至少3条剧情线交织
  3. 权谋较量:智慧的交锋和算计
  4. 人物刻画:每个人物都有独特魅力
  5. 伏笔布设:每章至少5个伏笔
  6. 高潮设置:3个高潮点合理分布
  7. 悬念结尾:章节结尾留下强悬念

语言要求

  • 叙述凝练有力,富有画面感
  • 对话个性鲜明,符合人物身份
  • 古代背景融入诗词典故
  • 现代背景使用专业术语
  • 战斗场面热血激昂
  • 权谋对话暗藏机锋

输出规范

  • 字数要求:严格不少于20000字
  • 段落控制:每段100-300字
  • 对话比例:占总文30-40%
  • 场景描写:占总文20-30%
  • 心理描写:占总文10-15%
  • 情节推进:占总文30-40%

配置选项

  • --perspective <type> - 视角选择(全知/限制)
  • --pace <speed> - 节奏控制(紧凑/舒缓/均衡)
  • --focus <element> - 重点要素(情节/人物/氛围)
  • --foreshadow-density <1-10> - 伏笔密度

相关命令

  • /shizhangyu-style - 激活风格模式
  • /shizhangyu-plot - 设计权谋情节
  • /shizhangyu-character - 人物深度塑造
  • /shizhangyu-foreshadow - 伏笔管理
Changes

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.

  1. 11d ago First seen · 128 lines · 0 tokens per session scan A 6be16967de84

Subscribe to this mod's changes

shizhangyu-write is a command published in the GitHub repository wordflowlab/novel-writer (943 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,481 tokens. 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.