metaspartan
作者:metaspartan更新日 2026-05-11全 2 バージョン · 最新版の公開日 2026-01-26@clawhub_metaspartan/mactop
監視・アラートサーバー運用

AlphaMoatによると、2026-09時点でmactopのダウンロード数は3,284、スター数は2で、AIスキル全体5,078件中3,458位、IT運用・セキュリティでは264件中221位です。

インストール数
132
ダウンロード数
3284
スター数
2
総合順位
#3,458
全体の上位 69% · IT運用・セキュリティの上位 84%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗10230562-
SkillHub ↗13232842—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

mactop のヘッドレス TOON 出力を解析し、CPU、メモリ、GPU、電力、温度、ネットワーク、ディスク I/O、Thunderbolt の情報を取得します。mactop と関連するローカルツールが必要です。指標から端末の状態が分かるため、意図したローカル監視に限って使い、信頼できる相手以外には共有しないでください。 sysctl の利用には PATH に /usr/sbin が必要です。

資料公開日 2026-10-29

できること

  • Apple Silicon Mac の性能、電力、温度、I/O 状態を確認する開発者や運用担当者向けです。

使う場面

  • ローカルのハードウェア監視が目的であり、mactop が信頼できる提供元から導入されていることを確認してください。共有前に機密情報が含まれていないか確認します。

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

この Mac の CPU、メモリ、GPU、温度、ネットワーク指標を読み取り、このセッション内だけで要約してください。

月次の推移

ダウンロード数3284
2168276833672026-03 · ダウンロード数 22512026-05 · ダウンロード数 26132026-06 · ダウンロード数 27302026-07 · ダウンロード数 29342026-08 · ダウンロード数 30042026-09 · ダウンロード数 328426-0326-09
スター数2
1232026-03 · スター数 22026-05 · スター数 22026-06 · スター数 22026-07 · スター数 22026-08 · スター数 22026-09 · スター数 226-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093284—2
2026-083004+2.4%2
2026-072934+7.5%2
2026-062730+4.5%2
2026-052613—2
2026-032251—2

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

2.8 KB・ClawHub v1.0.1
---
name: mactop
description: |
  Retrieve real-time hardware metrics from Apple Silicon Macs using mactop's TOON format.
  Provides CPU, RAM, GPU, power, thermal, network, disk I/O, and Thunderbolt bus information.
  Use when the user wants system stats, hardware monitoring, or performance metrics on Apple Silicon Macs.
---

# Mactop Skill
すべて表示(全 117 行)
Execute mactop in headless TOON mode and parse the output for hardware metrics.

## Prerequisites

- **mactop installed**: `brew install mactop`
- **PATH includes /usr/sbin**: Required for sysctl access

## Usage

### Get Full Metrics

```bash
mactop --format toon --headless --count 1
```

### Parse Key Metrics

**CPU Usage:**
```bash
mactop --format toon --headless --count 1 | grep "^cpu_usage:" | awk '{print $2}'
```

**RAM (used/total GB):**
```bash
mactop --format toon --headless --count 1 | grep -E "^  (Used|Total):" | awk '{printf "%.1f", $2/1073741824}'
```

**GPU Usage:**
```bash
mactop --format toon --headless --count 1 | grep "^gpu_usage:" | awk '{print $2}'
```

**Power (total/CPU/GPU):**
```bash
mactop --format toon --headless --count 1 | grep -E "^  (TotalPower|CPUPower|GPUPower):" | awk '{print $2}'
```

**Thermal State:**
```bash
mactop --format toon --headless --count 1 | grep "^thermal_state:" | awk '{print $2}'
```

**Temperature:**
```bash
mactop --format toon --headless --count 1 | grep "^  SocTemp:" | awk '{print $2}'
```

**Chip Info:**
```bash
mactop --format toon --headless --count 1 | grep "^  Name:" | awk '{print $2}'
```

**Network I/O (bytes/sec):**
```bash
mactop --format toon --headless --count 1 | grep -E "^(  InBytesPerSec|  OutBytesPerSec):" | awk '{print $2}'
```

**Thunderbolt Buses:**
```bash
mactop --format toon --headless --count 1 | grep "^    Name:" | awk '{print $2}'
```

## Options

| Option | Description |
|--------|-------------|
| `--count N` | Number of samples (default: 1) |
| `--interval MS` | Sample interval in milliseconds (default: 1000) |

## TOON Format

```
timestamp: "2026-01-25T20:00:00-07:00"
soc_metrics:
  CPUPower: 0.15
  GPUPower: 0.02
  TotalPower: 8.5
  SocTemp: 42.3
memory:
  Total: 25769803776
  Used: 14852408320
  Available: 10917395456
cpu_usage: 5.2
gpu_usage: 1.8
thermal_state: Normal
system_info:
  Name: Apple M4 Pro
  CoreCount: 12
```

## Response Example

Format metrics in a readable box:

```
┌─ Apple M4 Pro ──────────────────────┐
│ CPU:   5.2%  |  RAM: 13.8/24.0 GB  │
│ GPU:   1.8%  |  Power: 8.5W total  │
│ Thermal: Normal  |  SoC: 42.3°C    │
└─────────────────────────────────────┘
```

## Troubleshooting

- **"sysctl not found"** → Add `/usr/sbin` to PATH
- **No output** → Verify mactop is installed: `which mactop`

IT運用・セキュリティの人気スキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。