Skip to content
Skillv1.0.0

x-smart

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

by x-cmd(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from x-cmd/x-cmd (mod/smart/SKILL.md). Install upstream with npx skills add x-cmd/x-cmd --skill smart. Copyright stays with the author (Apache-2.0).

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

  • Disks: /dev/disk0, /dev/disk1, etc.
  • No sudo required for most operations

Linux

  • Disks: /dev/sda, /dev/nvme0n1, etc.
  • Automatically uses sudo for disk access
  • smartctl installed via snap if not present

Windows

  • Drives: C:, D:, etc.
  • May require administrator privileges

Tips

  • Root privileges: smartctl needs root to access SMART data
  • Linux: sudo is automatically invoked, no manual prefix needed
  • Snap: smartctl is auto-installed via snap if missing

Related

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/x-cmd-x-cmd-smart/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

x-cmd-x-cmd-smart.ocm.jsonjson
{
  "ocm": "1",
  "id": "x-cmd-x-cmd-smart",
  "kind": "skill",
  "name": "x-smart",
  "description": "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.",
  "publisher": "x-cmd",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "general"
    ],
    "tags": [
      "skill-md",
      "x-cmd",
      "system",
      "smart",
      "disk",
      "health",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "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."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/x-cmd/x-cmd",
      "path": "mod/smart/SKILL.md",
      "ref": "e18c1ef8b4695c7556c4e847b2eb7eaac13b9230",
      "url": "https://github.com/x-cmd/x-cmd/blob/e18c1ef8b4695c7556c4e847b2eb7eaac13b9230/mod/smart/SKILL.md",
      "key": "x-cmd/x-cmd/mod/smart/SKILL.md"
    },
    "compatibility": "POSIX Shell",
    "license": "Apache-2.0"
  },
  "instructions": "# x smart - Disk Health Monitor\n\n> SMART (Self-Monitoring, Analysis, and Reporting Technology) disk health checking tool.\n\n---\n\n## Quick Start\n\n### List Available Disks\n\n```bash\nx smart --ls\n```\n\n### Check Disk Health\n\n```bash\n# macOS\nx smart -a /dev/disk0\n\n# Linux\nx smart -a /dev/sda\n\n# Windows\nx smart -a C:\n```\n\n### Interactive Mode\n\n```bash\nx smart\n```\n\nOpens interactive UI to select disk and display SMART information.\n\n---\n\n## Common Commands\n\n| Command | Description |\n|---------|-------------|\n| `x smart --ls` | List available disk paths |\n| `x smart -a <disk>` | Display all SMART informa",
  "cost": {
    "context_tokens": 446
  }
}

Fetch it by URL: GET /api/v1/registry/x-cmd-x-cmd-smart/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.