Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By PeterTingv0.1.0MITIn 1 marketplace
Makes Claude and its agents reply in Chinese (Traditional by default), and asks for a rewrite when a reply comes back in another language.
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Who it applies toscope
all: the main conversation, subagents and teammates. main: the main conversation only.
One of all, main
stringdefault all
When a reply is not in Chineseenforce
rewrite: ask Claude to say it again in Chinese, once (one extra turn). remind: show a notice and remind Claude with your next prompt.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it reads or rewrites your prompts; sends prompts on its own; changes what Claude reads (system prompt, context, reminders).
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
One of rewrite, remind
stringdefault rewrite
Chinese variantvariant
zh-TW: Traditional Chinese (Taiwan usage). zh-CN: Simplified Chinese.
One of zh-TW, zh-CN
stringdefault zh-TW
Makes Claude reply in Chinese, Traditional (Taiwan usage) by default, and holds its subagents and teammates to the same rule. When a reply still comes back in another language, it asks Claude to say it again in Chinese.
/plugin install zh-reply --marketplace PeterTing/claude-mod
| Where | How |
|---|---|
| The main conversation and in-process teammates | Adds one rule to the end of the system prompt: reply in Chinese; keep code, commands, paths, identifiers and quoted text as they are; put a passage meant to stay in another language (a commit message, an English doc draft) in a code block; and write files, comments, commit messages and docs in the language the project already uses. |
| Agents Claude spawns | Adds one line to the end of each agent's task asking for Chinese, with the same carve-out for files, comments, commit messages and docs. Agents that another plugin spawns, workflow agents and resumed agents are left alone. |
| Messages Claude sends (SendMessage) | A message to another agent or session, from the main conversation or from an agent, that is not in Chinese is sent back once with a note to rewrite it. The same sender sending the same text to the same recipient again goes through. Messages other plugins send are left alone. |
| A reply that is not in Chinese | When the main conversation's reply is mostly English, Japanese or Korean, or written in the other Chinese script, it asks Claude to say it again in Chinese. It asks at most once for each prompt you send, so it cannot loop. |
Only prose counts. Code blocks, inline code, quoted lines (>), links, URLs, HTML tags and paths are left out. English counts by its function words (the, and, is, to, of…), and paths, flags, file names, identifiers and numbers are not counted as words. So file lists, commands and English status words inside a Chinese reply don't make it English, and neither do English test names or error messages as long as the reply has Chinese sentences of its own around them. A reply with no Chinese passes when it has fewer than six plain English words, or fewer than eight with no function word among them.
A prompt that asks to be answered in another language or in the other Chinese script ("請用英文…", "英文就好", "給我英文版", "請用簡體中文回答", "reply in English", "Please use English"), or asks for a translation into one ("翻譯成簡體中文", "translate this into Japanese"), is left to that language: its turn is not checked, so a reply in what you asked for is never rewritten. Asking for the configured script ("請用繁體中文回答") or for plain Chinese ("explain this in Chinese", "翻譯成中文") keeps the check on, since that is exactly when a reply drifting into the other script matters. A prompt that only mentions a language ("這個字的簡體寫法是什麼?", "英文寫的 log 看不懂") is not a request, and neither is "不要用英文", "別再用英文了" or "don't reply in English".
A request covers the turn your prompt starts. A prompt you type while Claude is still working keeps the running turn's request unless it makes one of its own. A turn you did not start, such as a finished background task or a teammate's message, is checked as usual.
| Command | What it does |
|---|---|
/zh-reply | Shows whether it is on and how many replies and messages it caught this session |
/zh-reply off | Turns it off for this session |
/zh-reply on | Turns it back on |
Set them with /plugin configure zh-reply@claude-mod in Claude Code, or claude plugin configure zh-reply@claude-mod from a shell.
| Option | Values | Default |
|---|---|---|
variant | zh-TW Traditional Chinese, zh-CN Simplified Chinese | zh-TW |
enforce | rewrite asks Claude to say it again (one extra turn); remind shows a notice and reminds Claude with your next prompt | rewrite |
scope | all the main conversation, agents and teammates; main the main conversation only | all |
npx claudepluginhub peterting/claude-mod --plugin zh-replyBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.