mactopRetrieve 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.
Install via ClawdBot CLI:
clawdbot install metaspartan/mactopExecute mactop in headless TOON mode and parse the output for hardware metrics.
brew install mactopmactop --format toon --headless --count 1
CPU Usage:
mactop --format toon --headless --count 1 | grep "^cpu_usage:" | awk '{print $2}'
RAM (used/total GB):
mactop --format toon --headless --count 1 | grep -E "^ (Used|Total):" | awk '{printf "%.1f", $2/1073741824}'
GPU Usage:
mactop --format toon --headless --count 1 | grep "^gpu_usage:" | awk '{print $2}'
Power (total/CPU/GPU):
mactop --format toon --headless --count 1 | grep -E "^ (TotalPower|CPUPower|GPUPower):" | awk '{print $2}'
Thermal State:
mactop --format toon --headless --count 1 | grep "^thermal_state:" | awk '{print $2}'
Temperature:
mactop --format toon --headless --count 1 | grep "^ SocTemp:" | awk '{print $2}'
Chip Info:
mactop --format toon --headless --count 1 | grep "^ Name:" | awk '{print $2}'
Network I/O (bytes/sec):
mactop --format toon --headless --count 1 | grep -E "^( InBytesPerSec| OutBytesPerSec):" | awk '{print $2}'
Thunderbolt Buses:
mactop --format toon --headless --count 1 | grep "^ Name:" | awk '{print $2}'
| Option | Description |
|--------|-------------|
| --count N | Number of samples (default: 1) |
| --interval MS | Sample interval in milliseconds (default: 1000) |
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
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 ā
āāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāāā
/usr/sbin to PATHwhich mactopGenerated Mar 1, 2026
IT teams can use this skill to monitor hardware performance on Apple Silicon Macs in enterprise environments, helping diagnose performance issues or overheating during high-load tasks. It provides quick access to CPU, RAM, and thermal data without manual command-line entry.
Developers can integrate this skill into testing workflows to gather hardware metrics during app development, ensuring software runs efficiently on Apple Silicon. It allows tracking of GPU usage and power consumption to optimize resource-intensive applications.
Remote workers or freelancers can use this skill to monitor their Mac's health, checking for anomalies like high temperatures or memory usage that could indicate hardware failures. It helps prevent downtime by providing alerts through parsed metrics.
Organizations managing fleets of Apple Silicon Macs in data centers can deploy this skill to automate hardware monitoring, collecting metrics like power usage and network I/O for capacity planning and energy efficiency reports.
Educational institutions can use this skill in labs to teach students about hardware monitoring on modern Apple systems, using the parsed TOON format to analyze real-time metrics and understand system performance concepts.
Offer a SaaS platform that integrates this skill to provide continuous hardware monitoring dashboards for Apple Silicon Mac users, with alerts and historical data analysis. Revenue comes from monthly subscriptions for individuals and enterprise tiers.
Develop a free tool that uses this skill for basic hardware metrics, with premium features like advanced analytics, API access, and team collaboration tools. Revenue is generated through upgrades to paid plans and enterprise licenses.
License this skill to IT management software vendors for inclusion in their products, enabling enhanced monitoring capabilities for Apple devices. Revenue comes from one-time licensing fees or royalties based on user adoption.
š¬ Integration Tip
Ensure mactop is installed via Homebrew and add /usr/sbin to the PATH to avoid sysctl errors, as noted in the prerequisites.
Capture and automate macOS UI with the Peekaboo CLI.
Manage Apple Reminders via the `remindctl` CLI on macOS (list, add, edit, complete, delete). Supports lists, date filters, and JSON/plain output.
Manage Apple Notes via the `memo` CLI on macOS (create, view, edit, delete, search, move, and export notes). Use when a user asks Clawdbot to add a note, list notes, search notes, or manage note folders.
Speak responses aloud on macOS using the built-in `say` command when user input indicates Voice Wake/voice recognition (for example, messages starting with "User talked via voice recognition on <device>").
Homebrew package manager for macOS. Search, install, manage, and troubleshoot packages and casks.
Automate macOS desktop by capturing screenshots and executing precise mouse movements, clicks, and keyboard inputs via cliclick.