Vitals skill
macOS system performance diagnostics — see how the machine is running and what's slowing it down: CPU/GPU/memory/energy hogs, thermal throttling, memory and swap pressure, disk usage, Spotlight indexing, launchd/startup load, via a deterministic read-only CLI with known-process interpretation (kernel_task, WindowServer, mds_stores).
by danielmiessler·MIT license·★ 19,269 Stars on the repo·GitHub ↗
npx degit danielmiessler/LifeOS/LifeOS/install/skills/Vitals#main ~/.claude/skills/vitalsChecked ·commit main
Files of Vitals
Show the full text87 lines
Vitals
Read-only macOS performance inspection: a deterministic CLI gathers the numbers, Interpretation.md turns them into a diagnosis instead of a data dump.
Customization
Before executing, check for user customizations at:
~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Vitals/
If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.
Voice Notification
When executing a workflow, do BOTH:
Send voice notification:
curl -s -X POST http://localhost:31337/notify \ -H "Content-Type: application/json" \ -d '{"message": "Running WORKFLOWNAME in Vitals"}' \ > /dev/null 2>&1 &Output text notification:
Running **WorkflowName** in **Vitals**...
Workflow Routing
| Workflow | Trigger | File |
|---|---|---|
| HealthCheck | "how's my system", "check my mac", "system health" | Workflows/HealthCheck.md |
| FindCulprit | "mac is slow", "what's eating CPU/GPU/memory", "fans loud" | Workflows/FindCulprit.md |
| DeepDiagnosis | "full diagnosis", "deep check", chronic/recurring slowness | Workflows/DeepDiagnosis.md |
Interpretation reference (load with any workflow): Interpretation.md — thresholds, known-process table, diagnosis shape.
Quick Reference
bun ~/.claude/skills/Vitals/Tools/Vitals.ts check # fast snapshot (<1s)
bun ~/.claude/skills/Vitals/Tools/Vitals.ts hogs # live per-process CPU/energy (~3s)
bun ~/.claude/skills/Vitals/Tools/Vitals.ts full # everything (~4s)
# also: gpu · memory · disk · thermal · startup · --json · --top N
The tool is read-only by contract: it never kills, renices, unloads, or writes system state. Remediation is recommended to the operator, never executed by the skill.
Examples
Example 1: Something feels slow
User: "My Mac is dragging, what's going on?"
→ FindCulprit: run hogs + check + gpu
→ Cross-reference Interpretation.md (is the hog a known background process?)
→ Report: named culprit with two evidence classes, recommended action for approval
Example 2: Routine check
User: "How's my system doing?"
→ HealthCheck: run check
→ One-screen verdict: 🟢/🟡/🔴 per subsystem, abnormalities flagged against thresholds
Example 3: Fans blasting
User: "Why are my fans so loud?"
→ FindCulprit: thermal + hogs + gpu
→ If kernel_task is the top consumer: that IS the cooling response — report the thermal cause, not the process
Gotchas
top's first sample is garbage — CPU% is cumulative since boot. The tool always runs-l 2and parses the SECOND sample; never "optimize" this away.ps -mdoes not reliably sort by memory on modern macOS (observed mis-ordering by GB-scale RSS). The tool sorts in code; keep it that way.kernel_taskhigh CPU is the thermal system working, not a runaway process — it pins cores to force cooling. Never recommend killing it.- macOS "used" memory is not a problem signal. Free RAM is deliberately spent on cache;
kern.memorystatus_vm_pressure_level(1 normal / 2 warning / 4 critical) and live swapouts are the real signals. powermetricsrequires sudo and runs forever without-n. It's the only accurate source of per-process energy and GPU power — keep it as the optional consent-gated leg in DeepDiagnosis.top -ltruncates command names (~16 chars) regardless of COLUMNS in logging mode. Use the PID to identify the full process (ps -p <pid> -o comm=).- GPU via
ioreg -c IOAcceleratorworks without sudo on Apple Silicon (Device Utilization %in PerformanceStatistics) but is not guaranteed on every GPU — the tool degrades to an explicit unavailable-message, never a silent blank. pmset -g thermmay not reportCPU_Speed_Limiton desktops — the tool treats a missing key as not-throttled rather than erroring.
| 1 | |
| 2 | name Vitals |
| 3 | version 1.0.0 |
| 4 | description "macOS system performance diagnostics — see how the machine is running and what's slowing it down: CPU/GPU/memory/energy hogs, thermal throttling, memory and swap pressure, disk usage, Spotlight indexing, launchd/startup load, via a deterministic read-only CLI with known-process interpretation (kernel_task, WindowServer, mds_stores). USE WHEN mac slow, system slow, what's slowing down my mac, computer is slow, what's eating CPU, CPU usage, GPU usage, what's using the GPU, memory pressure, RAM usage, swap, runaway process, fans loud, mac running hot, thermal throttling, system health, check my mac, how's my system running, top processes, energy hogs, activity monitor, startup items, launch agents load, system taxed. NOT FOR network/wifi diagnostics, website or deployed-app health monitoring, or security scanning." |
| 5 | |
| 6 | |
| 7 | # Vitals |
| 8 | |
| 9 | Read-only macOS performance inspection: a deterministic CLI gathers the numbers, `Interpretation.md` turns them into a diagnosis instead of a data dump. |
| 10 | |
| 11 | ## Customization |
| 12 | |
| 13 | **Before executing, check for user customizations at:** |
| 14 | `~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Vitals/` |
| 15 | |
| 16 | If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults. |
| 17 | |
| 18 | ## Voice Notification |
| 19 | |
| 20 | **When executing a workflow, do BOTH:** |
| 21 | |
| 22 | **Send voice notification**: |
| 23 | |
| 24 | curl -s -X POST http://localhost:31337/notify \ |
| 25 | -H "Content-Type: application/json" \ |
| 26 | -d '{"message": "Running WORKFLOWNAME in Vitals"}' \ |
| 27 | > /dev/null 2>&1 & |
| 28 | |
| 29 | |
| 30 | **Output text notification**: `Running **WorkflowName** in **Vitals**...` |
| 31 | |
| 32 | ## Workflow Routing |
| 33 | |
| 34 | | Workflow | Trigger | File | |
| 35 | |----------|---------|------| |
| 36 | | **HealthCheck** | "how's my system", "check my mac", "system health" | `Workflows/HealthCheck.md` | |
| 37 | | **FindCulprit** | "mac is slow", "what's eating CPU/GPU/memory", "fans loud" | `Workflows/FindCulprit.md` | |
| 38 | | **DeepDiagnosis** | "full diagnosis", "deep check", chronic/recurring slowness | `Workflows/DeepDiagnosis.md` | |
| 39 | |
| 40 | **Interpretation reference (load with any workflow):** `Interpretation.md` — thresholds, known-process table, diagnosis shape. |
| 41 | |
| 42 | ## Quick Reference |
| 43 | |
| 44 | |
| 45 | bun ~/.claude/skills/Vitals/Tools/Vitals.ts check # fast snapshot (<1s) |
| 46 | bun ~/.claude/skills/Vitals/Tools/Vitals.ts hogs # live per-process CPU/energy (~3s) |
| 47 | bun ~/.claude/skills/Vitals/Tools/Vitals.ts full # everything (~4s) |
| 48 | # also: gpu · memory · disk · thermal · startup · --json · --top N |
| 49 | |
| 50 | |
| 51 | The tool is read-only by contract: it never kills, renices, unloads, or writes system state. Remediation is recommended to the operator, never executed by the skill. |
| 52 | |
| 53 | ## Examples |
| 54 | |
| 55 | **Example 1: Something feels slow** |
| 56 | |
| 57 | User: "My Mac is dragging, what's going on?" |
| 58 | → FindCulprit: run hogs + check + gpu |
| 59 | → Cross-reference Interpretation.md (is the hog a known background process?) |
| 60 | → Report: named culprit with two evidence classes, recommended action for approval |
| 61 | |
| 62 | |
| 63 | **Example 2: Routine check** |
| 64 | |
| 65 | User: "How's my system doing?" |
| 66 | → HealthCheck: run check |
| 67 | → One-screen verdict: 🟢/🟡/🔴 per subsystem, abnormalities flagged against thresholds |
| 68 | |
| 69 | |
| 70 | **Example 3: Fans blasting** |
| 71 | |
| 72 | User: "Why are my fans so loud?" |
| 73 | → FindCulprit: thermal + hogs + gpu |
| 74 | → If kernel_task is the top consumer: that IS the cooling response — report the thermal cause, not the process |
| 75 | |
| 76 | |
| 77 | ## Gotchas |
| 78 | |
| 79 | **`top`'s first sample is garbage** — CPU% is cumulative since boot. The tool always runs `-l 2` and parses the SECOND sample; never "optimize" this away. |
| 80 | **`ps -m` does not reliably sort by memory** on modern macOS (observed mis-ordering by GB-scale RSS). The tool sorts in code; keep it that way. |
| 81 | **`kernel_task` high CPU is the thermal system working**, not a runaway process — it pins cores to force cooling. Never recommend killing it. |
| 82 | **macOS "used" memory is not a problem signal.** Free RAM is deliberately spent on cache; `kern.memorystatus_vm_pressure_level` (1 normal / 2 warning / 4 critical) and live swapouts are the real signals. |
| 83 | **`powermetrics` requires sudo and runs forever without `-n`.** It's the only accurate source of per-process energy and GPU power — keep it as the optional consent-gated leg in DeepDiagnosis. |
| 84 | **`top -l` truncates command names** (~16 chars) regardless of COLUMNS in logging mode. Use the PID to identify the full process (`ps -p <pid> -o comm=`). |
| 85 | **GPU via `ioreg -c IOAccelerator` works without sudo on Apple Silicon** (`Device Utilization %` in PerformanceStatistics) but is not guaranteed on every GPU — the tool degrades to an explicit unavailable-message, never a silent blank. |
| 86 | **`pmset -g therm` may not report `CPU_Speed_Limit` on desktops** — the tool treats a missing key as not-throttled rather than erroring. |
| 87 |
Discussion
Alternatives
Browse more free Claude skills or everything in Operations.