TopRank Skills

Home / Claw Skills / 其他 / x-uname
Official OpenClaw rules 15%

x-uname

Enhanced `uname` command with colorized, structured output. Shows hostname, OS, kernel, architecture. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 x-uname 技能。 若已安装,则直接安装 x-uname 技能。

Overview

Skill Key
edwinjhlee/x-uname
Author
edwinjhlee
Source Repo
openclaw/skills
Version
-
Source Path
skills/edwinjhlee/x-uname
Latest Commit SHA
985deb7126edc3b8005a2b7cc8e051634a234756

Extracted Content

SKILL.md excerpt

# x uname - System Information

> Enhanced `uname` command with colorized, structured output.

---

## Quick Start

```bash
# Display system information
x uname
```

---

## Features

- **Colorized output**: Key-value format with ANSI colors (auto-disabled when piped)
- **Structured display**: hostname, osname, kernel, machine, version
- **Cross-platform**: Works on Linux, macOS, Windows (via cosmo)

---

## Output Fields

| Field | Description | Example |
|-------|-------------|---------|
| `hostname` | System hostname | `myserver` |
| `osname` | Operating system name | `Linux`, `Darwin` |
| `kernel` | Kernel version | `5.15.0-91-generic` |
| `machine` | Hardware architecture | `x86_64`, `arm64` |
| `version` | Full OS version string | `#101-Ubuntu SMP...` |

---

## Examples

### Basic Usage

```bash
# Default - colorful structured output
x uname

# Output example:
# hostname   :  myserver
# osname     :  Linux
# kernel     :  5.15.0-91-generic
# machine    :  x86_64
# version    :  #101-Ubuntu SMP Tue Nov 14 13:29:11 UTC 2023
```

### Pipe Usage

Colors are automatically disabled when output is piped:

```bash
# No colors in piped output
x uname | cat

# Parse with awk
x uname | awk -F': ' '/kernel/{print $2}'
```

---

## Comparison with Native uname

| Command | Output Style |
|---------|--------------|
| `uname -a` | Single line, space-separated |
| `x uname` | Multi-line, key-value format |

```bash
# Native uname
$ uname -a
Linux myserver 5.15.0-91-generic #101-Ubuntu SMP ... x86_64 x86_64 x86_64 GNU/Linux

# x uname
$ x uname
hostname   :  myserver
osname     :  Linux
kernel     :  5.15.0-91-generic
machine    :  x86_64
version    :  #101-Ubuntu SMP Tue Nov 14 13:29:11 UTC 2023
```

---

## Related

- Native `uname(1)` manual page

Related Claw Skills