Agent skill
check-updates
检查 OpenClaw 版本更新。当用户说"检查更新"、"有没有新版本"、"update"、"升级"时使用。执行标准三步检查:当前版本、npm 最新版、GitHub 最新版,并给出更新内容摘要和是否建议更新的判断。
Install this agent skill to your Project
npx add-skill https://github.com/zkl2333/skills/tree/main/skills/check-updates
SKILL.md
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)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
zread
Search and read GitHub repository docs via the Zhipu CodePlan MCP zread server. Use when you need quick repo structure lookup or documentation search without cloning. Triggers: zread, search_doc, repo structure, read_file, GitHub docs search.
commit
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.
bark
Send Bark (day.app) push notifications via HTTP. Use when asked to push a short message/alert to iPhone/iPad via Bark/day.app, including scheduled digests and quick “push to phone” actions.
caiyun-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).
zai-mcp-server
Use Zhipu CodePlan MCP vision server for screenshot/UI understanding: OCR, error screenshot diagnosis, and UI→artifact conversion. Use when you need to analyze images, extract text, or turn UI into code/spec. Triggers: OCR, screenshot, 识图, 提取文字, diagnose error screenshot, ui_to_artifact.
amap-maps
高德地图 API(通过 MCP)。地理编码(地址↔坐标)、IP 定位、天气、POI 搜索、路线规划(骑行/步行/驾车/公交)、距离测量。Triggers: '高德', 'amap', '地理编码', 'geocoding', '经纬度', 'POI', '路线规划', '导航'. NOT for: 高德 JSAPI 前端开发(用 AMap-Web/amap-skills).
Didn't find tool you were looking for?