luyao-write

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

A command for writing realistic fiction in a style associated with the Chinese novelist Lu Yao, with attention to ordinary work, hardship, and reflection. It offers themes such as rural life, cities, mines, schools, factories, and returning home.

In plain words
What is it for?
Use it to draft scenes or chapters about rural harvests, young people seeking city work, mining areas, factory life, school years, social change, homecoming, and similar themes.
Why use it?
It gives stories a defined realist direction and helps portray working and everyday life with concrete details.

Command for Claude Code

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

Good fit Use it to draft scenes or chapters about rural harvests, young people seeking city work, mining areas, factory life, school years, social change, homecoming, and similar themes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wordflowlab/novel-writer/luyao-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 luyao-write

README.md
[![agentmods](https://agentmods.dev/badge/commands/wordflowlab/novel-writer/luyao-write.svg)](https://agentmods.dev/commands/wordflowlab/novel-writer/luyao-write)
Your own site
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/luyao-write"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/luyao-write.svg" alt="Measured on agentmods" 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,736 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.01736
Opus 5 $0.00000 $0.00868
Sonnet 5 $0.00000 $0.00347
Haiku 4.5 $0.00000 $0.00174

Measured 8d ago against content hash db02b58f7cd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

luyao-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 8d 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/luyao-style/commands/luyao-write.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

路遥风格现实主义创作

使用路遥风格创作充满泥土气息与生命哲思的现实主义作品。

使用方法

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

内容类型

  • rural - 农村生活
  • urban - 城市奋斗
  • mining - 矿区故事
  • school - 校园青春
  • factory - 工厂生活
  • transition - 转型时期
  • homecoming - 返乡主题
  • chapter - 标准章节

示例用法

农村生活场景

用户:/luyao-write rural 1982年夏天的麦收

AI:
第三章 麦子熟了

1982年的麦收来得比往年早了些。

孙少平站在自家的麦地边上,看着那一片金黄,心里涌起一阵说不出的滋味。这是包产到户后的第一个麦收,也是他们家第一次为自己收麦子。

太阳刚从东山梁上露出脸,露水还挂在麦穗上,在朝阳下闪着碎钻般的光。少平深深吸了一口气,空气里满是麦子成熟的香味,还混着泥土的气息。

"少平,愣啥哩!快动手!"

父亲的声音从地那头传来。老人已经弯下腰,开始挥动镰刀了。咔嚓、咔嚓的声音在清晨的田野上响起,像是一首古老的歌谣。

少平赶紧拿起镰刀。刀是昨晚才磨的,锋利得能削铁如泥。他弯下腰,左手揽住一把麦子,右手的镰刀贴着地皮一拉,麦子就整齐地倒下了。

汗水很快就浸透了他的粗布衫子。但少平心里是高兴的——这麦子是自家的,每一粒都是自家的。不用再看队长的脸色,不用再为工分发愁。

兰花端来了绿豆汤。碗是粗瓷的,汤面上飘着几片薄荷叶子。

"慢点喝,还烫着哩。"她说着,用袖子擦了擦额头的汗。

少平接过碗,咕咚咕咚喝了个底朝天。绿豆汤又甜又凉,一下子就浇灭了心里的火。他看着妹妹被太阳晒红的脸,忽然觉得,日子虽然还是苦,但总算有了奔头...

[继续3000字的细腻描写...]

城市奋斗主题

用户:/luyao-write urban 农村青年第一次进城找工作

AI:
第七章 城里的太阳

1985年春天,田福军第一次踏进省城的火车站。

人潮像洪水一样从四面八方涌来,他被挤在中间,几乎喘不过气。手里的蛇皮袋子死死攥着,里面是母亲烙的十几个馍馍,还有一身换洗的衣服。

出了火车站,城市的喧嚣扑面而来。汽车的喇叭声、小贩的叫卖声、收音机里的流行歌曲,全都搅在一起,让这个在黄土地上长大的年轻人头晕目眩。

他在人才市场门口站了很久,看着那些衣着光鲜的城里人进进出出,自己身上的蓝布衫子显得格外扎眼。有好几次,他想转身就走,但想起临走时父亲那期盼的眼神,又硬着头皮留了下来。

"小伙子,找工作?"

一个戴眼镜的中年人走过来。福军点点头,声音有些发颤:"是...是的。"

"有啥特长没有?"

福军想了想:"我...我有力气,啥活都能干。"

中年人笑了:"光有力气可不行,现在城里要的是技术工。你识字不?"

"高中毕业。"说这话时,福军挺了挺胸。在他们村,高中毕业就算是文化人了。

[继续展现农村青年在城市的挣扎与成长...]

矿区生活

用户:/luyao-write mining 煤矿工人的一天

AI:
第十二章 黑金

凌晨四点,闹钟还没响,王满银就醒了。

这是多年养成的习惯。在地下八百米的地方干活,时间观念必须强。他轻手轻脚地起床,怕吵醒还在熟睡的婆姨和娃娃。

外面的天还黑着,只有矿区的灯火在远处闪烁。满银套上工作服,那是一身洗得发白的蓝布衣裳,上面还有洗不掉的煤渍。他在门口的水缸里舀了一瓢凉水,哗啦啦地洗了把脸,顿时清醒了许多。

矿井口,工友们陆续到了。大家都不怎么说话,默默地戴上安全帽,检查矿灯。

"下井了!"班长一声吆喝,大伙儿排成队,走进那个黑洞洞的井口。

罐笼往下降的时候,耳朵嗡嗡作响。满银闭上眼,在心里默念着婆姨昨晚说的话:"当心些,平平安安回来。"

[继续描写矿工生活的艰辛与尊严...]

创作特色

必备元素

  1. 时代背景:准确的时代特征和社会环境
  2. 生活细节:至少3处具体的生活细节描写
  3. 人物刻画:朴实而立体的人物形象
  4. 情感表达:含蓄内敛的情感流露
  5. 方言运用:适度的地方语言特色
  6. 希望主题:苦难中的坚韧与希望

语言要求

  • 叙述朴实无华,准确有力
  • 避免华丽辞藻和空洞抒情
  • 对话生活化、个性化
  • 适当运用陕北方言
  • 景物描写融入情感

输出规范

  • 字数要求:不少于3000字
  • 段落控制:每段100-200字
  • 对话比例:占总文20-30%
  • 细节描写:占总文30-40%
  • 叙事推进:占总文40-50%

Read the full file on GitHub · 143 lines

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. 8d ago First seen · 143 lines · 0 tokens per session scan A db02b58f7cd7

Subscribe to this mod's changes

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