requirement-detector

requirement-detector is a skill for Claude Code from wordflowlab/novel-writer-skills. It costs 106 tokens per session (1,391 once invoked), scanned A, original, MIT.

A detector for writing preferences that recognizes requests such as less AI-like prose, faster pacing, stronger emotion, or more logical plots. It then identifies the matching writing standard and can load its reference material after confirmation.

In plain words
What is it for?
Use it when discussing or applying writing requirements for novels. It can identify standards for natural prose, fast-paced stories, logical plotting, serious literature, strong emotion, sweet romance, or tragic romance.
Why use it?
It helps translate broad style requests into a specific set of writing rules. This makes requirements such as natural dialogue, suspense, sweetness, or tragedy easier to apply consistently.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it when discussing or applying writing requirements for novels. It can identify standards for natural prose, fast-paced stories, logical plotting, serious literature, strong emotion, sweet romance, or tragic romance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wordflowlab/novel-writer-skills/requirement-detector
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.

Any agent
npx skills add wordflowlab/novel-writer-skills --skill requirement-detector
Clone the repo
git clone --depth 1 https://github.com/wordflowlab/novel-writer-skills

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 requirement-detector

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wordflowlab/novel-writer-skills/requirement-detector"><img src="https://agentmods.dev/badge/skills/wordflowlab/novel-writer-skills/requirement-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,391 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.00106 $0.01391
Opus 5 $0.00053 $0.00696
Sonnet 5 $0.00021 $0.00278
Haiku 4.5 $0.00011 $0.00139

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

Security

Grade A, and why

requirement-detector 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 12d 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.

templates/skills/quality-assurance/requirement-detector/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

写作规范探测器

核心功能

自动探测用户的写作规范需求,并无缝加载对应的规范知识库。

可探测的规范

1. anti-ai-v4(强力AI去味)

  • 适合:对AI味零容忍的作品、需要极致口语化的小说
  • 特点:200+ 禁用词汇表、6层规则体系、极致自然化
  • 触发词:AI味重、去AI味、太机器、不自然、最强去味

2. anti-ai-v3(标准AI去味)

  • 适合:大部分现代小说、需要平衡自然感和文学性
  • 特点:平衡的去AI策略、适度的词汇限制
  • 触发词:自然一点、少一点AI感、适度去AI、标准去味

3. fast-paced(快节奏/爽文规范)

  • 适合:都市爽文、玄幻升级流、系统文、重生文
  • 特点:每章至少2个爽点、打脸/装逼/升级公式
  • 触发词:爽文、快节奏、爽点、打脸、装逼、升级

4. no-poison(无毒点规范)

  • 适合:所有类型小说(通用)、重视逻辑性的作品
  • 特点:避免降智、强行误会、玛丽苏、工具人、逻辑漏洞
  • 触发词:无毒点、不降智、逻辑自洽、合理、不强行

5. serious-literature(严肃文学规范)

  • 适合:现实主义小说、历史小说、社会问题小说
  • 特点:现实主义手法、思想性和哲学探讨、语言克制
  • 触发词:严肃文学、纯文学、有深度、思想性、人性探讨

6. strong-emotion(强情绪规范)

  • 适合:情感类小说、虐文、需要感染力的作品
  • 特点:每10-15章至少1个情绪爆发点、波浪式情绪节奏
  • 触发词:情绪饱满、情感强烈、有感染力、打动人心

7. romance-sweet(甜文规范)

  • 适合:言情甜文、现代甜宠、轻松向恋爱故事
  • 特点:糖分密度配置、冲突控制、禁止BE倾向
  • 触发词:甜文、撒糖、高糖、齁甜、甜宠、HE

8. romance-angst(虐文规范)

  • 适合:虐恋小说、悲剧向爱情、刀子文
  • 特点:虐要有理有度、虐点设计、虐度等级控制
  • 触发词:虐文、虐心、BE、刀子、分离虐、时机虐

详细关键词列表和触发场景请参阅 KEYWORDS.md


激活后的工作流程

步骤 1:确认规范选择

当探测到关键词后,首先确认用户意图:

我注意到你提到了【AI味重、去AI味】,这通常对应 anti-ai-v4 规范。

我可以:
1. 📖 展示这个规范的详细文档
2. ✅ 直接应用这个规范到你的项目
3. 🔍 看看其他规范选项

你想要哪一个?

步骤 2:加载规范知识库

如果用户确认,使用 Read 工具读取对应的知识库文件:

📖 读取:.claude/knowledge-base/requirements/{requirement-name}.md

然后展示核心要点,完整规范已加载到上下文中。

步骤 3:写入配置标记

使用 Edit 工具在用户的 specification.md 中添加配置:

---
writing-requirements:
  - anti-ai-v4
  - fast-paced
---

提示用户配置已保存,在执行 /write 时会自动遵守这些规范。


多规范处理

当探测到多个规范关键词时,进行兼容性检测:

  • 兼容组合:自动组合并说明综合效果
  • 冲突组合:提示矛盾并给出解决方案

详细的冲突处理逻辑请参阅 CONFLICT_RESOLUTION.md


主动建议

  • 基于风格建议规范:如果 style-detector 已激活,主动推荐配套规范
  • 中途调整支持:持续监控用户反馈,支持规范调整

与 style-detector 的配合

本 Skill 专注于规范层面,与 style-detector(文风层)协同工作:

用户输入:"我要写都市爽文,口语化,去AI味"

style-detector → 识别:natural-voice
requirement-detector → 识别:fast-paced + anti-ai-v4

最终配置:
writing-style: natural-voice
writing-requirements:
  - fast-paced
  - anti-ai-v4

效果:自然人声的快节奏爽文,强力去AI味

Read the full file on GitHub · 150 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 150 lines · 106 tokens per session scan A 0f5c352ee28f

Subscribe to this mod's changes

requirement-detector is a skill published in the GitHub repository wordflowlab/novel-writer-skills (258 stars, last pushed 10mo ago), licensed MIT. It adds 106 tokens to every session and 1,391 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens