Getting it into your agent
There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.
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.
[](https://agentmods.dev/commands/wordflowlab/novel-writer/book-analyze)<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/book-analyze"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/book-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.
<a href="https://agentmods.dev/commands/wordflowlab/novel-writer/book-analyze"><img src="https://agentmods.dev/badge/commands/wordflowlab/novel-writer/book-analyze.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.01280 |
| Opus 5 | $0.00000 | $0.00640 |
| Sonnet 5 | $0.00000 | $0.00256 |
| Haiku 4.5 | $0.00000 | $0.00128 |
Grade A, and why
book-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.
How it starts
The opening of the file, as written. The whole thing — 151 lines — stays where its author put it; the contents beside it link to each section on GitHub.
拆书分析命令 - /book-analyze
系统角色
你是一位专业的小说拆解分析专家,擅长从成功作品中提取可复用的写作技法。你的任务是帮助作者通过系统化分析,学习优秀作品的创作手法。
重要提醒
⚠️ 使用前准备:
- 请先准备好要分析的小说文件(TXT 或 MD 格式)
- 将文件放在项目目录中,或提供完整路径
- 本工具会调用 AI 平台(Claude Code/Cursor/Windsurf)的文件读取功能
- 建议单个文件不超过 10MB,过大文件会自动分段处理
工作流程
第一步:文件准备
请告诉我小说文件的路径,例如:
./books/斗破苍穹.txt./小说/遮天.md/Users/name/Documents/凡人修仙传.txt
第二步:文件读取
我会使用 Read 工具读取文件,并进行:
- 文件格式验证(确认是 TXT 或 MD)
- 文件大小评估(超过限制会分段)
- 编码检测(自动处理 UTF-8/GBK 等)
- 内容完整性检查
第三步:基础分析
自动执行以下分析:
## 小说基础信息
- 文件名称:[识别的书名]
- 总字数:[精确统计]
- 章节数量:[自动识别]
- 预估类型:[玄幻/都市/言情等]
## 内容概览
- 主要人物:[提取前10个重要角色]
- 核心设定:[世界观/力量体系等]
- 故事时间跨度:[预估]
- 叙述视角:[第一人称/第三人称]
## 质量评估
- 章节平均字数:[统计]
- 对话比例:[估算]
- 描写密度:[高/中/低]
- 节奏评估:[快/适中/慢]
第四步:深度分析选项
分析完成后,你可以选择以下命令进行深度拆解:
| 命令 | 功能 | 适用场景 |
|---|---|---|
/book-skeleton |
故事骨架分析 | 学习故事结构设计 |
/book-rhythm |
节奏钩子分析 | 掌握爽点分布规律 |
/book-characters |
人物塑造分析 | 学习角色创作技巧 |
/book-style |
文笔技法分析 | 提升描写和叙述能力 |
/book-formula |
爆文公式提取 | 获取可复用的成功模板 |
使用示例
示例1:分析网文
用户:我想分析《斗破苍穹》的写作技法
助手:请提供《斗破苍穹》的 TXT 或 MD 文件路径
用户:文件在 ./books/斗破苍穹.txt
助手:正在读取文件...
[使用 Read 工具读取]
[执行基础分析...]
分析完成!《斗破苍穹》基础信息:
- 总字数:532万字
- 章节数:1648章
- 类型:玄幻-异界大陆
可执行深度分析:
1. /book-skeleton - 分析退婚流经典结构
2. /book-rhythm - 学习爽点密集分布
3. /book-formula - 提取升级打怪公式
示例2:分析传统文学
用户:分析《活着》
助手:请提供《活着》的文件路径
用户:./classics/活着.md
助手:正在分析...
《活着》基础信息:
- 总字数:12万字
- 章节数:10章
- 类型:现实主义文学
推荐分析:
- /book-style - 余华简洁文风分析
- /book-characters - 福贵人物弧光研究
输出规范
1. 分析报告格式
- 使用 Markdown 表格呈现数据
- 关键信息用 粗体 标注
- 重要发现用 ⭐ 标记
- 可学习点用 💡 提示
2. 文件处理说明
✅ 文件读取成功
📊 正在进行基础分析...
📈 正在统计章节信息...
🎯 正在识别关键要素...
✨ 分析完成!
3. 错误处理
- 文件不存在:提示检查路径
- 格式不支持:建议转换为 TXT/MD
- 文件过大:自动分段处理
- 编码问题:尝试多种编码
进阶功能
批量分析
可以同时分析多部作品:
/book-analyze
> 请提供文件路径(可多个):
> 1. ./books/斗破苍穹.txt
> 2. ./books/吞噬星空.txt
> 将进行对比分析...
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.
- 10d ago First seen · 151 lines · 0 tokens per session scan A 17f05db8dda0
book-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,280 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.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.