← 返回 Skills 市场
ClawHub Auto Update
作者
JimmieTing
· GitHub ↗
· v1.0.0
838
总下载
0
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install clawhub-auto-update
功能描述
自动检查并更新ClawHub已安装技能。有更新时通知用户,支持手动和定时运行。
使用说明 (SKILL.md)
ClawHub Auto Update
自动检查并更新已安装的ClawHub技能。
功能
- 检查更新:对比本地版本与ClawHub最新版本
- 批量更新:自动更新所有可更新的技能
- 通知用户:有更新时推送通知
- 定时运行:支持cron定时检查
实际使用
方式1:运行脚本自动检查+更新
bash ~/.openclaw/workspace/skills/clawhub-auto-update/scripts/check-update.sh
方式2:定时运行(推荐)
添加到crontab:
# 每周日凌晨3点检查更新
0 3 * * 0 bash ~/.openclaw/workspace/skills/clawhub-auto-update/scripts/check-update.sh >> ~/.openclaw/logs/skill-update.log 2>&1
方式3:手动更新
npx clawhub update --all
输出格式
更新时输出:
🔄 检查技能更新...
✅ skill-name: 1.0.0 → 1.1.0 已更新
📊 共检查 X 个技能,Y 个可更新
集成到主流程
在 auto-learn.sh 中添加:
# 每周日检查技能更新
if [ "$(date +%w)" = "0" ]; then
echo "🔄 检查技能更新..."
npx clawhub update --all >> ~/.openclaw/logs/skill-update.log 2>&1
fi
注意事项
- 需要先登录ClawHub:
npx clawhub login - 更新会覆盖本地修改(如果有)
- 建议先备份重要配置
安全使用建议
This skill appears to do exactly what it says: run `npx clawhub update --all` and log output. Before installing, consider: (1) automatic updates will overwrite local modifications — back up any custom skill code; (2) `npx` may fetch and run packages from the npm registry at runtime, so ensure you trust the clawhub package and your npm configuration; (3) if you allow autonomous invocation (agent can call skills), the agent could trigger updates without your explicit approval — if you prefer manual control, run the script yourself or keep cron/manual usage; (4) verify that the log path (~/.openclaw/logs) is acceptable and writable. Overall the skill is coherent and proportionate, but treat automatic updates with the usual caution.
功能分析
Type: OpenClaw Skill
Name: clawhub-auto-update
Version: 1.0.0
The skill bundle provides a legitimate utility for automating updates of installed ClawHub skills. The primary logic in `scripts/check-update.sh` and the instructions in `SKILL.md` simply wrap the standard `npx clawhub update --all` command and provide guidance for setting up a cron job for periodic maintenance, with no evidence of malicious intent, data exfiltration, or obfuscation.
能力评估
Purpose & Capability
Name/description match the actual behavior: the SKILL.md and included script perform update checks and call `npx clawhub update --all`. No unrelated credentials, binaries, or paths are requested.
Instruction Scope
Runtime instructions only run the provided script or call `npx clawhub update --all`. They ask the user to log in with `npx clawhub login` and advise backups because updates overwrite local changes. The instructions do not request unrelated files, credentials, or external endpoints.
Install Mechanism
No install spec (instruction-only) and a small shell script are included. The script uses `npx`, which will fetch and execute packages from npm at runtime — expected for a tool that invokes `clawhub` but worth noting because `npx` executes remote code.
Credentials
The skill declares no environment variables or credentials. It does require the user to be logged into ClawHub (via `npx clawhub login`), which is proportionate to performing updates.
Persistence & Privilege
always:false (not forced). The platform default allows autonomous invocation; if the agent is permitted to call this skill automatically, it can run updates (which overwrite local skill files) without explicit human review. That is functionally powerful but coherent with the skill's purpose — consider whether you want autonomous updates enabled.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install clawhub-auto-update - 安装完成后,直接呼叫该 Skill 的名称或使用
/clawhub-auto-update触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
自动检查并更新ClawHub已安装技能
元数据
常见问题
ClawHub Auto Update 是什么?
自动检查并更新ClawHub已安装技能。有更新时通知用户,支持手动和定时运行。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 838 次。
如何安装 ClawHub Auto Update?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install clawhub-auto-update」即可一键安装,无需额外配置。
ClawHub Auto Update 是免费的吗?
是的,ClawHub Auto Update 完全免费(开源免费),可自由下载、安装和使用。
ClawHub Auto Update 支持哪些平台?
ClawHub Auto Update 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ClawHub Auto Update?
由 JimmieTing(@jimmieting)开发并维护,当前版本 v1.0.0。
推荐 Skills