/mac-it-guy-pro:checkup [--html]from mac-it-guy-pro
Generates a Mac health report: disk, memory, startup items, updates, backups, battery. Outputs plain-language verdict with findings table and recommended next step. Supports --html. Also offers one automation pattern if no critical issues.
Ships in mac-it-guy-pro. Installing the plugin adds it to Claude Code.
Read ${CLAUDE_PLUGIN_ROOT}/skills/it-core/SKILL.md first — the safety contract and report format are binding. Read ~/ITGuy/machine.md if it exists (compare today's findings against its Watch List). If uname is not Darwin, say this version supports Mac only and stop.
This command changes nothing about the user's system — it diagnoses and recommends only. It does write its own bookkeeping: the visit log, the machine profile, and a declined pattern id if an automation offer is turned down. Those writes are required, not exceptions to skip.
Dispatch the mac-it-guy-pro:diagnostician agent (via Task) for all six areas: disk, memory & CPU, startup, updates, backups, hardware.
Use the it-core report format exactly: plain-language top line with the overall verdict, findings table (Area | Status | What I found | What I suggest, with 🟢🟡🔴), then exactly one recommended next step phrased as an offer — the highest-impact 🔴 item, or the top 🟡 if nothing is red.
Rules:
Read ${CLAUDE_PLUGIN_ROOT}/skills/toolbox-contract/SKILL.md and then its references/pattern-catalogue.md — the catalogue's rules refer to the declined array, the pattern field, and the registry schema, all of which are defined in the parent skill, so loading the reference alone leaves those terms undefined. Run its signals. Its rules are binding, and three of them decide whether you say anything at all:
declined or already built in ~/ITGuy/toolbox.json.Phrase it with their own number: "Separately — I noticed 213 screenshots piled up on your Desktop. Want me to build you something that files those automatically?"
If they decline, append the pattern id (the backticked code, not the recipe name) to declined in ~/ITGuy/toolbox.json, creating the file as {"tools": [], "declined": []} if it does not exist — on a machine where /mac-it-guy-pro:automate has never run there is no registry yet, and a decline that lands nowhere comes back next checkup. If they accept, hand off to the automate workflow using the catalogue's recipe, and set the new tool's pattern field so the offer never repeats.
If no pattern fires, or a 🔴 is open, say nothing here. Silence is the correct output most of the time.
--html was passed (or the user asks for a keepable copy)Save a self-contained HTML version to ~/ITGuy/reports/YYYY-MM-DD-checkup.html: inline CSS only, no external requests, readable on a phone, same content as the chat report. Then open it and tell the user where it lives.
Every checkup maintains the memory as well as the machine. Start with the linter, which is fast and deterministic:
bash "${CLAUDE_PLUGIN_ROOT}/scripts/lint-profile.sh"
Any CRITICAL finding means a secret is stored in the profile — remove it from machine.md and history.md immediately, log a redacted event, and tell the user. Do not defer that to a later review.
Then read the provenance and expiry rules in ${CLAUDE_PLUGIN_ROOT}/skills/machine-profile/SKILL.md and do four things, cheaply:
retest by date has passed, run its recorded retest. Reproduced → re-date and push the retest date out. Not reproduced → demote to history.md as "no longer observed" and tell the user in one line: "That fan noise you had in July — I couldn't reproduce it today, so I've stopped assuming it." Unverifiable twice → demote.history.md with what closed it.Append one ledger.jsonl event per change (retested, demoted, changed, confirmed). If nothing was due and nothing changed, write nothing and say nothing — a quiet memory pass is the normal case.
Keep this to a few lines of output at most. The health report is the deliverable; memory maintenance is housekeeping the user should see evidence of, not a second report.
~/ITGuy/machine.md exists → refresh Hardware/System facts in place (new Updated: date), resolve or extend Watch List entries this checkup confirms or clears./mac-it-guy-pro:onboard lets the IT guy remember this machine between visits.~/ITGuy/visits.log (create ~/ITGuy/ if missing).What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub xiaolai/mac-it-guy-pro --plugin mac-it-guy-pro12 commands in this plugin
/automateDescribe a repetitive chore — the IT guy builds it into a reusable tool in your toolbox/backupBackup audit and setup — find out what would survive if this computer died tonight, then close the gaps/cleanupGuided disk space reclaim — scan, show findings with sizes, move only approved items to Trash/fixDescribe a computer problem in your own words — get a diagnosis first, then choose from clearly-explained fix options