# Send sys-updater to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "sys-updater",
    "name": "sys-updater",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/Spiceman161/sys-updater",
    "canonicalUrl": "https://clawhub.ai/Spiceman161/sys-updater",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/sys-updater",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sys-updater",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "CLAUDE.md",
      "README.md",
      "SKILL.md",
      "docs/AUTO_REVIEW.md",
      "docs/REFACTOR-PLAN-2026-02-19.md",
      "docs/extending.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "sys-updater",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T18:03:32.198Z",
      "expiresAt": "2026-05-19T18:03:32.198Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sys-updater",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=sys-updater",
        "contentDisposition": "attachment; filename=\"sys-updater-1.1.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "sys-updater"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/sys-updater"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/sys-updater",
    "downloadUrl": "https://openagent3.xyz/downloads/sys-updater",
    "agentUrl": "https://openagent3.xyz/skills/sys-updater/agent",
    "manifestUrl": "https://openagent3.xyz/skills/sys-updater/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/sys-updater/agent.md"
  }
}
```
## Documentation

### System Updater (sys-updater)

Comprehensive system maintenance automation for Ubuntu hosts with support for apt, npm, brew, and OpenClaw skills.

### What this skill does

sys-updater is a conservative maintenance pipeline for Linux hosts running OpenClaw.
It separates security patching from feature upgrades, keeps auditable state files, and sends a human-readable daily report.

### Core capabilities

APT (Ubuntu)

daily apt-get update
automatic security updates via unattended-upgrade
non-security upgrades only from explicit planned list


NPM / PNPM / Brew

detect outdated packages
keep them in tracked state
auto-review package risk (bugs/regressions/CVE signals)
install only approved/planned updates


OpenClaw skills (ClawHub)

checks installed skills and reports update status


Daily report (09:00 MSK)

current health/status
candidates/planned/blocked per manager
explicit “actually installed” lines for apt/npm/pnpm/brew

### Daily (06:00 MSK)

run_6am:
├── apt: update, security upgrades, simulate, track non-security
├── npm/brew: check outdated, add to tracking
└── skills: auto-update immediately (no quarantine)

### Report (09:00 MSK)

Summary of all package managers
Planned updates for next day
Blocked packages with reasons

### T+2 Days (Review)

Web search for bugs/regressions in tracked packages
Mark as planned or blocked based on findings

### T+3 Days (Upgrade)

Apply planned npm/brew upgrades
Send completion report

### State Files

state/apt/last_run.json — Last run results
state/apt/tracked.json — APT packages being tracked
state/apt/npm_tracked.json — NPM packages
state/apt/brew_tracked.json — Brew packages
state/logs/apt_maint.log — Daily logs (10-day rotation)

### Manual Commands

# Daily maintenance (runs automatically)
./scripts/apt_maint.py run_6am

# Generate report
./scripts/apt_maint.py report_9am

# Check npm/brew only
./scripts/pkg_maint.py check

# Review packages (after 2 days)
./scripts/pkg_maint.py review

# Apply planned upgrades
./scripts/pkg_maint.py upgrade

# Update skills only
./scripts/pkg_maint.py skills

### Configuration

Environment variables:

SYS_UPDATER_BASE_DIR — Base directory (default: ~/clawd/sys-updater)
SYS_UPDATER_STATE_DIR — State files location
SYS_UPDATER_LOG_DIR — Log files location

### Cron Jobs

Requires 4 cron jobs:

run_6am — Daily 06:00 MSK (apt + check npm/brew + auto skills)
report_9am — Daily 09:00 MSK (Telegram report)
review_2d — T+2 days 09:00 MSK (web search bugs)
upgrade_3d — T+3 days 06:00 MSK (apply planned)

### Conservative Design

Security updates: Applied automatically via unattended-upgrade
Non-security: 2-day observation period with bug research
User control: Can block any package with reason
Safety: Dry-run simulation before any apt upgrade

### Requirements

Ubuntu with apt
Node.js + npm (for npm packages)
Homebrew (for brew packages)
OpenClaw with clawhub CLI
sudo access for specific apt commands (see below)

### Sudoers Configuration

For unattended operation, grant the running user passwordless sudo for specific apt commands only. Do not add the user to full sudoers.

Create file /etc/sudoers.d/sys-updater:

# Allow sys-updater to run apt maintenance commands without password
# Replace 'username' with your actual username
username ALL=(root) NOPASSWD: /usr/bin/apt-get update
username ALL=(root) NOPASSWD: /usr/bin/apt-get -s upgrade
username ALL=(root) NOPASSWD: /usr/bin/unattended-upgrade -d

Set secure permissions:

sudo chmod 440 /etc/sudoers.d/sys-updater
sudo visudo -c  # Verify syntax is valid

### Required Commands Explained

CommandPurposeapt-get updateRefresh package listsapt-get -s upgradeSimulate upgrade (dry-run, no actual changes)unattended-upgrade -dApply security updates automatically

### Security Notes

Only these 3 specific commands are allowed
No apt-get upgrade without -s (simulation only for tracking)
No apt-get dist-upgrade or autoremove
No package installation/removal through sudo
NPM and brew do not require sudo (user installs)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Spiceman161
- Version: 1.1.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-12T18:03:32.198Z
- Expires at: 2026-05-19T18:03:32.198Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/sys-updater)
- [Send to Agent page](https://openagent3.xyz/skills/sys-updater/agent)
- [JSON manifest](https://openagent3.xyz/skills/sys-updater/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/sys-updater/agent.md)
- [Download page](https://openagent3.xyz/downloads/sys-updater)