← Back to Skills Marketplace
litiao1224

Smart Auto Updater Litiao

by litiao1224 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
156
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install smart-auto-updater-litiao
Description
Smart auto-updater with AI-powered impact assessment. Checks updates, analyzes changes, evaluates system impact, and decides whether to auto-update or just r...
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install smart-auto-updater-litiao
  3. After installation, invoke the skill by name or use /smart-auto-updater-litiao
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Bug fixes and improvements with -litiao suffix
Metadata
Slug smart-auto-updater-litiao
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 156 downloads so far.

How do I install Smart Auto Updater Litiao?

Run "/install smart-auto-updater-litiao" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Smart Auto Updater Litiao free?

Yes, Smart Auto Updater Litiao is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Smart Auto Updater Litiao support?

Smart Auto Updater Litiao is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Smart Auto Updater Litiao?

It is built and maintained by litiao1224 (@litiao1224); the current version is v1.0.0.

💬 Comments