<< All versions

Skill v1.0.0

currentAutomated scan100/100
ybbms777/claude-desktop-upgrade-zh-skill/claude-desktop-upgrade-zh
──Details
PublishedOctober 22, 2026 at 04:30 PM
Content Hashsha256:017e6e102ce9aba2...
Git SHAfcc77b6f7eb0
──Files
Files (1 file, 5.7 KB)
SKILL.md5.7 KBactive
SKILL.md · 92 lines · 5.7 KB

version: "1.0.0" name: claude-desktop-upgrade-zh description: Upgrade and Chinese-localize Claude Desktop on Windows while preserving Magpie or other third-party inference settings. Use for update checks, staged localization, and recovery; this does not update the agent hosting the skill.


Claude Desktop upgrade and Chinese localization

Use this workflow for the Claude Desktop application. Codex App/CLI, OpenCode, Claude Code, Hermes, and other agents are execution hosts, not the applications being patched. Follow the user's current authorization: a check permits inspection; an upgrade-and-localize request permits that workflow.

Read Windows procedure before working on an installed app. Read host adaptation if local access or skill loading is uncertain. Use sources to recheck changing upstream behavior. Do not assume a remembered version or a patch's "latest" claim is current.

Execution contract

  1. Inspect the actual installation. Discover registered package identity,

architecture, EXE product version, running desktop processes, and localization artifacts. Use Windows PowerShell for Appx commands; PowerShell 7 may fail to load that module. Distinguish app/version (Electron runtime) and Claude Code child executables from the desktop app's version. macOS/Linux need their own verified procedure; these Windows helpers must not be used there.

  1. Identify the mode. Preserve the current official-account or third-party

inference choice. For Magpie, inspect only the keys/structure needed to find the active config and local gateway. Never print tokens, private gateway URLs, conversations, or full config contents. Do not replace Magpie or remap models merely to localize the UI. Native Chinese in official-account chat does not prove the third-party local interface is localized.

  1. Checkpoint privately. Back up selected config/library files and original

affected application resources outside any publishable repo. Record hashes and version; verify the checkpoint before mutation. Mark every backup as potentially secret. Do not recursively copy a whole user profile.

  1. Resolve the official release. GET the official architecture-specific

redirect, compare numeric version tuples, download from the validated official location, inspect MSIX identity, and verify the Anthropic Authenticode signature. A valid ZIP or manifest is not a signature check. Do not downgrade implicitly.

  1. Review and stage the patch. Pin the upstream commit, review its scripts and

license, record script SHA-256, and extract a fresh resource stage. The staging harness calls reviewed resource functions without running the upstream install entrypoint; it is not a security sandbox. Do not run unreviewed code. Confirm language registration/catalogs/dynamic catalogs, JS syntax, and semantic resource matching. If adapting patch logic, write a failing synthetic test first, implement, then rerun it. Stop on missing anchors, failed syntax, or incompatible layout.

  1. Upgrade, then apply. Close/reopen the authorized desktop app, install the

verified MSIX, rediscover its new path, compare original live resources with originals from this exact package, back them up, and copy only validated resource changes. Preserve Claude.exe and app.asar byte-for-byte. Grant only temporary write access to necessary resources and restore original ACLs in finally. Change only the locale property of valid user config JSON; do not reserialize invalid files as empty configs or rewrite the Magpie config library.

  1. Verify the actual result. Check registered/running version, binary hashes,

locale, translated visible third-party UI, model picker, and gateway reachability. An explicit short benign model test may be used within the user's authorized testing scope; never send private prompts just to test. Model enumeration alone does not prove inference works. Preserve unrelated Claude Code processes. If UI tools are absent/stopped, report that visual confirmation remains incomplete.

  1. Report precise outcomes. State version, patch source/commit, applied vs

visually verified status, configuration checks, remaining English, and private backup availability. Future official updates can replace localization resources.

Helpers

All paths below are relative to this skill's directory. Use python or python3 as available, Python 3.10+, Node.js for --check, and Windows PowerShell for Appx.

text
python scripts/workflow.py --help
powershell.exe -NoProfile -File scripts/inspect_windows.ps1 -Action Discover
python scripts/workflow.py latest --arch x64
python scripts/workflow.py inspect-msix <package.msix> --arch x64
python scripts/workflow.py extract-resources <package.msix> <fresh-stage> --arch x64
python scripts/workflow.py verify-binaries <package.msix> <installed-app-directory>

The Python helpers never install software, execute a patch, or modify a live application. The staging PowerShell helper executes reviewed upstream resource code against an extracted stage. Installation and applying staged resources remain explicit agent operations documented in the Windows procedure.

Failure and recovery boundaries

After a failed deployment, inspect its exact error before retrying. Do not uninstall/reset the app, delete package data, clear authentication, disable security, or restart Windows as an automatic repair. If the new app runs but localization fails, restore that new version's resources. An old-version resource backup must never be copied into a new app. A program downgrade is a separate explicit decision; private config backups are retained until the user accepts the result.

All versions