sys-updater
System package maintenance for Ubuntu (apt), npm, brew, and OpenClaw skills. Conservative workflow with 2-day quarantine for non-security updates, automatic security updates, and scheduled reviews with web search for bug assessment.
Install
mkdir -p .claude/skills/sys-updater && curl -L -o skill.zip "https://mcp.directory/api/skills/download/8932" && unzip -o skill.zip -d .claude/skills/sys-updater && rm skill.zipInstalls to .claude/skills/sys-updater
About this skill
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
- daily
- 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
Workflow
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 resultsstate/apt/tracked.json— APT packages being trackedstate/apt/npm_tracked.json— NPM packagesstate/apt/brew_tracked.json— Brew packagesstate/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 locationSYS_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
| Command | Purpose |
|---|---|
apt-get update | Refresh package lists |
apt-get -s upgrade | Simulate upgrade (dry-run, no actual changes) |
unattended-upgrade -d | Apply security updates automatically |
Security Notes
- Only these 3 specific commands are allowed
- No
apt-get upgradewithout-s(simulation only for tracking) - No
apt-get dist-upgradeorautoremove - No package installation/removal through sudo
- NPM and brew do not require sudo (user installs)
More by openclaw
View all skills by openclaw →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
Related MCP Servers
Browse all serversAccess NixOS packages, system options, Home Manager, and nix-darwin configs with advanced caching. Explore nix package t
Automate Notion documentation with seamless Notion API integration. Manage pages and blocks efficiently using Node.js fo
Rtfmbro is an MCP server for config management tools—get real-time, version-specific docs from GitHub for Python, Node.j
Query package ecosystem data and package metadata across 40+ registries with fast local SQLite lookups and API fallback
Easily convert markdown to PDF using Markitdown MCP server. Supports HTTP, STDIO, and SSE for fast converting markdown t
Learn how to use Python to read a file and manipulate local files safely through the Filesystem API.
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.