Token导航 LogoToken导航

Agent Skill · 效率

openclaw-auto-update(OpenClaw auto update 效率)

openclaw-auto-update 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 OpenClaw 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

openclaw-auto-update 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描有提醒项,按安装量在效率类的 21,003 个 Skill 里排第 4,506。

总安装 13,151周安装 532GitHub Stars 公开资料未说明下载 4,128核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:openclaw-auto-update(OpenClaw auto update 效率)
来源仓库:https://github.com/davis1216/openclaw-auto-update
安装命令:
openclaw skills install openclaw-auto-update
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install openclaw-auto-update

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

OpenClaw 版本升级评估与执行的综合管理工具。适合在 OpenClaw 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。自动检测可用性、检查 GitHub 版本、分析更新风险并执行升级。安装命令:openclaw skills install openclaw-auto-update,建议先备份当前配置。

涉及版本更新时应评估兼容性和回滚方案可行性。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install openclaw-auto-update;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

openclaw-auto-update 怎么安装?

在终端执行 openclaw skills install openclaw-auto-update。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

openclaw-auto-update 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

openclaw-auto-update 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install openclaw-auto-update 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

openclaw-auto-update 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

openclaw-auto-update 用的人多吗?

公开数据是累计安装 13,151 次,近一周安装 532 次,下载 4,128 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

openclaw-auto-update 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
openclaw-auto-update

OpenClaw auto update 效率 · 本页

13,151—执行命令MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
openclaw-update
description
OpenClaw 版本升级评估与执行技能。工作流程:(1) 检测 agent-reach 可用性(无则引导安装),(2) 检查 GitHub releases 获取最新稳定版,(3) 对比当前版本判断是否需要更新,(4) 分析版本差距和更新日志,(5) 检查 GitHub issues 评估风险,(6) 综合评估打分并给出升级建议,(7) 备份用户配置(防止冲突),(8) 检测安装方式执行对应更新命令,(9) 自动重启 gateway,(10) 提供恢复功能。Use when 用户要求检查 OpenClaw 更新、评估是否升级、或执行版本更新。支持中英双语。

OpenClaw Update Skill

Multilingual Support / 多语言支持

Detect user language and respond accordingly:

  • If user speaks Chinese → respond in Chinese (简体中文)
  • If user speaks English → respond in English
  • Maintain consistent language throughout the session

检测用户语言并相应回复:

  • 用户使用中文 → 用简体中文回复
  • 用户使用英文 → 用英文回复
  • 整个会话保持语言一致

Prerequisites / 前置要求

Agent-Reach Detection / Agent-Reach 检测

Before using this skill, detect if agent-reach is available:

# Detection command
agent-reach --version 2>&1 || echo "Not installed"

If not installed, guide user to install:

# Method 1: pipx install (recommended)
pipx install https://github.com/Panniantong/agent-reach/archive/main.zip
agent-reach install --env=auto

# Method 2: Check for alternative GitHub access
# Such as gh CLI, curl (not recommended, may be blocked)

If user cannot install agent-reach:

  • Explain the reason (network restrictions, permission issues, etc.)
  • Suggest manual GitHub access to check versions
  • Or guide to learn the agent-reach skill first

Workflow / 工作流程

Step 0: Detect Agent-Reach Availability / 检测 Agent-Reach 可用性

Use detection script (recommended):

python3 scripts/check_agent_reach.py

Or manual detection:

# Test if agent-reach is available
agent-reach read "https://github.com/openclaw/openclaw" --timeout 10 2>&1

If successful: Continue to next step If failed:

  1. Inform user agent-reach is unavailable
  2. Provide installation guide (see Prerequisites or run python3 scripts/check_agent_reach.py)
  3. Ask if user wants to continue (manual mode) or install agent-reach first

Step 1: Check Current Version / 检查当前版本

Progress message:

📋 Step 1/10: Checking current version / 正在执行第 1 步:检查当前版本
openclaw --version

Record current version (e.g., v2026.3.2)


Step 2: Get Latest Version Info / 获取最新版本信息

Progress message:

📋 Step 2/10: Fetching latest version from GitHub / 正在执行第 2 步:从 GitHub 获取最新版本

Use agent-reach to access GitHub releases page:

agent-reach read "https://github.com/openclaw/openclaw/releases"

Extract:

  • Latest stable version (e.g., v2026.3.7)
  • Release date
  • Release notes summary

Step 3: Version Comparison / 版本对比

Progress message:

📋 Step 3/10: Comparing versions / 正在执行第 3 步:版本对比

If versions match:

  • Report: Current version is already the latest
  • End workflow

If versions differ:

  • Calculate version gap (how many minor versions behind)
  • Read release notes for each version sequentially

Step 4: Analyze Update Content / 分析更新内容

Progress message:

📋 Step 4/10: Analyzing release notes / 正在执行第 4 步:分析更新日志

For each version to update, use agent-reach to read detailed release notes:

agent-reach read "https://github.com/openclaw/openclaw/releases/tag/v2026.3.X"

Record:

  • New features
  • Bug fixes
  • Breaking changes
  • Security updates

Strictly reference official release notes - do not fabricate information.


Step 5: Check Issues / 检查 Issues

Progress message:

📋 Step 5/10: Checking GitHub issues for risks / 正在执行第 5 步:检查 GitHub issues 评估风险

Access GitHub issues page to assess risks:

agent-reach read "https://github.com/openclaw/openclaw/issues"

Check:

  • Any critical bug reports
  • Any upgrade compatibility issues
  • Any security vulnerabilities
  • Number of issues and recent activity

Critical Rule: If dangerous issues are found, MUST stop and inform user. If major bugs are found, FORBID the update on behalf of user!


Step 6: Comprehensive Assessment / 综合评估

Progress message:

📋 Step 6/10: Scoring and assessment / 正在执行第 6 步:综合评估打分

Score based on following dimensions (0-2 points each):

DimensionScoring Criteria
Feature Value0=No new features, 1=Minor improvements, 2=Major feature updates
Security0=Security issues exist, 1=No security updates, 2=Security fixes included
Stability0=Many bug reports, 1=Few issues, 2=Issues are clean
Breaking0=Has breaking changes, 1=Config adjustment needed, 2=Fully compatible
Urgency0=Optional update, 1=Recommended, 2=Strongly recommended

Total Score ≥8: Strongly recommend update Total Score 6-7: Recommend update Total Score 4-5: Optional update Total Score <4: Recommend postponing

Critical Rule: Assessment must be objective, no emotional bias!


Step 7: Backup User Configuration / 备份用户配置

Progress message:

📋 Step 7/10: Backing up user configuration / 正在执行第 7 步:备份用户配置

Detect OS and create unique backup name:

# Detect OS
if [[ "$OSTYPE" == "darwin"* ]]; then
    OS="macOS"
elif [[ "$OSTYPE" == "linux-gnu"* ]]; then
    OS="Linux"
elif [[ "$OSTYPE" == "msys" || "$OSTYPE" == "win32" ]]; then
    OS="Windows"
else
    OS="Unknown"
fi

# Generate unique backup name with timestamp
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
BACKUP_NAME=".openclaw.backup.${TIMESTAMP}"

# Check for naming conflicts (CRITICAL RULE)
if [ -d "~/${BACKUP_NAME}" ]; then
    # Add random suffix to avoid conflict
    RANDOM_SUFFIX=$(openssl rand -hex 4)
    BACKUP_NAME=".openclaw.backup.${TIMESTAMP}.${RANDOM_SUFFIX}"
fi

# Execute backup based on OS
case "$OS" in
    "macOS"|"Linux")
        cp -r ~/.openclaw ~/${BACKUP_NAME}
        ;;
    "Windows")
        # PowerShell command
        powershell.exe -Command "Copy-Item -Recurse $env:USERPROFILE\.openclaw $env:USERPROFILE\.${BACKUP_NAME}"
        ;;
esac

echo "✅ Backup created: ~/${BACKUP_NAME}"

Critical Rules:

  1. NEVER overwrite existing backups
  2. ALWAYS use unique timestamp + random suffix
  3. ALWAYS inform user of backup location at the end

Step 8: Detect Installation Method & Update / 检测安装方式并更新

Progress message:

📋 Step 8/10: Detecting installation method and updating / 正在执行第 8 步:检测安装方式并执行更新

Detect installation method:

# Check for git installation
if [ -d ~/.openclaw/.git ]; then
    INSTALL_METHOD="git"
    echo "Detected: Source installation (git clone)"
else
    INSTALL_METHOD="npm"
    echo "Detected: Global installation (npm/pnpm)"
fi

# Check Gateway running method
if launchctl list | grep -q openclaw 2>/dev/null; then
    GATEWAY_MODE="launchd"
elif systemctl list-units | grep -q openclaw 2>/dev/null; then
    GATEWAY_MODE="systemd"
else
    GATEWAY_MODE="terminal"
fi

Execute update based on installation method:

For Global Installation (npm/pnpm):

# npm
npm i -g openclaw@latest

# Or pnpm
pnpm add -g openclaw@latest

# NOT recommended: Bun (WhatsApp/Telegram bugs)

For Source Installation (git):

openclaw update
# Or with channel
openclaw update --channel stable

Official recommended method (re-run installer):

curl -fsSL https://openclaw.ai/install.sh | bash -s -- --no-onboard

Step 9: Restart Gateway / 重启 Gateway

Progress message:

📋 Step 9/10: Restarting Gateway / 正在执行第 9 步:重启 Gateway
# Preferred for service-managed Gateway
openclaw gateway restart

# Then verify
openclaw doctor
openclaw health

If restart fails:

  • Inform user immediately
  • Provide manual restart instructions based on Gateway mode (launchd/systemd/terminal)

Step 10: Report & Recovery Info / 报告与恢复信息

Progress message:

📋 Step 10/10: Generating final report / 正在执行第 10 步:生成最终报告

Final report must include:

  1. Update result (success/failure)
  2. Backup location (with full path)
  3. Recovery instructions
  4. Any issues encountered

Recovery commands (if needed):

# macOS / Linux
rm -rf ~/.openclaw && cp -r ~/.openclaw.backup.TIMESTAMP ~/.openclaw

# Windows PowerShell
Remove-Item -Recurse -Force $env:USERPROFILE\.openclaw
Copy-Item -Recurse $env:USERPROFILE\.openclaw.backup.TIMESTAMP $env:USERPROFILE\.openclaw

When user wants to recover:

  • Ask which backup to restore (list available backups)
  • Confirm before executing recovery

Automated Daily Check / 自动定时检查

Setup Cron Task / 设置 Cron 任务

After installing this skill, offer to create a cron task for automatic daily checks:

Progress message:

🤖 Setting up automated daily update check... / 正在设置自动每日更新检查...

Create cron task that runs at 4:00 AM daily:

# Method 1: Using OpenClaw cron (recommended)
cron add --name "openclaw-daily-update-check" \
  --schedule "0 4 * * *" \
  --command "python3 ~/.openclaw/workspace/skills/openclaw-update/scripts/cron_check.py"

What the cron task does:

  1. Runs every day at 4:00 AM
  2. Checks GitHub for latest version
  3. Compares with current version
  4. Checks GitHub issues for critical bugs
  5. Sends system notification if update available
  6. Saves detailed report to ~/.openclaw/update_check_report.txt
  7. Waits for user approval before proceeding with update

User approval workflow:

  • If new version found → Send notification with report
  • User replies "确认更新" or "update now" → Start update workflow
  • User replies "稍后" or "later" → Skip this update
  • If critical issues found → FORBID update automatically

Cron Script Location / Cron 脚本位置

~/.openclaw/workspace/skills/openclaw-update/scripts/cron_check.py

Manual Setup Commands / 手动设置命令

macOS / Linux:

# Add to crontab
crontab -e

# Add this line (runs at 4:00 AM daily)
0 4 * * * /usr/bin/python3 ~/.openclaw/workspace/skills/openclaw-update/scripts/cron_check.py >> ~/.openclaw/cron_check.log 2>&1

Windows Task Scheduler:

# Create scheduled task
$action = New-ScheduledTaskAction -Execute "python" -Argument "~/.openclaw/workspace/skills/openclaw-update/scripts/cron_check.py"
$trigger = New-ScheduledTaskTrigger -Daily -At 4am
Register-ScheduledTask -TaskName "OpenClaw Daily Update Check" -Action $action -Trigger $trigger

Notification Examples / 通知示例

New version available:

╔═══════════════════════════════════════════════════════════╗
║  OpenClaw Update Available / 发现新版本                    ║
╠═══════════════════════════════════════════════════════════╣
║  Current: v2026.3.2                                       ║
║  Latest:  v2026.3.7                                       ║
║  Issues:  Issues 状态良好                                  ║
║                                                           ║
║  ✅ Backup will be created before update                  ║
║  📋 Reply "确认更新" to start update                      ║
╚═══════════════════════════════════════════════════════════╝

Already up to date:

✅ OpenClaw Up to Date / 已是最新版本
Current: v2026.3.7
No update needed.

Critical issues found:

⚠️ CRITICAL ISSUES FOUND! Update NOT recommended.
Issues: 发现多个严重问题
Please wait for next release.

Output Format / 输出格式

Assessment Report Template / 评估报告模板

## 📊 OpenClaw Version Assessment Report / 版本评估报告

### Version Info / 版本信息
- **Current Version / 当前版本**: v2026.3.2
- **Latest Version / 最新版本**: v2026.3.7
- **Version Gap / 版本差距**: 5 minor versions

### 🔍 Update Analysis / 更新内容分析

#### New Features / 新增功能
- Feature 1
- Feature 2

#### Bug Fixes / Bug 修复
- Fix 1
- Fix 2

#### Breaking Changes / 破坏性变更
- ⚠️ Change description (if any)

### 📈 Issues Assessment / Issues 评估
- **Open Issues / 开放 issues 数量**: X
- **Critical Bugs / 严重 bug**: None/Yes (describe)
- **Upgrade Issues / 升级问题**: None/Yes (describe)

### 🎯 Scoring / 综合评分

| Dimension / 维度 | Score / 得分 |
|-----------------|-------------|
| Feature Value / 功能价值 | X/2 |
| Security / 安全性 | X/2 |
| Stability / 稳定性 | X/2 |
| Breaking / 破坏性 | X/2 |
| Urgency / 紧迫性 | X/2 |
| **Total / 总分** | **X/10** |

### 💡 Recommendation / 更新建议

**Recommendation Index / 推荐指数**: X/10 (Strongly Recommended/Recommended/Optional/Postpone)

**Reasons / 理由**:
- ✅ Pro 1
- ✅ Pro 2
- ⚠️ Considerations

### 🛠️ Update Steps / 更新步骤

Commands


### 💾 Backup Info / 备份信息
**Backup Location / 备份位置**: `~/.openclaw.backup.20260311_155100.a3f2b1c4`
**Recovery Command / 恢复命令**: See above

Critical Rules / 铁律

RED LINES - NEVER VIOLATE / 红线 - 禁止违反

  1. NEVER create backup naming conflicts / 禁止备份文件名冲突

- Always check for existing backups - Use timestamp + random suffix - Never overwrite user's existing backups

  1. NEVER run silently / 禁止静默运行

- Always report current step progress - Inform user before each major action - Report backup location at the end

  1. NO emotional assessment / 禁止带情绪评估

- Assessment must be objective - Score based on facts, not feelings - Let data drive the recommendation

  1. MUST strictly reference release notes / 必须严格参照版本更新日志

- Read official release notes - Do not fabricate information - Cite sources for all claims

  1. MUST check issues for threats / 必须检查 issues 的威胁

- Check GitHub issues before recommending update - If dangerous issues found: STOP and inform user - If major bugs found: FORBID update on behalf of user


Related Skills / 相关技能

  • agent-reach: Internet content reading & search tool (12+ platforms)
  • skill-creator: Skill creation guide

Example Output / 示例输出

See references/example-report.md for complete assessment report example.

平台分布

OpenClaw

79.38%
按下载量换算3,277

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install openclaw-auto-update 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills