Just ask Claude to add this to your statusline, give claude https://gist.github.com/dschinkel/c8b22c226c62da9b8aa33f5bf97d2e9e
Shows your Mac's real CPU utilization in the Claude Code status line, e.g. CPU 88% · load: 27.9 tasks | processes: 420 (CLI: 42 · other: 378) | Claude: 3 sessions + 2 subagents | Codex: 1 session | AGY: 1 session, refreshed every 2 seconds.
cpu-util.pyreads the CPU tick counters (host_statistics) and compares them with the previous sample saved in~/.claude/.cpu-ticks, so the number is the busy share of the last few seconds — not the load average. First run (or a stale sample) takes a quick 200 ms two-sample read. Any error prints nothing.statusline-cpu-segment.shis the snippet to paste into your status-line script. Green under 60
