DeepSeek Harness allows functionality extension through plugins. When you need to check the writing quality of novel chapters or excerpts, local analysis tools are useful. The dsh-novel-quality-analyzer plugin addresses this need.
This is a community-maintained plugin that checks vocabulary diversity, clichés, repeated words, and repeated sentences in chapters and story excerpts. The analysis runs locally in the browser without requiring API keys or LLM requests.
Installation¶
Before installing, ensure the following requirements are met:
* Node.js 22.22.2 or higher (24 LTS recommended)
* DeepSeek Harness configured with a web-capable profile
* Modern browser support for Intl.Segmenter
Install the plugin using the official command:
dsh plugin --profile web add dsh-novel-quality-analyzer@latest
After installation completes, start the Harness.
Core Features¶
The plugin provides the following analysis capabilities:
* Word count: Counts total words and unique words
* Lexical diversity: Calculates the ratio of unique words, using a 100-word sliding window by default
* Cliché detection: Identifies specific phrases (e.g., “suddenly”, “little did they know”)
* Content word repetition: Counts frequently occurring content words (excluding common function words)
* Repeated sentences: Detects long sentences that repeat after tokenization normalization
* Sentence metrics: Average sentence length and sentences exceeding 35 words
* Reading time: Estimated based on 200 words per minute
* Style score: Transparent heuristic scoring from 0-100
* Report export: Copyable diagnostic summary
Typical Usage¶
- Open a conversation in DeepSeek Harness.
- Click Analyze writing in the editor toolbar.
- Paste the chapter or excerpt into the Story excerpt input box.
- Results update after a 250-millisecond debounce.
- Review the marked phrases and duplicate content in the context.
- Click Copy report or manually copy the full report.
- Click clear or close the panel to discard the excerpt.
Use Cases and Considerations¶
Use cases:
* Need for local, offline text quality checks.
* Concerns about vocabulary richness and writing patterns.
Considerations:
* Input limit: Maximum of 200,000 UTF-16 code units per analysis; oversized inputs are rejected rather than truncated.
* Language support: Only verified for English; Chinese, Japanese, and Thai are not scored due to tokenizer limitations.
* Data handling: The plugin runs locally in the browser and does not send excerpts to external services or save them to persistent storage.
* Device performance: Synchronous analysis may cause slow devices to freeze when approaching the input limit.
* Report content: Exported reports may include fragments of repeated sentences.
Ecosystem and Resources¶
This plugin is released under the MIT License. The source code is available on GitHub. The community directory page is at SkillHub.
Through the steps above, you can perform writing style diagnostics on novel excerpts within DeepSeek Harness.