Writing engines

A genre is a set of operating rules its authors never state. An engine takes a genre apart to a grain you can execute, then reassembles the parts into something that can write new pieces.

engine = atomic techniques × style fingerprint × red-line review

Atoms govern how a piece is thought up; the fingerprint, how a draft is checked; red lines, what must never appear. Each engine is a self-contained SKILL.md directory with no code dependencies.

The engines

17 engines, 182 atoms. 4 are ready; the rest are on trial. Atom counts come from atoms/index.json. Engine files are in Chinese.

EngineGenreStatusAtomsDirectory
SanlianLived-in city observation (Sanlian Life Lab style)Ready21sanlian-writing ↗
Zhejiang CommentaryOfficial commentary (Zhejiang Propaganda style)Ready12zhexuan-writing ↗
Renwu FeatureProfile features (Renwu magazine style)Ready10feature-writing ↗
Official DocumentGovernment official documents (GB/T 9704-2012)Ready9gongwen-writing ↗
Su ShiSu Shi-style vernacular essays (苏轼体)Trial10sushi-writing ↗
Lu XunLu Xun-style essay (鲁迅体)Trial10luxun-writing ↗
Wang XiaoboWang Xiaobo-style humorous argument (王小波体)Trial10wangxiaobo-writing ↗
Eileen ChangEileen Chang-style prose (张爱玲体)Trial10zhangailing-writing ↗
Li JuanLi Juan-style plain-sketch prose (李娟体)Trial10lijuan-writing ↗
Yu HuaYu Hua-style detached narration (余华体)Trial10yuhua-writing ↗
Stand-upChinese stand-up comedy scripts (脱口秀稿)Trial10standup-writing ↗
Versailles“Versailles” humblebrag (凡尔赛体)Trial10versailles-writing ↗
People's DailyPeople’s Daily commentary (人民日报评论体)Trial10guanfang-writing ↗
Wang ZengqiWang Zengqi-style prose (汪曾祺体)Trial10wangzengqi-writing ↗
Jin YongJin Yong-style wuxia narrative (金庸体)Trial10jinyong-writing ↗
Ah ChengAh Cheng-style plain-sketch narrative (阿城体)Trial10acheng-writing ↗
Mao ZedongMao Zedong-style argumentative prose (毛泽东文章体)Trial10mao-writing ↗

Browse the atom library →

How an engine is built

  1. Sample. Choose a genre with clear boundaries and collect real, high-quality texts.
  2. Extract atoms. Take each text apart into its smallest techniques, then merge them into composable operations.
  3. Fix the fingerprint. Turn “sounds like it” into features that can be counted and compared.
  4. Draw red lines. Write down what gives the style away when misused, with a replacement for each.
  5. Feed back from use. Write real pieces with the engine; where they fail, revise the atoms and red lines.

Every engine follows the same seven-section contract (SPEC.md ↗) and must pass the ten checks in lint_skill.py: complete frontmatter, all seven sections, no full-text corpus, and complete sample output.

Install and use

SKILL.md with frontmatter is a common format. With OpenClaw:

git clone https://github.com/Greatbeing/writing-engines.git
# each engine directory is self-contained: copy one, or all
cp -r writing-engines/*-writing ~/.openclaw/workspace/skills/

For Claude Code or any other host that reads SKILL.md, put the engine directory in its skills path. After writing, you can check the result:

# score a piece for AI flavor against one engine
python tools/ai-flavor-checker.py article.md --engine sanlian-writing
# library-wide lint, assertions and regression tests
python tools/lint_skill.py --all
python tools/run_prompts.py --all

Read the English README on GitHub ↗