← 返回 Skills 市场
litiao1224

Smart Auto Updater Litiao

作者 litiao1224 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
156
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install smart-auto-updater-litiao
功能描述
Smart auto-updater with AI-powered impact assessment. Checks updates, analyzes changes, evaluates system impact, and decides whether to auto-update or just r...
使用说明 (SKILL.md)

Smart Auto-Updater

AI-powered auto-updater that intelligently decides whether to update based on impact assessment. Safe, intelligent, and configurable.

What it does

1. Check Phase

  • Checks for OpenClaw updates
  • Checks for skill updates via ClawHub
  • Fetches changelog and diff

2. AI Analysis Phase

  • Analyzes changes using LLM
  • Evaluates system impact (架构/性能/兼容性)
  • Classifies risk level (HIGH/MEDIUM/LOW)

3. Decision Phase

Risk Level Action
HIGH Skip update, send detailed report
MEDIUM Skip update, send warning + report
LOW Auto-update, send summary

4. Report Phase

  • Generates readable update report
  • Includes risk assessment
  • Provides upgrade recommendations

Quick Start

Basic usage

# Run smart update check
openclaw sessions spawn \
  --agentId smart-auto-updater \
  --message "Run smart update check"

With custom parameters

openclaw sessions spawn \
  --agentId smart-auto-updater \
  --message "Check updates with custom settings: auto-update LOW risk, report MEDIUM risk"

Configuration

Environment Variables

# AI Model (optional, defaults to configured model)
export SMART_UPDATER_MODEL="minimax-portal/MiniMax-M2.1"

# Auto-update threshold (default: LOW)
# Options: NONE (report only), LOW, MEDIUM
export SMART_UPDATER_AUTO_UPDATE="LOW"

# Risk tolerance (default: MEDIUM)
# HIGH: Only auto-update LOW risk
# MEDIUM: Auto-update LOW + MEDIUM risk
# LOW: Auto-update all
export SMART_UPDATER_RISK_TOLERANCE="MEDIUM"

# Report level (default: detailed)
# Options: brief, detailed, full
export SMART_UPDATER_REPORT_LEVEL="detailed"

Report Format

High Risk Report

🔴 Smart Auto-Updater Report

Update Available: v1.2.3 → v1.3.0

⚠️ Risk Level: HIGH

📋 Changes Summary:
- Breaking API changes detected
- Database migration required
- 3 files modified

🏗️ Impact Assessment:
- Architecture: MAJOR changes to core components
- Performance: Potential impact on startup time
- Compatibility: Breaks backward compatibility

🚫 Decision: SKIPPED

💡 Recommendations:
1. Review changelog manually
2. Test in staging environment
3. Schedule maintenance window

🗓️ Next Check: 24 hours

Low Risk Auto-Update

🟢 Smart Auto-Updater Report

Updated: v1.2.3 → v1.2.4

✅ Risk Level: LOW

📋 Changes:
- Bug fixes (2)
- Performance improvements (1)

🏗️ Impact Assessment:
- Architecture: No changes
- Performance: Minor improvement
- Compatibility: Fully compatible

✅ Decision: AUTO-UPDATED

📊 Summary:
- OpenClaw: v1.2.3 → v1.2.4
- Skills updated: 2
- Skills unchanged: 15
- Errors: none

⏱️ Next Check: 24 hours

Architecture

┌──────────────────┐
│  Trigger (Cron)  │
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  Check Updates    │ ← clawhub update --dry-run
└────────┬─────────┘
         │
         ▼
┌──────────────────┐
│  AI Analysis     │ ← Analyze changes, assess risk
└────────┬─────────┘
         │
    ┌────┴────┐
    │         │
    ▼         ▼
┌───────┐  ┌───────┐
│ HIGH  │  │ MEDIUM│
│ Skip  │  │ Skip  │
└───┬───┘  └───┬───┘
    │          │
    ▼          ▼
┌───────┐  ┌───────┐
│ LOW   │  │ Report│
│ Update│  │ Only  │
└───┬───┘  └───────┘
    │          │
    └────┬─────┘
         │
         ▼
┌──────────────────┐
│  Generate Report  │ ← Send summary
└──────────────────┘

Safety Features

  1. Dry Run First - Always check before acting
  2. Risk Classification - AI-powered impact assessment
  3. Configurable Thresholds - Set your own risk tolerance
  4. Detailed Logging - Every decision is logged
  5. Manual Override - Always can review before updating

Troubleshooting

Updates keep being skipped

  • Check risk tolerance setting
  • Verify AI model is available
  • Review changelog manually

False positives (too many HIGH risk)

  • Lower risk tolerance
  • Check AI model prompts
  • Review specific change patterns

Reports not being delivered

  • Verify delivery channel configuration
  • Check gateway status
  • Review session configuration

References

  • references/risk-assessment.md → AI risk assessment methodology
  • references/report-templates.md → Report format examples
  • references/integration.md → Integration with cron/jobs
安全使用建议
This skill appears to do what it says, but take these precautions before enabling it: (1) run in dry-run mode and review several reports to confirm the AI scoring matches your expectations (there are small inconsistencies in the example scoring tables); (2) supply webhook URLs only for trusted endpoints and avoid posting full changelogs containing sensitive data to public channels; (3) ensure log files and the ~/.config smart env file have restrictive permissions so secrets aren't exposed; (4) schedule runs in isolated sessions or a staging environment first to confirm auto-update behavior; (5) if you rely on the LLM analysis, review and possibly tune the provided prompts and thresholds to match your risk appetite.
功能分析
Type: OpenClaw Skill Name: smart-auto-updater-litiao Version: 1.0.0 The skill is a legitimate utility designed to automate OpenClaw and skill updates using an AI-driven risk assessment layer. It provides a structured framework for evaluating architectural, performance, and security impacts of updates before execution, with a conservative default policy that skips updates classified as medium or high risk. While the skill possesses the capability to execute system updates (`clawhub update`) and configure persistence via cron jobs (`openclaw cron add`), these actions are transparently documented and strictly aligned with its stated purpose. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found.
能力评估
Purpose & Capability
Name/description (auto-updater) align with the instructions: it calls OpenClaw/ClawHub commands, fetches changelogs/diffs, runs LLM analysis, and makes update decisions. Optional notification webhooks and scheduling (cron) are reasonable for this purpose.
Instruction Scope
SKILL.md and references are instruction-only and stay within updater scope (check updates, analyze changelogs, decide, report). Minor concerns: (1) references include webhook env vars and log file paths — these are expected but mean reports/changelogs may be sent/stored externally; (2) the risk-scoring examples contain inconsistent numeric/label mappings (some example scores and thresholds don't match the stated HIGH/MEDIUM/LOW boundaries), which could cause unexpected decisions unless clarified.
Install Mechanism
No install spec and no code files (instruction-only). Low installer risk — nothing is downloaded or written by the skill itself per metadata.
Credentials
No required env vars are declared in registry metadata, which is fine for optional config. However the docs list many optional env vars (MODEL, AUTO_UPDATE, RISK_TOLERANCE, multiple webhook URLs, log file path). Webhook URLs and similar channels are sensitive (secrets) and should be provided deliberately; the skill does not require unrelated credentials, so the requested envs are proportionate but should be treated as sensitive by the user.
Persistence & Privilege
always:false and model invocation enabled (normal). The skill recommends scheduling via cron (persistent execution) but does not request forced always-on presence or modification of other skills/configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install smart-auto-updater-litiao
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /smart-auto-updater-litiao 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Bug fixes and improvements with -litiao suffix
元数据
Slug smart-auto-updater-litiao
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Smart Auto Updater Litiao 是什么?

Smart auto-updater with AI-powered impact assessment. Checks updates, analyzes changes, evaluates system impact, and decides whether to auto-update or just r... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 156 次。

如何安装 Smart Auto Updater Litiao?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install smart-auto-updater-litiao」即可一键安装,无需额外配置。

Smart Auto Updater Litiao 是免费的吗?

是的,Smart Auto Updater Litiao 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Smart Auto Updater Litiao 支持哪些平台?

Smart Auto Updater Litiao 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Smart Auto Updater Litiao?

由 litiao1224(@litiao1224)开发并维护,当前版本 v1.0.0。

💬 留言讨论