home / skills / openclaw / skills / system-uptime
This skill reports the current system uptime using the native uptime command to help you quickly assess stability.
npx playbooks add skill openclaw/skills --skill system-uptimeReview the files below or copy the command above to add this skill to your agents.
---
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
```bash
# 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 requiredThis skill retrieves the current system uptime by running the native Unix `uptime` command. It provides a quick, human-readable summary of how long the system has been running, number of users, and load averages. Use it for fast status checks and simple automation hooks that need current uptime info.
The skill executes the system `uptime` command and returns its standard output. It parses the command output when useful but otherwise delivers the raw uptime line (e.g., "up 2 days, 4:23, 2 users, load average: ..."). It runs locally on Unix-like systems and requires no additional dependencies.
Does this work on Windows?
No. The skill uses the Unix `uptime` command and is intended for macOS, Linux, and other Unix-like systems.
Do I need special permissions to run it?
No special privileges are normally required; any user with access to the shell can run `uptime`. Ensure your environment allows executing system commands.