fix

A Mac troubleshooting command that investigates a computer problem before offering explained repair choices.

In plain words
What is it for?
Use it to describe a problem, receive a plain-language diagnosis, choose a fix, and check whether the fix worked.
Why use it?
It prevents guesswork by first checking evidence about symptoms such as slowness, heat, noise, or low storage.

Command

Part of the mac-it-guy-pro plugin — 8 skills, 12 commands, 4 agents, 2 hooks shipped together

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.

agentmods
npx agentmods add commands/xiaolai/mac-it-guy-pro/fix
Clone the repo
git clone --depth 1 https://github.com/xiaolai/mac-it-guy-pro

Or install mac-it-guy-pro, the plugin that ships this one along with the rest of its 8 skills, 12 commands, 4 agents, 2 hooks.

Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 897 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.00897
Opus 5 $0.00013 $0.00449
Sonnet 5 $0.00005 $0.00179
Haiku 4.5 $0.00003 $0.00090

Measured 3d ago against content hash 822378667c81, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fix 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 3d ago.

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.

commands/fix.md · 53 lines

How it starts

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

Fix — diagnose before treat

Read ${CLAUDE_PLUGIN_ROOT}/skills/it-core/SKILL.md first — the safety contract is binding, especially: diagnose before treat, admin work handed to the user, verify after fix. Read ~/ITGuy/machine.md if it exists — Live Conclusions may already explain the symptom. If uname is not Darwin, say this version supports Mac only and stop.

Step 1: Restate the symptom

$ARGUMENTS is the user's description ("it's slow", "the fan is loud", "I can't find my files"). If $ARGUMENTS is empty, first ask — AskUserQuestion with common symptom options (slow, noisy/hot, out of space, something else) — before proceeding. Restate the symptom in one sentence and confirm anything ambiguous with AskUserQuestion — when did it start, is it constant or occasional, one app or everything. One round of questions at most.

Step 2: Gather evidence

Dispatch the mac-it-guy-pro:diagnostician agent (via Task) scoped to the areas the symptom implicates (slowness → memory, CPU, disk, startup; noise/heat → CPU, battery; space → disk). Cross-check its findings against the profile's Live Conclusions.

Step 3: Present the diagnosis

  • What's going on: one plain-language paragraph tying evidence to symptom.
  • Confidence: state it as high / moderate / low, and what would confirm it if not high.
  • Options table:
Option What it does Risk Undoable?

Always include "do nothing for now" as a row. If the honest answer is hardware or an Apple-side problem, say so and describe what to tell the repair shop — a good IT guy knows when it's not a software fix.

Step 4: Fix only what the user picks

Use AskUserQuestion for the choice, then apply exactly that option. Anything requiring admin rights is handed to the user: the exact command, the ! prefix instruction, and one sentence on what it does (safety contract rule 6). Anything requiring a restart: tell them why and let them do it when ready — never restart the machine yourself.

Read the full file on GitHub · 53 lines

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. 3d ago First seen · 53 lines · 25 tokens per session scan A 822378667c81

Subscribe to this mod's changes

fix is a command published in the GitHub repository xiaolai/mac-it-guy-pro (5 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 897 once invoked, about $0.0001 per session on Opus 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-08-31.