# 更新威科 Skill / Update the Skill

先确定当前实际安装目录，再使用与首次安装相同的安装命令。安装器会在同级创建备份目录，核验新包并测试启动之后才替换 Skill。授权文件在独立目录，不随 Skill 包更新。若自定义授权目录与 Skill 目录重叠，安装器会拒绝继续；应先在本机迁移授权并更新配置。

Locate your active installation directory before running the same installer command used for a fresh install. The installer creates a sibling backup, verifies the new package, and checks startup before replacing the Skill. Credentials remain in their separate location. If credentials overlap the Skill directory, move them locally and update the configuration first.

Windows PowerShell 5.1+：

```powershell
& ([scriptblock]::Create((irm https://qsya-wk-skill.david-legal.com/install.ps1))) -Client codex
```

macOS / Linux（需要本机 Python 3.9+）：

```sh
curl -fsSL https://qsya-wk-skill.david-legal.com/install.sh | sh -s -- --client codex
```

如果原来使用自定义安装目录，Windows 追加 `-Destination '完整路径'`，macOS/Linux 追加 `--dest '/完整路径'`。客户端也须选原先正在使用的 Codex、WorkBuddy 或 Claude。不要仅凭新版 `--help` 就认为使用中的客户端已指向新目录；用安装器输出的 `installed` 和 `launcher` 核对，再运行 `--version`，最后开启新的 AI 对话以重新加载 Skill。

For a custom original folder, pass `-Destination 'full path'` on Windows or `--dest '/full/path'` on macOS/Linux. Keep the same client. Check the installer-reported `installed` and `launcher` values, run `--version`, then start a new AI conversation so it reloads the Skill. You do not need to sign in merely to verify the update.

当前版本、来源提交和包 SHA-256 可在 [release.json](https://qsya-wk-skill.david-legal.com/release.json) 核对。这里是试用分发，真实 Windows OA 查询仍待本人验收。

Check [release.json](https://qsya-wk-skill.david-legal.com/release.json) for version, source commit, and SHA-256. This is a trial distribution; live WKInfo access through OA on Windows remains to be validated.
