跳到正文
TakoAPI
返回技能列表

sys-updater

由 spiceman161 提供

Web & Frontend Development
1.2k下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

System package maintenance for Ubuntu (apt), npm, brew, and OpenClaw skills.

描述

该技能的功能

Automates Ubuntu host maintenance by applying apt security patches daily and tracking npm, pnpm, and brew package updates through a 2-day review period before installing them. State files log what is tracked, planned, or blocked per package manager. A Telegram report sends each morning at 09:00 MSK with a summary of what was installed and what is pending.

Separates security patches (applied immediately) from feature updates (held 2 days with automated bug research), reducing the chance of a regression taking down a production host compared to running a blanket upgrade.

何时使用

  • Applying apt security patches automatically each morning without manual SSH
  • Holding npm dependency upgrades for 2 days while checking for known regressions
  • Blocking a specific brew package from upgrading due to a breaking change
  • Getting a daily Telegram summary of what changed overnight on a production server
  • Auditing package state changes across apt, npm, and brew in one place

示例工作流

输入

User asks: Keep my Ubuntu server packages up to date safely

智能体
  1. 1

    Runs apt update and applies security patches via unattended-upgrade at 06:00 MSK

  2. 2

    Detects outdated npm and brew packages and adds them to tracked state files

  3. 3

    Web-searches for bugs and CVE signals for each tracked package after 2 days

  4. 4

    Marks packages as planned or blocked based on findings, then installs planned ones on day 3

  5. 5

    Sends a Telegram report at 09:00 MSK listing what was installed, what is queued, and what is blocked

输出

Telegram message showing installed packages, pending candidates, and blocked items with reasons

前置要求

  • Telegram bot token and chat ID for daily reports

安装

clawhub install spiceman161/sys-updater

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接