据 AlphaMoat 统计,截至 2026-09,mactop 累计下载 3,284 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,458 位,在「运维安全」分类(264 个)中排名第 221 位。
| 平台 | 累计安装 | 累计下载 | 星标 | 评论 |
|---|---|---|---|---|
| ClawHub ↗ | 102 | 3,056 | 2 | - |
| SkillHub ↗ | 132 | 3,284 | 2 | — |
各平台的计数口径不同,统计时间不一致。
该技能通过 mactop 的无头 TOON 输出获取 CPU、内存、GPU、功耗、温度、网络、磁盘 I/O 和 Thunderbolt 信息;需要本机安装 mactop 与相关系统工具。指标可能暴露设备运行状况,仅在需要本机监控时使用,并避免向不可信对象分享摘要。 sysctl 访问需要 PATH 包含 /usr/sbin。
资料发布于 2026-10-29
以下是根据技能文档生成的示例,不代表实际运行结果。
2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。
| 月份 | 累计下载 | 环比 | 星标 |
|---|---|---|---|
| 2026-09 | 3,284 | — | 2 |
| 2026-08 | 3,004 | +2.4% | 2 |
| 2026-07 | 2,934 | +7.5% | 2 |
| 2026-06 | 2,730 | +4.5% | 2 |
| 2026-05 | 2,613 | — | 2 |
| 2026-03 | 2,251 | — | 2 |
以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。
--- 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
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`
在使用技能包之前做安全扫描,并按结论决定放行或拦截的技能。
为 OpenClaw 配置 OpenRouter 免费模型与回退链的工具。
备份与恢复 OpenClaw 配置、凭据与工作区的技能。
配置并使用 1Password CLI 处理密钥。
一款被描述为可检测提示注入与危险命令的 OpenClaw 安全插件。
远程控制 tmux 会话,向交互式命令行发送按键并抓取输出。
以应用安全工程师视角做代码与架构的安全审计。
管理腾讯云对象存储与数据万象的技能。
数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。