expert

expert is a command for Claude Code from wordflowlab/novel-writer. It costs 8 tokens per session (772 once invoked), scanned A, original, MIT.

A command that activates specialised writing advisers for areas such as plots, characters, worlds, and style. It can also load advisers supplied by plugins.

In plain words
What is it for?
Use it to list available advisers, activate one, get help with story structure or character development, design a fictional world, or improve writing style.
Why use it?
It gives writing requests a chosen area of expertise and a structured way to analyse or improve them.

Command for Claude Code

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

Good fit Use it to list available advisers, activate one, get help with story structure or character development, design a fictional world, or improve writing style.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/wordflowlab/novel-writer/expert.svg)](https://agentmods.dev/commands/wordflowlab/novel-writer/expert)
Your own site
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/expert"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 772 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.00008 $0.00772
Opus 5 $0.00004 $0.00386
Sonnet 5 $0.00002 $0.00154
Haiku 4.5 $0.00001 $0.00077

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

Security

Grade A, and why

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

.specify/templates/commands/expert.md · 100 lines

What it actually says

专家模式

根据用户输入执行相应操作:

1. 列出可用专家(无参数时)

如果用户输入 /expert 不带参数,显示所有可用专家:

核心专家

  • plot - 剧情结构专家

    • 精通三幕、英雄之旅、故事圈等叙事结构
    • 分析情节问题、优化节奏、设计冲突升级
  • character - 人物塑造专家

    • 人物弧光设计、动机分析、性格塑造
    • 对话优化、声音区分、关系构建
  • world - 世界观设计专家

    • 世界观构建、设定一致性、文化背景
    • 规则体系、历史脉络、地理环境
  • style - 文风语言专家

    • 叙述技巧、修辞手法、语言风格
    • 文风统一、氛围营造、节奏把控

插件专家

扫描 plugins/ 目录,如果存在带有专家配置的插件,列出:

  • 检查每个插件目录下的 config.yaml
  • 如果包含 experts 字段,显示专家信息

使用示例:/expert plot 激活剧情结构专家

2. 激活专家模式

用户输入:/expert <type> (如 /expert plot

执行步骤:

  1. 确认专家类型

    • 核心专家:读取 experts/core/<type>.md
    • 插件专家:读取对应插件的专家文件
  2. 加载专家配置 读取专家定义文件,获取:

    • 身份定位
    • 专业领域
    • 工作方式
    • 分析框架
  3. 进入专家模式

    ✨ 已激活【<专家名称>】模式
    
    [显示专家的自我介绍]
    
    我现在会从专业角度为您提供 <领域> 方面的深度指导。
    有什么可以帮助您的吗?
    
  4. 模式特征

    • 保持专家视角和专业术语
    • 提供深度分析而非快速答案
    • 引用相关理论和方法论
    • 主动提出诊断性问题

3. 专家模式行为准则

进入专家模式后:

  • 保持专业身份:始终以该领域专家的视角交流
  • 深度优先:提供详细分析而非简单建议
  • 理论支撑:引用相关专业理论和框架
  • 主动引导:通过提问帮助用户深入思考
  • 持续模式:直到用户使用其他 / 命令才退出

4. 退出专家模式

当用户使用任何其他 / 命令时:

  1. 自动退出专家模式
  2. 执行新命令
  3. 回到正常交互模式

无需显式退出命令,保持使用流畅性。

5. 错误处理

  • 如果指定的专家不存在:

    未找到专家类型:<type>
    可用的专家有:plot, character, world, style
    使用 /expert 查看所有可用专家
    
  • 如果专家文件读取失败:

    专家配置加载失败,请检查文件是否存在:
    experts/core/<type>.md
    
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 · 100 lines · 8 tokens per session scan A 920c4897a669

Subscribe to this mod's changes

expert is a command published in the GitHub repository wordflowlab/novel-writer (940 stars, last pushed 10mo ago), licensed MIT. It adds 8 tokens to every session and 772 once invoked, about $0.0000 per session on Opus 5. 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.