← 返回 Skills 市场
leo220yuyaodog

Auto-Updater (Windows Compatible)

作者 Yaodong Yu · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
352
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install auto-updater-windows
功能描述
Set up and maintain automatic OpenClaw + skill updates on Windows/macOS/Linux. Use when a user asks for scheduled updates, manual update runs, update health...
使用说明 (SKILL.md)

Auto-Updater Skill (Windows-first, cross-platform)

Configure safe recurring updates for OpenClaw and installed skills.

Core Rules

  1. Prefer OpenClaw-native actions and npx clawhub.
  2. On Windows, run updates in native Windows shell.
  3. On Windows, ensure bash resolves to Git Bash / MSYS, not C:\Windows\System32\bash.exe (WSL launcher).
  4. Never include user-specific local paths/usernames in public docs or published skill content.
  5. Always output a concise summary: updated, unchanged, failed.

Windows-Only Guardrails (Important)

  • Do NOT use WSL for update execution.
  • If build steps require bash, prepend Git Bash path in PATH for the current shell session.
  • Verify active bash:
where.exe bash
bash --version

Expected on Windows: GNU bash from MSYS/Git, not WSL launcher path first.

Path Placeholders (Use These)

  • \x3Copenclaw-repo>: source repo root (example: %USERPROFILE%\\dev\\openclaw)
  • \x3Copenclaw-home>: runtime home (example: %USERPROFILE%\\.openclaw)

Manual Update Flow

1) Update OpenClaw (source install)

git -C \x3Copenclaw-repo> pull --ff-only
pnpm -C \x3Copenclaw-repo> install
pnpm -C \x3Copenclaw-repo> build

2) Restart gateway

Use OpenClaw gateway restart tool/action after successful build.

3) Update skills

npx clawhub update --all --workdir \x3Copenclaw-home> --no-input

If local edits exist and user confirms overwrite:

npx clawhub update \x3Cslug> --force --workdir \x3Copenclaw-home> --no-input

Successful Windows Command Template (Sanitized)

git -C \x3Copenclaw-repo> pull --ff-only
pnpm -C \x3Copenclaw-repo> install
pnpm -C \x3Copenclaw-repo> build
openclaw gateway restart
openclaw --version

Scheduling (Optional)

When user asks for automation, create cron jobs with isolated agentTurn runs and summary delivery. Keep schedule conservative (e.g., daily 04:00 local) unless user asks otherwise.

References

  • references/agent-guide.md
  • references/summary-examples.md
安全使用建议
This skill appears coherent for safely automating OpenClaw updates, but before enabling automation: (1) verify the exact paths to <openclaw-repo> and <openclaw-home> and back up important data before running builds/updates; (2) test manual runs of the listed commands to confirm openclaw, pnpm, git, and npx clawhub behave as expected on your system; (3) confirm where update summaries will be posted/logged so sensitive info isn't sent to an external endpoint; and (4) on Windows run in native PowerShell/cmd and ensure 'bash' resolves to Git Bash/MSYS if a build step needs it. If you want to limit risk, run the updater manually or keep scheduling disabled until you're satisfied with a manual test run.
功能分析
Type: OpenClaw Skill Name: auto-updater-windows Version: 1.0.3 The auto-updater skill is designed to automate the update process for the OpenClaw platform and its associated skills using standard tools like git, pnpm, and npx clawhub. The instructions in SKILL.md and references/agent-guide.md provide clear, platform-specific guidance (especially for Windows native shells) and use placeholders for local paths to maintain privacy. No evidence of data exfiltration, obfuscation, or unauthorized persistence was found; the requested automation (cron jobs) is directly aligned with the skill's stated purpose.
能力评估
Purpose & Capability
The name/description (auto-updating OpenClaw and installed skills) match the SKILL.md and reference files: git, pnpm, npx clawhub, and openclaw commands are exactly the tools you would expect for that task. There are no unrelated environment variables, binaries, or config paths requested.
Instruction Scope
Instructions are narrowly focused on pulling/building OpenClaw, restarting the gateway, running clawhub updates, and creating conservative schedules. One minor vagueness: 'summary delivery' and 'isolated agentTurn runs' are mentioned but the SKILL.md does not explicitly name where summaries are delivered (e.g., local log, UI, or external webhook). This is an implementation detail to confirm before enabling automated scheduling.
Install Mechanism
Instruction-only skill with no install spec and no code files — nothing is downloaded or written to disk by the skill itself. This is the lowest-risk install model.
Credentials
The skill requires no environment variables, no credentials, and no config-path access. All commands operate on repository and runtime home paths provided by the user, which is proportionate to the stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable; autonomous invocation is allowed by platform default but the skill does not request elevated or persistent privileges. There is no attempt to modify other skills' configs or request system-wide settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install auto-updater-windows
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /auto-updater-windows 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
Privacy fix: remove host/user-specific paths; replace with sanitized placeholders; keep explicit Windows-native non-WSL guidance.
v1.0.2
Document proven Windows-native update command set; explicitly avoid WSL path; add Git Bash PATH guardrails and forced-update guidance.
v1.0.1
Add Windows compatibility; replace legacy clawdbot flow with OpenClaw + npx clawhub; refresh docs.
元数据
Slug auto-updater-windows
版本 1.0.3
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 3
常见问题

Auto-Updater (Windows Compatible) 是什么?

Set up and maintain automatic OpenClaw + skill updates on Windows/macOS/Linux. Use when a user asks for scheduled updates, manual update runs, update health... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 352 次。

如何安装 Auto-Updater (Windows Compatible)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install auto-updater-windows」即可一键安装,无需额外配置。

Auto-Updater (Windows Compatible) 是免费的吗?

是的,Auto-Updater (Windows Compatible) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Auto-Updater (Windows Compatible) 支持哪些平台?

Auto-Updater (Windows Compatible) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Auto-Updater (Windows Compatible)?

由 Yaodong Yu(@leo220yuyaodog)开发并维护,当前版本 v1.0.3。

💬 留言讨论