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.
npx agentmods add skills/0xdarkmatter/claude-mods/mac-opsnpx skills add 0xDarkMatter/claude-mods --skill mac-opsgit clone --depth 1 https://github.com/0xDarkMatter/claude-modsWrote 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.
[](https://agentmods.dev/skills/0xdarkmatter/claude-mods/mac-ops)<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/mac-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/mac-ops.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.05390 |
| Opus 5 | $0.00036 | $0.02695 |
| Sonnet 5 | $0.00014 | $0.01078 |
| Haiku 4.5 | $0.00007 | $0.00539 |
Grade B, and why
mac-ops scanned grade B with 1 finding 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 6d 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
| Disable startup item by name | `scripts/safe-disable-startup.sh -n <pattern>` — works across Login Items + LaunchAgents (no sudo for user-scope) | How it starts
The opening of the file, as written. The whole thing — 358 lines — stays where its author put it; the contents beside it link to each section on GitHub.
mac-ops
Verified as of 2026-07 — content assumes macOS 13 (Ventura) and later (
.ipspanic format on macOS 12+, universal SSH on macOS 13+).
Helps with
Slow Mac that used to be fast — bloat accumulation across the four startup mechanisms (Login Items, ~/Library/LaunchAgents, /Library/LaunchAgents, /Library/LaunchDaemons). The same machine still boots fast once those are inventoried and trimmed.
Failing drives that nobody's spotted yet. macOS doesn't shout the way Windows does — IO errors live in log show --predicate 'subsystem == "com.apple.iokit"' and APFS surfaces them via AppleAPFSContainerScheme / AppleNVMe* provider messages. Healthy SSDs produce zero of these per month; dozens means active failure even when "About This Mac → Storage" still shows green.
Kernel panics with no obvious cause. The .panic / .ips files in /Library/Logs/DiagnosticReports/ carry the panic string, kernel call stack, and (critically) the loaded kext list. A panic mentioning a third-party kext (com.eltima.ProductX, com.paragon.NTFS, anti-virus drivers) tells a completely different story than a panic in core Apple code (AppleIntelKBL Graphics, IOPlatformPluginUtil).
"My Mac is slow" diagnosed by chasing the wrong symptom. Activity Monitor shows what's running NOW; log show shows what failed at boot, what's been panicking, and what storage / power events preceded each freeze. Always audit before treating.
Apps that "don't work right" but aren't crashing — usually a TCC (Transparency, Consent, Control) denial nobody explicitly clicked No to. Screen Recording, Accessibility, Full Disk Access, Camera, Microphone, Contacts, Calendars, Reminders, Photos, Automation — each has its own permission grant. Reading the TCC databases tells you exactly what's been denied and when.
"Macintosh HD is full but I deleted everything" — APFS local Time Machine snapshots plus purgeable space breakdowns. tmutil listlocalsnapshots / and diskutil apfs list reveal the actual space accounting that Finder hides.
What ships with it
37 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.
- assets/.gitkeep 0 B
- references/apple-silicon-specifics.md 6.9 KB
- references/launchd-deep-dive.md 9.8 KB
- references/mac-vs-windows-ops.md 7.7 KB
- references/panic-codes.md 7.9 KB
- references/recovery-patterns.md 8.4 KB
- references/remote-diagnostics.md 6.8 KB
- references/startup-mechanisms.md 9.7 KB
- references/storage-events.md 6.1 KB
- references/tcc-mechanics.md 10.0 KB
- references/worked-examples.md 6.3 KB
- scripts/_lib/common.sh 5.9 KB runs code
- scripts/_lib/panel.sh 7.8 KB runs code
- scripts/bluetooth-audit.sh 5.1 KB runs code
- scripts/boot-perf.sh 5.8 KB runs code
- scripts/brew-health.sh 6.6 KB runs code
- scripts/disk-health.sh 8.3 KB runs code
- scripts/drive-dependencies.sh 8.5 KB runs code
- scripts/firewall-audit.sh 5.3 KB runs code
- scripts/font-audit.sh 4.9 KB runs code
- scripts/health-audit.sh 12 KB runs code
- scripts/kext-audit.sh 6.1 KB runs code
- scripts/keychain-audit.sh 7.1 KB runs code
- scripts/media-libraries.sh 6.2 KB runs code
- scripts/network-locations.sh 4.3 KB runs code
- scripts/panic-triage.sh 6.4 KB runs code
- scripts/quickrun.sh 8.2 KB runs code
- scripts/recover-clone.sh 5.9 KB runs code
- scripts/safe-disable-startup.sh 7.2 KB runs code
- scripts/spotlight-status.sh 4.8 KB runs code
- scripts/startup-audit.sh 8.9 KB runs code
- scripts/storage-pressure.sh 6.5 KB runs code
- scripts/sysdiagnose-helper.sh 5.6 KB runs code
- scripts/tcc-audit.sh 8.0 KB runs code
- scripts/update-state.sh 6.1 KB runs code
- scripts/wake-reasons.sh 7.0 KB runs code
- tests/run.sh 8.0 KB runs code
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.
- 6d ago First seen · 358 lines · 71 tokens per session scan B 6023e9aeab15
mac-ops is a skill published in the GitHub repository 0xDarkMatter/claude-mods (32 stars, last pushed 13d ago), licensed MIT. It adds 71 tokens to every session and 5,390 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
opencli-autofix
Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.
omh-failure-signal-audit
This is a Hermes-native failure-signal-audit workflow skill.
report-issue-local
File a bug or feature request against this MCP server's own repo. Use for server-specific issues — tool logic, service integrations, config problems, or domain bugs that aren't caused by the framework.
thinking-five-whys-plus
When a fault is localized and the proximate cause is known but the systemic root is not, chain evidence-linked whys with a counterfactual stop and a countermeasure.
thinking-map-territory
When a claim, doc, test, metric, or assumption conflicts with observed behavior, stop theorizing from the map and verify the live code or data; let territory overrule.
unicli-repair
Evidence-driven repair workflow for a broken Uni-CLI adapter. Trigger on a failed unicli envelope, a quarantined adapter, or an explicit adapter-repair request. Classifies non-source failures, edits only the reported adapter path, and uses the original command as a bounded oracle.