check-updates
Check Updates
流程
1. 获取三方版本
同时执行:
openclaw --version
npm show openclaw version
再访问 GitHub releases 页(web_search 或 web_fetch)获取 GitHub 最新版。
2. 对比并汇报
| 项目 | 值 |
|---|---|
| 当前版本 | openclaw --version 输出 |
| npm 最新 | npm show openclaw version 输出 |
| GitHub 最新 | 从 releases 页获取 |
注意: GitHub 版本有时超前于 npm(发布延迟)。三者不同时需明确说明。
3. 查更新内容
优先用 web_search 搜索 openclaw <版本号> changelog release notes,获取:
- 新增功能
- 安全修复
- Breaking changes
4. 给出判断
- 有安全修复 → 建议立即更新
- 仅功能/修复 → 说明更新内容,让用户决定
- GitHub 超前 npm → 注明"npm 尚未同步,建议等 npm 版本"
5. 执行更新(用户确认后)
gateway action=update.run
更新完成后自动重启。如有安全审计建议,提示运行 openclaw security audit。
注意事项
- 我们用 npm 安装,更新走
gateway update.run,不要手动 git pull - GitHub 版本号有时比 npm 超前,不要误报"有新版本但装不了"
- 更新后检查是否有 CRITICAL 安全问题(
openclaw security audit)
More from zkl2333/skills
amap-maps
高德地图 API(通过 MCP)。地理编码(地址↔坐标)、IP 定位、天气、POI 搜索、路线规划(骑行/步行/驾车/公交)、距离测量。Triggers: '高德', 'amap', '地理编码', 'geocoding', '经纬度', 'POI', '路线规划', '导航'. NOT for: 高德 JSAPI 前端开发(用 AMap-Web/amap-skills).
30caiyun-weather
Get weather data via Caiyun (彩云天气) API through MCP. Use when: user asks about weather, temperature, forecasts, air quality, or weather alerts for any location in China. Supports realtime, hourly (72h), daily (7d), historical (24h), and alerts. Triggers: '天气', 'weather', '气温', '空气质量', 'AQI', '降水', '预报'. NOT for: locations outside China (use weather skill instead).
22commit
Generate conventional commit messages following git-cz style by default (emoji between type and subject). Automatically detects project configuration when present. Use when creating git commit messages with Conventional Commits specification. See references/config-detection.md for supported configurations.
2web-search-prime
Search the web via the Zhipu CodePlan MCP web-search-prime server. Use when you need fast web discovery (titles/URLs/snippets) without a browser. Triggers: web-search-prime, webSearchPrime, search web, web search prime.
2codex-cli
Operate OpenAI Codex CLI (terminal coding agent) to accomplish software engineering tasks. Use when the user asks to: run codex commands, use codex for coding tasks, execute codex exec for automation, do code review with codex, manage codex sessions (resume/fork), configure codex (config.toml, approval modes, sandbox), use codex cloud, set up MCP servers in codex, or any task involving the `codex` command-line tool. Triggers: codex, codex exec, codex review, codex cloud, codex mcp, codex resume, codex sandbox, openai codex.
1