style-detector

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

A writing-style detector for novel projects. It recognizes requests such as conversational, literary, fast-paced web fiction, classical, or minimalist writing and loads the matching guidance.

In plain words
What is it for?
Use it to identify a requested style, review its guidance, apply it to a project, save the choice in the specification, and handle compatible or conflicting style combinations.
Why use it?
It helps translate broad style preferences into concrete writing rules and project settings.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to identify a requested style, review its guidance, apply it to a project, save the choice in the specification, and handle compatible or conflicting style combinations.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/wordflowlab/novel-writer-skills/style-detector"><img src="https://agentmods.dev/badge/skills/wordflowlab/novel-writer-skills/style-detector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 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.00094 $0.01075
Opus 5.5 $0.00038 $0.00430
Sonnet 5.5 $0.00019 $0.00215
Haiku 4.5 $0.00009 $0.00108

Measured 2mo ago against content hash 59071ea3a249, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

style-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 2mo 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/style-detector/SKILL.md · 127 lines

What it actually says

写作风格探测器

核心功能

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

可探测的风格

1. natural-voice(自然人声风格)

  • 适合:都市现代小说、现实题材、情感类小说
  • 特点:口语化、生活化、真实感强
  • 触发词:口语化、真实感、接地气、像说话一样

2. literary(文学风格)

  • 适合:严肃文学作品、历史小说、需要思想深度的故事
  • 特点:优美、深刻、有文学性、注重意境
  • 触发词:文学性、严肃文学、纯文学、有深度

3. web-novel(网文风格)

  • 适合:玄幻小说、都市爽文、系统流、重生流
  • 特点:节奏快、冲突密集、爽点频繁
  • 触发词:网文、爽文、打脸、装逼、升级流

4. ancient-style(古风)

  • 适合:武侠小说、仙侠、古代背景小说
  • 特点:有古韵但不纯文言、意象丰富、诗意化
  • 触发词:古风、古韵、武侠风、江湖味

5. minimal(极简风格)

  • 适合:悬疑推理、冷硬派小说、实验性作品
  • 特点:高度简洁、海明威式克制、留白艺术
  • 触发词:极简、海明威、克制、冷硬

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


激活后的工作流程

步骤 1:确认风格选择

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

我注意到你提到了【口语化】,这通常对应 natural-voice 风格。

我可以:
1. 📖 展示这个风格的详细指南
2. ✅ 直接应用这个风格到你的项目
3. 🔍 看看其他风格选项

你想要哪一个?

步骤 2:加载风格知识库

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

📖 读取:.claude/knowledge-base/styles/{style-name}.md

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

步骤 3:写入配置标记

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

---
writing-style: natural-voice
---

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


多风格处理

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

  • 兼容组合:提供混合方案和比例建议
  • 冲突组合:提示矛盾并给出解决方案

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


主动建议

  • 基于故事类型建议风格:分析 specification 中的故事类型,主动推荐适合的风格
  • 中途调整支持:持续监控用户反馈,支持风格调整

与 requirement-detector 的配合

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

style-detector → 识别文风 → 加载 styles/*.md
requirement-detector → 识别规范 → 加载 requirements/*.md

最终组合效果示例:
natural-voice (风格) + anti-ai-v4 + fast-paced (规范)
= 自然人声的快节奏爽文,强力去AI味

使用示例

完整的对话示例和成功案例请参阅 EXAMPLES.md。


Skill 版本:v1.1 最后更新:2025-10-19 兼容版本:novel-writer-skills v1.0.5+

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. 2mo ago First seen · 127 lines · 94 tokens per session scan A 59071ea3a249

Subscribe to this mod's changes

style-detector is a skill published in the GitHub repository wordflowlab/novel-writer-skills (270 stars, last pushed 1y ago), licensed MIT. It adds 94 tokens to every session and 1,075 once invoked, about $0.0004 per session on Opus 5.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

style-detector compared with skills from other repositories

style-detector next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
style-detectorwordflowlab/novel-writer-skillsSkill2701y agoMITA94Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code