wangyu-analyze

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

A command that reviews Chinese text for traits associated with Wang Yu’s fiction style, including world-building, narration, characters, resource scarcity, and suspense. It returns scores, problems, suggestions, and an example revision.

In plain words
What is it for?
Use it to analyse a passage or file with `/wangyu-analyze`, especially for fantasy fiction setting, pacing, characterisation, and foreshadowing.
Why use it?
It gives a structured way to assess whether a passage matches a particular literary style and where it could improve.

Command for Claude Code

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

Good fit Use it to analyse a passage or file with /wangyu-analyze, especially for fantasy fiction setting, pacing, characterisation, and foreshadowing.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/wangyu-analyze"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/wangyu-analyze.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,012 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.01012
Opus 5 $0.00000 $0.00506
Sonnet 5 $0.00000 $0.00202
Haiku 4.5 $0.00000 $0.00101

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

Security

Grade A, and why

wangyu-analyze 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 10d 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/wangyu-style/commands/wangyu-analyze.md · 103 lines

What it actually says

忘语风格分析

分析文本是否符合忘语风格特征,提供详细的评分报告和改进建议。

使用方法

/wangyu-analyze [文本或文件路径]

分析维度

1. 世界观严谨度(1-10分)

  • 力量体系是否清晰完整
  • 资源设定是否合理
  • 地理环境是否具体
  • 势力格局是否明确

2. 叙事风格(1-10分)

  • 是否保持冷静客观
  • 有无过度华丽辞藻
  • 叙事节奏是否得当
  • 描写是否精准详实

3. 人物塑造(1-10分)

  • 主角是否谨慎务实
  • 配角是否立体丰满
  • 人物行为是否合理
  • 关系是否复杂真实

4. 资源意识(1-10分)

  • 是否体现资源稀缺
  • 获取难度是否合理
  • 价值体系是否明确
  • 竞争是否激烈

5. 悬念设置(1-10分)

  • 是否有效埋设伏笔
  • 悬念是否环环相扣
  • 回收是否合理
  • 是否保持神秘感

示例分析

用户:/wangyu-analyze "林平手持长剑,运转真气,一剑斩出,剑气纵横,瞬间击败了对手。"

AI:忘语风格分析报告
═══════════════════

整体评分:4.5/10 (不太符合忘语风格)

详细评分:
┌─────────────┬─────┬──────────────────────┐
│ 维度        │ 得分 │ 问题分析              │
├─────────────┼─────┼──────────────────────┤
│ 世界观严谨度 │ 3/10│ 缺少具体境界说明      │
│ 叙事风格    │ 4/10│ 过于简单直白          │
│ 人物塑造    │ 5/10│ 人物过于单薄          │
│ 资源意识    │ 3/10│ 未体现法宝珍贵性      │
│ 悬念设置    │ 2/10│ 缺少悬念和伏笔        │
└─────────────┴─────┴──────────────────────┘

主要问题:
1. ❌ 战斗描写过于简单,缺少细节
2. ❌ 未说明人物修为境界
3. ❌ "瞬间击败"太过轻松
4. ❌ 缺少战术和策略描写

改进建议:
1. 添加具体的境界描述(如"筑基后期")
2. 详细描写剑法和真气运转
3. 增加战斗的来回较量
4. 体现法器的珍贵和消耗

忘语风格改写示例:
"林平深吸一口气,体内筑基后期的法力缓缓运转。他手中的青锋剑乃是一件上品法器,此刻剑身上符文隐现,散发着淡淡寒光。

对面的黑衣修士同样筑基后期,见状冷笑一声,祭出一面龟甲盾牌。

林平目光一凝,这一战恐怕没那么容易。他需要速战速决,否则法力消耗过大,后果难料。想到此处,他悄然捏碎了袖中的一张二阶灵符……"

分析选项

  • --detail - 提供更详细的分析
  • --suggest - 提供具体修改建议
  • --rewrite - 直接给出忘语风格改写版本
  • --compare - 与《凡人修仙传》原文对比

评分标准

  • 9-10分:完美符合忘语风格
  • 7-8分:基本符合,略有瑕疵
  • 5-6分:部分符合,需要改进
  • 3-4分:不太符合,问题较多
  • 1-2分:完全不符,需要重写

相关命令

  • /wangyu-style - 激活忘语风格
  • /wangyu-write - 忘语风格创作
  • /wangyu-enhance - 强化风格特征
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. 10d ago First seen · 103 lines · 0 tokens per session scan A e3030946eeb6

Subscribe to this mod's changes

wangyu-analyze 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,012 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.