← Back to Skills Marketplace
dinghaibin

Uptime Tool

by BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
48
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install uptime-tool
Description
Show system uptime, load average, active user count, and boot time. Use for system health checks, monitoring, and diagnostics.
README (SKILL.md)

Uptime Tool — System Uptime & Load Monitor

Display how long the system has been running since last boot, current user sessions, and CPU load averages. Essential for health checks, reboot verification, and capacity monitoring.

Quick Start

# Show system uptime
uptime-tool

# Show uptime plus JSON output for monitoring
uptime-tool --json

Usage

uptime-tool [OPTIONS]

Options:
  --json       Output as structured JSON
  --pretty     Human-readable format with emojis (default)
  --since      Show boot time timestamp
  --seconds    Show uptime in seconds only
  --compare    Compare with last-known value (requires --state-file)
  --watch N    Monitor continuously, N second intervals
  --alert N    Alert if uptime \x3C N seconds (short uptime = recent reboot)

Examples

# Standard uptime output
uptime-tool

# Machine-readable JSON for monitoring
uptime-tool --json

# Show boot time
uptime-tool --since

# Watch every 30 seconds
uptime-tool --watch 30

# Alert if system just rebooted (\x3C 60 seconds uptime)
uptime-tool --alert 60

# Uptime in seconds for scripts
uptime-tool --seconds

Features

  • Standard uptime display with load averages
  • JSON output for monitoring pipelines
  • Boot time detection (when did the system start?)
  • Continuous watch mode for real-time monitoring
  • Alert thresholds for restart detection
  • Compare mode detects unexpected reboots
  • Cross-platform — works on Linux, macOS, BSD
Usage Guidance
This looks safe from a security perspective, but expect limited functionality: the included script appears Linux-specific and does not implement all options advertised in the documentation.
Capability Analysis
Type: OpenClaw Skill Name: uptime-tool Version: 1.0.0 The uptime-tool is a simple utility for reporting system uptime by reading /proc/uptime. While the documentation in SKILL.md describes several advanced features (such as JSON output, alerts, and monitoring) that are not actually implemented in the provided scripts/uptime.py, the code itself is harmless and contains no indicators of malicious intent, data exfiltration, or unauthorized execution.
Capability Assessment
Purpose & Capability
The stated purpose is system uptime monitoring, and the included script only reads /proc/uptime and prints uptime. The documentation advertises more options than the included script implements, but this is a functionality mismatch rather than a security concern.
Instruction Scope
The instructions describe user-invoked uptime checks and monitoring-style options; they do not instruct the agent to perform unrelated, destructive, deceptive, or privileged actions.
Install Mechanism
There is no install specification, no dependency installation, and no remote download or build step shown in the artifacts.
Credentials
Reading /proc/uptime is proportionate to the stated purpose of reporting system uptime and does not expose sensitive user data in the provided code.
Persistence & Privilege
The artifacts do not show background persistence, privilege escalation, credential use, or autonomous operation beyond user-directed uptime checks.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install uptime-tool
  3. After installation, invoke the skill by name or use /uptime-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Slug uptime-tool
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Uptime Tool?

Show system uptime, load average, active user count, and boot time. Use for system health checks, monitoring, and diagnostics. It is an AI Agent Skill for Claude Code / OpenClaw, with 48 downloads so far.

How do I install Uptime Tool?

Run "/install uptime-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Uptime Tool free?

Yes, Uptime Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Uptime Tool support?

Uptime Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Uptime Tool?

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

💬 Comments