← 返回 Skills 市场
dinghaibin

Uptime Tool

作者 BIN · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
48
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install uptime-tool
功能描述
Show system uptime, load average, active user count, and boot time. Use for system health checks, monitoring, and diagnostics.
使用说明 (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
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install uptime-tool
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /uptime-tool 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug uptime-tool
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Uptime Tool 是什么?

Show system uptime, load average, active user count, and boot time. Use for system health checks, monitoring, and diagnostics. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 48 次。

如何安装 Uptime Tool?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install uptime-tool」即可一键安装,无需额外配置。

Uptime Tool 是免费的吗?

是的,Uptime Tool 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Uptime Tool 支持哪些平台?

Uptime Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Uptime Tool?

由 BIN(@dinghaibin)开发并维护,当前版本 v1.0.0。

💬 留言讨论