shizhangyu-plot

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

A command for designing complex power-struggle plots with multiple factions, competing interests, plans, betrayals, and turning points. It supports palace, political, military, business, succession, alliance, infiltration, and revolution stories.

In plain words
What is it for?
Use it to analyze factions, design layered schemes, check character motivations and causal chains, and add twists or clues to a political-power storyline.
Why use it?
It helps structure complicated plots so factions' motives, cause-and-effect links, and plan feasibility remain coherent.

Command for Claude Code

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

Good fit Use it to analyze factions, design layered schemes, check character motivations and causal chains, and add twists or clues to a political-power storyline.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/wordflowlab/novel-writer/shizhangyu-plot.svg)](https://agentmods.dev/commands/wordflowlab/novel-writer/shizhangyu-plot)
Your own site
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/shizhangyu-plot"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/shizhangyu-plot.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,558 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.01558
Opus 5 $0.00000 $0.00779
Sonnet 5 $0.00000 $0.00312
Haiku 4.5 $0.00000 $0.00156

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

Security

Grade A, and why

shizhangyu-plot 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 9d 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-plot.md · 194 lines

What it actually says

权谋情节设计大师

设计多层次、多阵营、逻辑严密的权谋布局,创造石章鱼式的深邃博弈。

使用方法

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

权谋类型

  • palace - 宫廷阴谋
  • political - 政治博弈
  • military - 军事谋略
  • business - 商业战争
  • succession - 继承权争夺
  • alliance - 联盟与背叛
  • infiltration - 渗透与潜伏
  • revolution - 变革与政变

功能特色

1. 势力分析

  • 识别各方阵营和利益关系
  • 分析实力对比和资源分布
  • 评估各方优势劣势
  • 预判可能的联盟和背叛

2. 计谋设计

  • 基础计谋库(36计)
  • 高阶策略组合
  • 多重嵌套设计
  • 反转和意外设置

3. 逻辑验证

  • 检查计谋可行性
  • 验证因果链条
  • 确保人物动机合理
  • 避免逻辑漏洞

示例用法

设计宫廷阴谋

用户:/shizhangyu-plot palace 太子之位的争夺

AI:
【权谋布局:夺嫡之战】

势力分析:
━━━━━━━━━━━━━━━━━━
阵营一:太子党
- 核心:当朝太子李承乾
- 优势:名分正统、东宫系统、部分朝臣支持
- 劣势:皇帝猜忌、行为失德、军权薄弱
- 关键人物:太子太傅魏征、左卫将军侯君集

阵营二:魏王党
- 核心:魏王李泰
- 优势:皇帝宠爱、才华横溢、财力雄厚
- 劣势:无军权、朝臣反感其骄横
- 关键人物:中书令岑文本、御史大夫刘洎

阵营三:晋王党(隐藏势力)
- 核心:晋王李治
- 优势:低调隐忍、皇后支持、无人防备
- 劣势:年龄最小、看似软弱
- 关键人物:长孙无忌(暗中支持)

阴谋主线:
第一层:表面的太子与魏王之争
第二层:长孙无忌暗中削弱两强
第三层:皇帝有意让诸子相争以平衡
第四层:外戚势力渗透其中谋求长远

具体计谋部署:

阶段一:挑拨离间(1-3月)
- 魏王党制造太子谋反证据
- 太子党散布魏王结党营私
- 晋王党两边煽风点火

阶段二:釜底抽薪(4-6月)
- 设计除掉侯君集(太子失去军事支持)
- 构陷岑文本贪腐(魏王失去中枢助力)
- 长孙无忌明哲保身,暗助晋王

阶段三:最后一击(7-9月)
- 太子兵变事泄,被废
- 魏王得意忘形,触怒皇帝
- 晋王"被迫"接受册立

关键转折点:
1. 侯君集谋反案(真假参半)
2. 承乾与汉王密谋泄露
3. 魏王"谦让"时机的算计
4. 长孙无忌的关键一票

伏笔设置:
- 一封三年前的密信
- 太子府中的内鬼身份
- 皇帝的真实意图
- 武媚娘的介入时机

设计商战布局

用户:/shizhangyu-plot business 三大集团的收购战

AI:
【权谋布局:资本猎杀】

目标公司:华创科技(市值500亿)

博弈方:
━━━━━━━━━━━━━━━━━━
远东集团(进攻方)
- 资金:2000亿现金流
- 策略:恶意收购
- 弱点:涉嫌垄断

盛世资本(防守方)
- 持股:华创35%股份
- 策略:白衣骑士
- 弱点:资金链紧张

暗流国际(搅局者)
- 背景:海外神秘资本
- 策略:渔翁得利
- 弱点:政策风险

七层博弈设计:

第一层:公开收购战
远东报价550亿恶意收购

第二层:股价操纵
三方暗中操纵股价波动获利

第三层:内幕交易
关键高管被收买/威胁

第四层:媒体战
操控舆论影响监管决策

第五层:政商勾结
通过政界关系影响审批

第六层:国际博弈
引入外资引发国家安全审查

第七层:真实目的
华创只是幌子,真正目标是其专利技术

[继续展开详细的商战计谋...]

高级功能

计谋组合器

可以将多个基础计谋组合成复杂策略:

  • 明修栈道 + 暗度陈仓 + 围魏救赵
  • 美人计 + 反间计 + 离间计
  • 空城计 + 苦肉计 + 诈降计

逻辑推演器

模拟计谋实施的可能结果:

  • 成功概率评估
  • 风险点识别
  • 应急预案制定
  • 反制措施准备

人物动机分析

深度分析每个参与者的动机:

  • 表面目的
  • 真实意图
  • 底线原则
  • 可能的背叛点

输出格式

  1. 势力图谱:清晰展示各方关系
  2. 计谋蓝图:分阶段的详细计划
  3. 关键节点:决定成败的转折点
  4. 风险评估:可能的失败因素
  5. 伏笔清单:需要预埋的线索

相关命令

  • /shizhangyu-style - 激活风格
  • /shizhangyu-write - 创作实施
  • /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. 9d ago First seen · 194 lines · 0 tokens per session scan A 0a29ba6be0bd

Subscribe to this mod's changes

shizhangyu-plot 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,558 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.