Token导航 LogoToken导航TokenDH.com
效率需要联网clawhub未标认证来源可访问clear审计提醒

update-approval-guard更新审批守卫

Agent Skill

update-approval-guard 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

7,680

周安装

320

GitHub Stars

公开资料未说明

下载量

2,560
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install update-approval-guard

简介

提供 OpenClaw 和技能更新的定期检查与人工审批流程控制。

  • 适用于不希望自动升级、偏好渐进式变更的管理场景。
  • 支持干运行模式以预览变更内容,降低误操作风险。update-approval-guard 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 安装前需配置通知机制和权限,确保能读取版本信息和执行模拟操作。
  • 注意该技能本身不执行升级,仅辅助决策流程,需配合其他工具使用。

SKILL.md

name
update-approval-guard
summary
Daily update checker for OpenClaw and installed skills. Checks on schedule, stores a pending plan, and only applies updates after explicit user approval.
description
Use this skill when the user wants scheduled update checks for OpenClaw and installed skills, but does not want automatic mutation. The skill performs dry-run inspection, asks for approval, and only executes updates after explicit confirmation.

Update Approval Guard

This skill turns automatic updating into a safer two-step workflow:

  1. Scheduled check: inspect for OpenClaw and installed skill updates, save a pending plan, and ask the user for approval.
  2. Approved apply: only after the user explicitly confirms, execute the update commands and report the result.

Never apply updates automatically during the scheduled check.

When to use

Use this skill when the user asks to:

  • schedule update checks for OpenClaw or installed skills
  • review available updates before applying them
  • require human approval before running update commands
  • keep production instances stable while still checking daily for updates

Hard rules

  1. Never execute real update commands during the scheduled check.
  2. Never apply updates without explicit user confirmation.
  3. If there is no valid pending update plan, do not run updates.
  4. If the plan is expired, do not run updates. Ask the user to run a fresh check.
  5. Keep all state under the workspace data directory.
  6. Prefer dry-run or inspection commands for checks.
  7. After approved updates, always run a health check.
  8. Be transparent. Summarize what will change before asking for approval.
  9. If a command fails, stop and report clearly.

State directory

Store data under:

<workspace>/data/update-approval-guard/

Use these files:

  • pending-update.json
  • history.json

Pending plan shape

Use this structure for pending-update.json:

{
  "createdAt": "2026-03-13T00:00:00+08:00",
  "expiresAt": "2026-03-14T00:00:00+08:00",
  "status": "pending_confirmation",
  "summary": "Detected 1 OpenClaw update and 2 skill updates.",
  "openclaw": {
    "current": "2026.3.8",
    "latest": "2026.3.9",
    "hasUpdate": true
  },
  "skills": [
    {
      "name": "some-skill",
      "current": "1.0.0",
      "latest": "1.0.1",
      "hasUpdate": true
    }
  ],
  "approved": false,
  "approvedAt": null,
  "approvedBy": null
}

Scheduled check behavior

When the user asks to enable the daily scheduled check, create an isolated cron job that runs every day at 00:00 Asia/Shanghai.

The scheduled job must do the following:

  1. Ensure <workspace>/data/update-approval-guard/ exists.
  2. Check whether a non-expired pending plan already exists.
  3. If a non-expired pending plan already exists, do not overwrite it. Inform the user that approval is still pending.
  4. Inspect whether OpenClaw has an available update.
  5. Inspect whether installed skills have available updates.
  6. If there are no updates, report that everything is current and do not create a pending plan.
  7. If updates are found, create pending-update.json with a 24-hour expiry.
  8. Mark the plan as pending_confirmation.
  9. Send a concise summary and ask the user to confirm.
  10. Do not run any real update command in this phase.

Recommended scheduled cron message

Use wording equivalent to:

Check for updates to OpenClaw and all installed skills.

Rules:
1. Run check-only commands. Do not apply updates automatically.
2. Create <workspace>/data/update-approval-guard/pending-update.json only when updates are found.
3. Include current version, latest version, and whether each item has an update.
4. Set status to pending_confirmation and expiry to 24 hours after creation.
5. If a non-expired pending plan already exists, keep it and report that approval is still pending.
6. If there are no updates, report that everything is current.
7. Ask the user to confirm before any update can be executed.
8. Never run the actual update command during this scheduled check.

User approval behavior

When the user sends an approval message such as:

  • 确认执行更新
  • 确认更新
  • 批准更新
  • approve updates
  • apply pending updates

perform this workflow:

  1. Read <workspace>/data/update-approval-guard/pending-update.json.
  2. Verify the file exists.
  3. Verify status is pending_confirmation.
  4. Verify the plan has not expired.
  5. Verify there is at least one update to apply.
  6. Record approval metadata.
  7. Execute the real update commands.
  8. Run openclaw doctor after updates.
  9. Append a result entry to history.json.
  10. Mark the pending plan as completed or failed.
  11. Return a clear summary of what changed.

If there is no pending plan, say there is nothing to approve.

If the plan is expired, say it expired and a fresh check is required.

Command strategy

The local command available on this machine is openclaw.

Use the following command policy.

Check phase

Use safe inspection commands only.

For skills:

clawhub update --all --dry-run

For OpenClaw:

  • Prefer a non-mutating version or update-check command if available in the local installation.
  • If there is no dedicated check-only command, inspect the locally installed version and compare it using the safest available non-mutating mechanism.
  • Do not upgrade OpenClaw during the scheduled phase.

Apply phase

Only after explicit approval, use the real update commands.

For skills:

clawhub update --all

For OpenClaw:

  • Use the real update command that matches the local installation method.
  • If openclaw update is available in the environment, use it.
  • If the installation uses npm or another package manager, use the correct local update procedure.

Post-update health check

After approved updates:

openclaw doctor

If a safe fix mode is explicitly requested and supported, you may use it. Otherwise prefer the plain health check.

Cron defaults

When the user asks to set up the schedule and does not specify otherwise, use:

  • time: 00:00
  • timezone: Asia/Shanghai
  • session target: isolated
  • delivery: announce
  • light context: true for routine checks unless the job clearly needs full bootstrap context

Suggested cron configuration

Use the Cron Jobs capability with settings equivalent to:

  • name: Daily Update Approval Check
  • schedule: 0 0 * * *
  • timezone: Asia/Shanghai
  • sessionTarget: isolated
  • payload.kind: agentTurn
  • delivery.mode: announce
  • payload.lightContext: true

Human-facing summaries

Updates found

Use wording like:

检测到 OpenClaw 本体和已安装 skills 的可用更新,已生成待更新计划,默认不会自动执行。若需执行,请回复:确认执行更新

No updates

Use wording like:

当前 OpenClaw 与已安装 skills 均为最新版本,无需更新。

Approval success

Use wording like:

已根据你的确认执行更新。OpenClaw 更新状态:成功。Skill 更新状态:成功。健康检查已完成。

Plan expired

Use wording like:

待更新计划已过期,未执行任何更新。请先重新检查更新。

Failure handling

If any step fails:

  1. Stop immediately.
  2. Record the failure in history.json.
  3. Report the exact failing step.
  4. Never claim success when updates were not fully applied.

Common failure causes:

  • no network
  • permission denied
  • clawhub missing
  • update command unavailable
  • pending plan missing
  • pending plan expired
  • doctor failed

Design intent

This skill is intentionally conservative. It is meant for operators who want the visibility of automatic update checks but want to keep change approval in human hands.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

93.85%
按下载量换算2,403

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills