mac-optimize-setup SKILL.md skillA

mac-optimize-setup from kylebrodeur/mac-optimize is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add kylebrodeur/mac-optimize/mac-optimize-setup@v1.0

Pins v1.0 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
kylebrodeur/mac-optimize
Path
skills/mac-optimize-setup/SKILL.md
Versions recorded
2
Latest version
v1.0, committed Aug 13, 2026
First version recorded
Jul 30, 2026
Size
3,234 bytes
Repository stars
2
License
MIT

Install and configure the mac-optimize disk and shell hygiene toolset on a macOS machine, including the launchd automation (a low-disk watcher, a memory-pressure watcher, and a weekly reclaim) and optionally moving a 1Password service-account token out of a cleartext dotfile into the login Keychain. Use when setting up a new Mac, when the user says "install mac-optimize", "set up disk automation", or "set up the disk cleanup tools", or when uninstalling them.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# mac-optimize-setup

Install the mac-optimize tooling (`diskreport`, `mac-reclaim`, `worktree-audit`, `diskguard`, `memguard`) and its launchd automation onto a Mac.

## Install

From a checkout of the repo:

```
git pull            # if already cloned
make install
```

`install.sh` is idempotent. It copies `bin/*` to `~/.local/bin` (make sure that's on `PATH`), installs the three launchd plists to `~/Library/LaunchAgents`, and (re)loads them.

## Verify

```
launchctl list | grep mac-optimize    # expect com.mac-optimize.diskguard, .memguard, and .mac-reclaim
diskreport                            # confirm the tools resolve on PATH
```

`diskguard` runs at login and every 3 hours; if free space drops below 20 GB it runs a safe reclaim and posts a notification (urgent notice, no auto-delete, below 10 GB). `memguard` runs at login and every 5 minutes; it watches the kernel memory-pressure level and free RAM and, when memory is tight, posts a notification naming the largest process (it never kills or deletes anything). `mac-reclaim` runs a safe reclaim weekly.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add kylebrodeur/mac-optimize/mac-optimize-setup@sha256:23a20863154802cc

The line at the top of this page pins the label v1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_t5o5kr6zbz2ih4tp.svg)](https://markdownregistry.com/a/art_t5o5kr6zbz2ih4tp)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between Jul 30, 2026 and Aug 13, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
v1.0 latest2026-08-13 b8ac6b4 3,234 BA view · diff
v1.02026-07-30 b69939d 2,966 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3234 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

kylebrodeur/mac-optimize · 2 stars · license MIT · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_t5o5kr6zbz2ih4tp
GET https://markdownregistry.com/api/v1/resolve?ref=kylebrodeur/mac-optimize/mac-optimize-setup
GET https://markdownregistry.com/api/v1/blob/23a20863154802cce3fccae681b9afa4972dd073b691a16f08a7a3b317d973bf

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from kylebrodeur/mac-optimize

mac-optimize SKILL.md skill
kylebrodeur/mac-optimize · skills/mac-optimize/SKILL.md · Diagnose and reclaim disk space, audit stray git worktrees, back up and prune Codex agent sessions, check SSD health…
v1.0 · audit A · 2 stars

Every file in kylebrodeur/mac-optimize

Browse by kind, by grade A, or by owner.