macos-load-doctor

macos-load-doctor is a skill for Claude Code from daymade/claude-code-skills. It costs 118 tokens per session (2,953 once invoked), scanned A, original, MIT.

A macOS diagnosis workflow for finding why a computer is slow, hot, or timing out across many applications. It examines system load and processes to identify the source of machine-wide pressure.

In plain words
What is it for?
Use it to investigate high load, fan activity, leaked helper processes, fork storms, busy loops, or simultaneous timeouts on a Mac.
Why use it?
It separates a computer-wide resource problem from a bug in one application. This avoids blaming individual tools when the whole machine is being starved of resources.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument.

Part of the daymade-macos plugin — 6 skills shipped together

Good fit Use it to investigate high load, fan activity, leaked helper processes, fork storms, busy loops, or simultaneous timeouts on a Mac.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daymade/claude-code-skills/macos-load-doctor
About the project

Claude Code Skills Marketplace is a collection and marketplace of skills, plugins, agents, and instructions that extend Claude Code with specialized development workflows. It is for developers who want to install existing workflows or create, validate, and package their own Claude Code skills.

daymade/claude-code-skills · 1,557 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add daymade/claude-code-skills --skill macos-load-doctor
Clone the repo
git clone --depth 1 https://github.com/daymade/claude-code-skills

Made for: Claude Code.

Or install daymade-macos, the plugin that ships this one along with the rest of its 6 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for macos-load-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/daymade/claude-code-skills/macos-load-doctor/github.svg)](https://agentmods.dev/skills/daymade/claude-code-skills/macos-load-doctor)
Your own site
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/macos-load-doctor"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/macos-load-doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for macos-load-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/daymade/claude-code-skills/macos-load-doctor"><img src="https://agentmods.dev/badge/skills/daymade/claude-code-skills/macos-load-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,953 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.02953
Opus 5.5 $0.00047 $0.01181
Sonnet 5.5 $0.00024 $0.00591
Haiku 4.5 $0.00012 $0.00295

Measured 5d ago against content hash b566ddb03d63, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

macos-load-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/load_census.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

daymade-macos/macos-load-doctor/SKILL.md · 243 lines

How it starts

The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.

macOS Load Doctor

Find what is making the Mac slow or hot, attribute it to an owner, and act within the shared-machine boundary. The skill's job is a correct, evidence-backed attribution — not process cleanup.

The one rule that orders everything else

A fleet-wide symptom is an environment problem until proven otherwise. When independent apps, hooks or agents all start timing out or crawling at the same time, check shared resource pressure before blaming each component. Check the machine first; pursue an individual defect when its own evidence distinguishes it from that shared pressure.

Triage (READ-DO, in order)

1. Load first, always

sysctl -n vm.loadavg; uptime

Expected: three numbers, e.g. { 3.12 4.01 5.20 }. Read against the core count, not an absolute: single digits are calm on a modern Mac; tens are busy; hundreds signal severe scheduling or wait pressure and everything on the machine can be affected — hooks time out, keystrokes lag, pushes stall. A load in the hundreds with no obvious culprit in the CPU column usually means hundreds of small processes, not one big one.

Treat load as a triage signal, not a causal verdict or a count of busy CPU cores. Overload can coexist with an individual hook's repeated work. Before deriving a CPU rate or process-creation rate, use the measurement controls: calibrate units, measure elapsed time and state the sampler's coverage.

2. Process census — run the bundled script

LOAD_DOCTOR_DIR='<absolute directory containing this SKILL.md>'
bash "$LOAD_DOCTOR_DIR/scripts/load_census.sh"

Resolve that directory from the loaded Skill entry; the caller's project directory is not the Skill directory. The census readings answer different questions:

  • By parent (PPID aggregation) — who owns many children? A large count identifies fan-out and resource overhead, not a proven leak. Compare births, exits and counts across a bounded window with the owner's active workload and intended lifecycle. A stable pool or helpers for active sessions can be valid; a leak claim needs evidence that children outlive the work they serve or that retained counts grow after equivalent work completes. Do not terminate sessions to manufacture that evidence; use existing lifecycle records or your own test.
  • By cumulative CPU time — who has been burning for hours? Distinguish sustained work from a spike, then check expected work, progress and hot stacks before calling it a busy loop. A legitimate test or export can also stay busy.
  • By instantaneous %CPU — who is burning right now? Catches the active storm that the cumulative view dilutes.

Read the full file on GitHub · 243 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed · +6 lines b566ddb03d63
  2. 14d ago Changed · +20 lines 3934bae4e526
  3. 15d ago Changed · +20 lines 9c0ec9be90dd
  4. 1mo ago Changed · +5 lines 4bb0614407cc
  5. 1mo ago Changed · +4 lines 55b4701f43d0
  6. 1mo ago Changed · +1 lines d0287df59ccc
  7. 1mo ago Changed · +29 lines 2316467ba1ae
  8. 1mo ago Changed · +15 lines 8b2aa8ad3f11
  9. 1mo ago First seen · 143 lines · 118 tokens per session scan A ec23b471c2b1

Subscribe to this mod's changes

macos-load-doctor is a skill published in the GitHub repository daymade/claude-code-skills (1,557 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 2,953 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

macos-load-doctor compared with skills from other repositories

macos-load-doctor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
macos-load-doctordaymade/claude-code-skillsSkill1.6ktodayMITA118Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill342todayApache-2.0A112Claude Code
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
verus-query-timinglbx154/ArgusSkill337yesterdayMITA28Claude Code, Codex