Smart

From x-cmd/x-cmd · View interactive version

Smart is an AI agent skill from the GitHub repository x-cmd/x-cmd. SMART disk health monitoring tool. Check disk health, temperature, and attributes using smartctl. **Dependency**: This is an x-cmd module. Install x-cmd first (see x-cmd skill for installation options). see x-cmd skill for installation.

How to use this skill

Skill file

x smart - Disk Health Monitor

SMART (Self-Monitoring, Analysis, and Reporting Technology) disk health checking tool.


Quick Start

List Available Disks

x smart --ls

Check Disk Health

# macOS
x smart -a /dev/disk0

# Linux
x smart -a /dev/sda

# Windows
x smart -a C:

Interactive Mode

x smart

Opens interactive UI to select disk and display SMART information.


Common Commands

| Command | Description |

|---------|-------------|

| x smart --ls | List available disk paths |

| x smart -a <disk> | Display all SMART information for the disk |

| x smart -H <disk> | Display disk health status only |

| x smart --app | Interactive disk selection (default) |

| x smart : disk health | Search smartmontools.com via DuckDuckGo |

| x smart --help | Show help information |


Examples

Basic Usage

# List all disks
x smart --ls

# Check specific disk (macOS)
x smart -a /dev/disk0

# Check specific disk (Linux)
x smart -a /dev/sda

# Check health only
x smart -H /dev/disk0

Search Documentation

x smart : disk health
x smart : temperature threshold

Platform Notes

macOS

Linux

Windows


Tips


Related

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.