AI Agent Hub
Back to plugins
🧰

dsh-cnwrite

Web Tools Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install guozede12593312/dsh-cnwrite

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install guozede12593312/dsh-cnwrite in your terminal to install; the source code is at https://github.com/guozede12593312/dsh-cnwrite and requires no build step or post-install scripts.

About this plugin

AI-assisted Chinese writing usually trips up on two things: CJK and Latin text glued together, half-width and full-width punctuation mixed at random, and no quick way to check character count before hitting publish. dsh-cnwrite folds both fixes into the chat itself—type one prompt and you are done.

Two commands cover the job. cn_polish handles typesetting: it inserts spaces between CJK and Latin runs, normalises half-width punctuation to full-width, unifies Chinese quotation marks, and trims stray blank lines, while leaving decimals and URLs untouched. cn_stats delivers writing metrics in one shot—total characters, CJK character count, English word count, paragraph and sentence counts, and an estimated reading time—handy for fee-word estimates or gauging article length.

Everything runs as pure local text computation: no network calls, no file reads, no API keys required, and the core logic is roughly 100 lines of pure functions you can audit at a glance. If you ship Chinese content daily—bloggers, editors, or developers who want AI output ready to paste into a CMS—this plugin drops in with zero configuration.

Use Cases

  • Clean up AI-generated Chinese drafts where CJK and Latin text, punctuation, and spacing look messy before publishing.
  • Estimate word count and reading time for blog posts, columns, or freelance billing quickly.
  • Batch-normalise half-width punctuation, quotation marks, and stray blank lines into publish-ready Chinese formatting.

Best For

  • Freelance editors and columnists who publish Chinese content daily.
  • Developers using AI chats to draft Chinese and want output ready for CMS pasting.
  • Writers who estimate fees by word count or gauge article length before shipping.