360 Secure SkillHub
360 安全技能中心

System Uptime

该 Skill 用于回答本机已运行多久、上次重启时间等基础状态问题,通过系统 uptime 命令或 Node CLI 获取并输出运行时间与负载信息;不提供详细指标、远程主机或历史数据查询。

分类:自动化
alamby
alamby
热度 36.70
最近更新 2026-05-11 17:27:43

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add alamby/system-uptime
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
system-uptime
description
Get the current system uptime using the native 'uptime' command. Use when: user asks about system uptime, system status, or how long the system has been running.
metadata
{"openclaw":{"emoji":"⏱️","requires":{"bins":["uptime"]}}}

System Uptime Skill

Get the current system uptime using the built-in uptime command.

When to Use

✅ USE this skill when:

  • "What's the system uptime?"
  • "How long has the system been running?"
  • "Show system status"
  • "When was the last reboot?"

When NOT to Use

❌ DON'T use this skill when:

  • Need detailed system metrics → use monitoring tools
  • Remote system uptime → use SSH or remote monitoring
  • Historical uptime data → check system logs

Commands

Get System Uptime

# Basic uptime
uptime

# Using the skill CLI
node uptime-cli.js

Example Output

11:30:45 up 2 days, 4:23, 2 users, load average: 1.23, 1.15, 1.08

Notes

  • Uses the standard Unix uptime command
  • Works on macOS, Linux, and other Unix-like systems
  • No additional dependencies required