kael-odin

Claude Zh Guard — Development skill for Claude Code

Development community

打不坏的 Claude Desktop 汉化管理器 · Safe Chinese localization manager for Claude Desktop (Windows MSIX) — survives official updates, self-heals.

How to install Claude Zh Guard

This entry records only its repository, not the path inside it, so there is no exact command to give. Open kael-odin/claude-zh-guard and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Zh Guard does

打不坏的 Claude Desktop 汉化管理器 · Safe Chinese localization manager for Claude Desktop (Windows MSIX) — survives official updates, self-heals.

Alternatives in Development

  • Om Tidy — Self-maintenance pass — acts on every hygiene flag: archives completed work, groups loose clusters, splits ove 4.6k ★
  • Clawgod — This is NOT a third-party Claude Code client 837 ★
  • Claude Keysmith — Managed Claude Code instruction deployment with safe CLI recovery and an unsigned macOS/Windows desktop beta 696 ★

README

claude-zh-guard:给 Windows 版 Claude Desktop 装上中文界面,官方自动更新再也撞不坏;右侧是 cdzh doctor 体检全绿的输出

**打不坏的 Claude Desktop 汉化管理器**——给微软商店版 Claude Desktop 装上简繁中文界面,并用备份、守护和自动回滚降低官方更新带来的风险。

![platform](https://img.shields.io/badge/platform-Windows_10+-00599C) ![runtime](https://img.shields.io/badge/Node.js-%E2%89%A522.7-339933) ![license](https://img.shields.io/badge/license-MIT-green) ![claude](https://img.shields.io/badge/Claude_Desktop-4.29%E2%80%936.28899.6 tested-D97757) ![coverage](https://img.shields.io/badge/%E8%AF%8D%E5%85%B8%E8%A6%86%E7%9B%96-100%25-6FBF73)

为什么会有这个项目

Claude Desktop 的界面包 `ion-dist.asar` 被 [javaht/claude-desktop-zh-cn](https://github.com/javaht/claude-desktop-zh-cn) 等汉化方案改写后,官方后台静默更新的差量部署会发现哈希对不上、强制重写文件——写坏的那天,应用就永远卡在 *"Couldn't connect to Claude / ERR_UNEXPECTED"*(真机实录:`ion-dist.asar` 被写成 **0 字节**)。

claude-zh-guard 从架构上终结这个循环:**纯净备份在包外、更新走受控管线、坏了自己修回来**。你只管用中文界面,升级的事它管。

快速开始

要求:Windows 10+,[Node.js](https://nodejs.org) ≥ 22.7(原生运行 TypeScript,无需构建)。

node src\cli.ts doctor                  :: 先体检,看看现状(只读)
node src\cli.ts install --yes --launch --autopilot --elevate
                                        :: 装中文界面 + 注册自动更新守护

默认保留官方自动更新。`--autopilot` 会注册每 2 分钟静默巡检的计划任务:Store 推新版、注册被延迟、旧包被写成 0 字节时,自动注册新版、备份、重打补丁并启动。任务用隐藏的 wscript 运行,不弹 UAC,也不闪 cmd 窗口。想彻底避免更新覆盖补丁,可加 `--disable-updates` 或运行 `updates off`。

以后想升级 Claude:

node src\cli.ts update    :: 恢复纯净 → 放行官方更新 → 自动重打补丁 → 重启

cdzh update 四阶段:恢复纯净 → 放行官方更新 → 重打补丁 → 体检全绿,失败自动回滚

日常还有三道保险:`doctor` 一键体检(含 autopilot 任务路径检查,仓库搬过家会提醒重新注册);`repair` 损坏自愈;`autopilot` 自动处理官方更新(`autopilot install --elevate` 注册,`autopilot status` 查看,日志在 `%LOCALAPPDATA%\claude-zh-guard\autopilot.log`)。

和原方案比,强在哪

javaht/claude-desktop-zh-cn claude-zh-guard
重建方式 全量解包 4532 个文件再重打包 外科式流式重建,不落地临时文件
integrity 块