Xpersona
O

Os Update Checker

CLAWHUB · Unverified

Check for available OS package updates with per-package changelog summaries and risk classification. Supports apt (Debian/Ubuntu), dnf (Fedora/RHEL), yum (Ce...

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s17fk3ter6h1bve6rnejmqxjfx83eymx:os-update-checker
  1. Install using `clawhub skill install s17fk3ter6h1bve6rnejmqxjfx83eymx:os-update-checker` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/pfrederiksen/os-update-checker before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-pfrederiksen-os-update-checker/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

31,305 characters of source documentation, loaded on request.

Extracted files

4 files captured from the source.

SKILL.md

---
name: os-update-checker
version: 1.2.0
description: "Check for available OS package updates with per-package changelog summaries and risk classification. Supports apt (Debian/Ubuntu), dnf (Fedora/RHEL), yum (CentOS 7), pacman (Arch), zypper (openSUSE), apk (Alpine), brew (macOS), and npm (global packages). Use when: checking system update status, before approving upgrades, or in heartbeats/cron for periodic OS health monitoring. Read-only — does not install or modify anything."
---

# OS Update Checker

Read-only, cross-platform package update checker. Auto-detects the available package manager, lists upgradable packages, fetches changelogs, and classifies risk (security, moderate, low). Designed to give enough context to approve or defer an upgrade confidently.

## Supported Package Managers

| OS / Runtime | Package Manager |
|---|---|
| Debian / Ubuntu / Mint | `apt` |
| Fedora / RHEL 8+ / Rocky / Alma | `dnf` |
| CentOS 7 / RHEL 7 | `yum` |
| Arch / Manjaro / EndeavourOS | `pacman` / `checkupdates` |
| openSUSE Leap / Tumbleweed / SLES | `zypper` |
| Alpine Linux | `apk` |
| macOS / Linux (Homebrew) | `brew` |
| Node.js (global npm packages) | `npm` |

## Usage

```bash
# Human-readable summary with changelogs (auto-detects OS)
python3 scripts/check_updates.py

# JSON output (for dashboards, cron, integrations)
python3 scripts/check_updates.py --format json

# Skip changelogs for a quick count
python3 scripts/check_updates.py --no-changelog
```

## Risk Classification

- 🔴 **security** — source repo contains a security indicator
- 🟡 **moderate** — critical package (kernel, openssh, openssl, sudo, curl, bash, etc.)
- 🟢 **low** — standard maintenance update

## How It Works

1. **Detects** available package manager from PATH (`apt` → `dnf` → `yum` → `pacman` → `zypper` → `apk` → `brew`)
2. **Lists** upgradable packages using the appropriate read-only command
3. **Validates** each package name against a per-backend allowlist regex before any further use
4. **Fetches** the most recent changelog entry per package (apt: `apt changelog`; dnf/yum: `rpm --changelog`; others: package info)
5. **Reports** in text or JSON format

## Security Design

- `subprocess` is used exclusively with `shell=False` — arguments are passed as a list, never interpolated into a shell string
- Package names are validated against per-backend allowlist patterns before use in commands
- All exceptions are caught by specific type — no bare `except`
- Read-only commands only — no installs, no writes, no service restarts

## System Access

- **Commands (read-only):** `apt list`, `apt changelog`, `dnf check-update`, `rpm -q --changelog`, `yum check-update`, `pacman -Qu`, `pacman -Si`, `zypper list-updates`, `zypper info`, `apk list`, `apk info`, `brew outdated`, `brew info`, `npm outdated -g --json`
- **Network:** Outbound HTTPS to distribution changelog servers (apt); outbound HTTPS to `registry.npmjs.org` (npm); others use local package metadata
- **No file writes**

##

README.md

# OS Update Checker

[![ClawHub](https://img.shields.io/badge/ClawHub-os--update--checker-blue)](https://clawhub.ai/pfrederiksen/os-update-checker)
[![Version](https://img.shields.io/badge/version-1.2.0-green)]()

An [OpenClaw](https://openclaw.ai) skill that lists available OS and npm package updates, fetches changelogs for each, and classifies risk — so you know exactly what's changing before you approve an upgrade.

Auto-detects the package manager(s). No configuration needed. Runs both an OS package manager **and** `npm` in a single pass if both are available.

## Supported Package Managers

| OS / Runtime | Package Manager |
|---|---|
| Debian / Ubuntu / Mint | `apt` |
| Fedora / RHEL 8+ / Rocky / Alma | `dnf` |
| CentOS 7 / RHEL 7 | `yum` |
| Arch / Manjaro / EndeavourOS | `pacman` / `checkupdates` |
| openSUSE Leap / Tumbleweed / SLES | `zypper` |
| Alpine Linux | `apk` |
| macOS / Linux (Homebrew) | `brew` |
| Any (global npm packages) | `npm` |
| Node.js (global npm packages) | `npm` |

## Features

- 🌐 **Cross-platform** — auto-detects your package manager(s)
- 📦 **Full upgradable package list** — name, version delta, source repo
- 📋 **Per-package changelogs** — most recent entry where available; npm packages use registry metadata
- 🔴🟡🟢 **Risk classification** — security, moderate (kernel/openssl/openssh/sudo), or low
- 📄 **JSON output** — \`--format json\` for dashboards and cron
- ⚡ **\`--no-changelog\` flag** — fast mode when you just need the count
- 🔀 **Multi-backend** — runs OS + npm in a single pass on mixed environments
- 🔒 **Read-only** — never installs, modifies, or restarts anything

## Installation

\`\`\`bash
clawhub install os-update-checker
\`\`\`

## Usage

\`\`\`bash
# Full summary with changelogs
python3 scripts/check_updates.py

# JSON output
python3 scripts/check_updates.py --format json

# Quick count only
python3 scripts/check_updates.py --no-changelog
\`\`\`

## Security Design

- \`subprocess\` used exclusively with \`shell=False\`
- Package names validated against per-backend allowlist regex before use in commands
- npm registry fetched via \`urllib.request\` (stdlib only, no shell) with 10s timeout
- All exceptions caught by specific type — no bare \`except\`
- No eval, no shell string interpolation, no dynamic code execution

## Requirements

- Python 3.10+
- One supported package manager on PATH (npm optional, always checked independently)

## Changelog

### 1.2.0
- Added \`NpmBackend\` — checks global npm packages via \`npm outdated -g --json\`
- \`detect_backends()\` now runs OS + npm backends in a single pass
- npm registry metadata fetched via stdlib \`urllib.request\` (no new dependencies)

### 1.1.0
- Added brew, zypper, apk, pacman, yum, dnf backends
- Risk classification with moderate-risk package list

### 1.0.0
- Initial release with apt support

## License

MIT

## Links

- [ClawHub](https://clawhub.ai/pfrederiksen/os-update-checker)
- [OpenClaw](https://openclaw.ai)

_meta.json

{
  "ownerId": "kn7cvyzb78ahvv8e5888vj9r5581apwf",
  "slug": "os-update-checker",
  "version": "1.2.1",
  "publishedAt": 1774482110250
}

skill-card.md

## Description:

Checks available OS and global npm package updates with per-package changelog summaries and risk classification across apt, dnf, yum, pacman, zypper, apk, brew, and npm.

This skill is ready for commercial/non-commercial use.

## Publisher:

[pfrederiksen](https://clawhub.ai/user/pfrederiksen)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, system administrators, and operations teams use this skill to check system and global npm update status, review version deltas and changelog context, and decide whether to approve or defer upgrades.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: Package names and installed tooling may be exposed to external changelog services or package registries when changelog lookup is enabled.

Mitigation: Use --no-changelog to reduce network activity, and avoid running the skill in environments where installed package names are sensitive.

Risk: Reports can reveal system software inventory, package versions, and update posture.

Mitigation: Review text or JSON output before sharing it outside the intended operations or security team.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/pfrederiksen/skills/os-update-checker)
- [Publisher Profile](https://clawhub.ai/user/pfrederiksen)
- [OpenClaw](https://openclaw.ai)

## Skill Output:

**Output Type(s):** [text, JSON, shell commands, guidance]

**Output Format:** [Plain text report or JSON object]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Reports package names, current and target versions, source, risk label, and changelog summary when available; --no-changelog reduces network activity.]

## Skill Version(s):

1.2.1 (source: server release metadata; artifact frontmatter and README show 1.2.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to Os Update Checker and adjacent AI workflows.