Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计通过

upgrade-guardian升级守护者

Agent Skill

upgrade-guardian 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,512

周安装

266

GitHub Stars

公开资料未说明

下载量

2,107
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install upgrade-guardian

简介

管理和审核 OpenClaw 应用升级的风险评估协议工具。

  • 分析配置级(架构、默认值)与运行时级(依赖、资源)潜在问题。
  • 适用于复杂系统升级前的安全审查环节,输出风险缓解建议。
  • 使用前需提供当前配置快照和目标版本元数据,否则无法评估。
  • 注意报告为概率性预警,不替代人工深度审计。upgrade-guardian 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
upgrade-guardian
description
A cognitive protocol for safely managing and auditing OpenClaw application upgrades. Analyzes configuration-level risks (schema, defaults) and runtime-level behavioral shifts (routing, sessions, streaming) using semantic changelog analysis to prevent silent breaking changes.

Cognitive Protocol: The Upgrade Guardian

This skill defines a formal, multi-phase cognitive protocol for an agent to execute when tasked with managing an application upgrade. Its purpose is to transcend simple, static checks and provide a dynamic, intelligent analysis that prevents "silent breaking change" incidents.

This is not a script. It is a directive for higher-order reasoning.

Core Principle

An application upgrade is a high-stakes event. The agent must not trust that the upgrade is safe. The agent must assume that any change can have unintended consequences on a stable system. The goal is to make implicit environmental assumptions explicit and resilient before they break.

Protocol Activation

This protocol is activated when a human operator declares their intent to upgrade the application (e.g., "We are planning to upgrade OpenClaw from vA to vB").

Analysis Scope

Upgrade Guardian covers two categories of risks:

  1. Configuration-level risks: Changes that affect openclaw.json or static config files

- Breaking changes in schema or validation - Deprecated config fields - New required config options - Default value changes

  1. Runtime-level risks: Changes that affect behavior without config modifications

- Behavioral shifts in session handling, routing, or delivery - Logic changes in compaction, memory, or agents - Protocol-level changes (streaming, API compatibility) - CLI UX changes (e.g., /new behavior)

See references/RISK_CATEGORIES.md for detailed taxonomy.

Phase 1: Information Gathering & Semantic Analysis

  1. Ingest Release Notes: Fetch the CHANGELOG or release notes for the target version range.
  2. Semantic Analysis: Perform semantic analysis using patterns in references/changelog_analysis_patterns.md.

- Do not just search for "breaking change" - Look for behavioral shift indicators (refactor, unify, improve handling, etc.) - Identify both config-affecting and runtime-only changes

  1. Cross-Reference with Environment:

- For config risks: Load openclaw.json and identify dependencies on implicit behaviors - For runtime risks: Identify active workflows (cron jobs, TUI usage, session routing patterns) that may be affected

Phase 2: Risk Assessment & Scenario Planning

2.1 Formulate "What-If" Scenarios

For each identified change, generate concrete, testable failure scenarios:

Config-level examples:

  • *Scenario A*: "What if 'improved session handling' means a new, destructive default for unconfigured session types? → Data loss."
  • *Scenario B*: "What if 'refactored security policy' means the allowlist now requires explicit IP ranges? → Plugin executions fail."

Runtime-level examples:

  • *Scenario C*: "What if 'duplicate reply suppression' changes session routing logic? → Bot stops responding in some groups."
  • *Scenario D*: "What if /new now creates independent sessions instead of resetting shared session? → User workflow disrupted."
  • *Scenario E*: "What if 'streaming compatibility fix' breaks non-native OpenAI-compatible providers? → Long responses fail mid-stream."

2.2 Quantify Risk

Assign a risk score based on:

  • Impact: data loss > service outage > UX friction > cosmetic
  • Likelihood: direct config/workflow overlap > tangential relation > theoretical

2.3 Generate Audit Report

Present findings to the operator using the template in references/AUDIT_REPORT_TEMPLATE.md.

Key sections:

  • Configuration risks (with jq paths and explicit mitigations)
  • Runtime risks (with behavioral descriptions and verification tests)
  • Risk prioritization (High/Medium/Low)

Phase 3: Mitigation & Verification

3.1 Proactive Mitigation

For config risks: Propose specific openclaw.json changes to make implicit assumptions explicit. Do not execute without operator approval.

For runtime risks: Document expected behavioral changes and suggest workflow adjustments if needed.

3.2 Verification Plan

Define clear, simple tests for each risk:

Config verification examples:

  • "Run openclaw doctor and confirm no validation errors"
  • "Check gateway.err.log for auth mode complaints"

Runtime verification examples:

  • "Send test message in group chat, verify bot responds"
  • "Open TUI, run /new, confirm it creates independent session"
  • "Trigger long completion from streaming provider, verify no mid-stream failure"

3.3 Post-Upgrade Audit

After the operator confirms upgrade is complete:

  1. Execute verification plan
  2. Report results systematically
  3. Recommend rollback if critical failures detected

3.4 Archive Upgrade Artifacts (relative to workspace)

Save the upgrade write-ups and check results inside the agent workspace so they remain discoverable and portable.

Write locations (relative paths):

  • Pre-upgrade analysis report → kb/logs/upgrade-reports/YYYY-MM-DD_<from>-to-<to>_upgrade-analysis.md
  • Post-upgrade verification report → kb/logs/upgrade-verifications/YYYY-MM-DD_post-upgrade-verification.txt

Notes:

  • Prefer workspace-relative paths in reports (avoid hard-coded absolute home paths).
  • If kb/ is a symlink in a particular deployment, still refer to it as kb/... in the protocol/report; the filesystem mapping is an implementation detail.

References

  • references/changelog_analysis_patterns.md - Semantic analysis patterns
  • references/RISK_CATEGORIES.md - Detailed risk taxonomy
  • references/AUDIT_REPORT_TEMPLATE.md - Report structure
  • references/VERIFICATION_CHECKLIST.md - Common verification tests

Notes

  • This protocol is designed to be conservative. It's better to flag a false positive than miss a silent breaking change.
  • Runtime risks are often harder to detect than config risks. Pay extra attention to behavioral keywords like "improve", "fix", "refactor" in areas you actively use (sessions, routing, streaming).
  • When in doubt, ask the operator about their workflow patterns before deeming a risk "Low" priority.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

95.06%
按下载量换算2,003

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills