Agent skill

Maintaining macOS Health

by CodeAlive-AI in CodeAlive-AI/ai-driven-development

Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting.

MITAuto-check: notesDevOps & Cloud

Install Maintaining macOS Health

skills CLI
$ npx skills add CodeAlive-AI/ai-driven-development --skill maintaining-macos-health -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install CodeAlive-AI/ai-driven-development maintaining-macos-health --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/CodeAlive-AI/ai-driven-development.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/maintaining-macos-health .claude/skills/maintaining-macos-health && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
maintaining-macos-health
GitHub stars
159
Token cost
~5.5k tokens
SKILL.md length
2,714 words
Files
45 (incl. references, assets)
Skills in repo
22
Repo updated
First seen
Licence
MIT

At a glance

Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting.

  • Works in 4 steps: Monitor passively — Stats menubar (brew… → Alert actively, diagnose quietly — disk,… → Cleanup tiers — start zero-risk (caches,… → …
  • The Mac is full
  • SKILL.md covers Table of contents, When to use, Skill layout and Core mental model, plus 4 more sections
  • Runs Python and Shell scripts from its folder; calls brew, python3 and docker

What it does

Maintaining macOS Health is an agent skill from CodeAlive-AI/ai-driven-development. Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting. Use when the Mac is full or slow, when a process persistently burns CPU, when a kernel panic / watchdog timeout / vm-compressor-space-shortage / Jetsam event happened, when the user asks to free disk space, audit storage, set up disk/memory/CPU alerts, or restore the same monitoring on a new Mac. Built around Mole (mo CLI) for safety guards plus a custom LaunchAgent-based alerter for active warnings. Covers Apple…

Its SKILL.md is about 5.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 46 other files, including reference files and assets (for example `README.md`, `assets/apply-cleanup-selection.py` and `assets/build-space-scan.sh`).

It sits in DevOps & Cloud, covering Monitoring and alerting. It works with macOS and Docker. The repository describes itself as: Practices, protocols, and skills for AI-driven software development. Skills and safety hooks for Claude Code, Codex, OpenCode, Cursor, Antigravity, and any agent supporting the… The licence is MIT.

When your agent uses it

  • The Mac is full
  • A process persistently burns CPU
  • A kernel panic / watchdog timeout / vm-compressor-space-shortage / Jetsam event happened
  • The user asks to free disk space

Example prompts

  • “/maintaining-macos-health”

Requirements

  • Python 3
  • A Bash shell
  • Docker

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Monitor passively — Stats menubar (brew install --cask stats) — you see issues forming, not just when they explode.
  2. Alert actively, diagnose quietly — disk, memory, Jetsam, and whole-system CPU saturation are critical. A single process burning CPU is a…
  3. Cleanup tiers — start zero-risk (caches, orphan data), only escalate to project artifacts and sudo categories if needed. Mole's mo purge…
  4. Mole is the safety floor — even when running shell commands by hand, follow Mole's path-validation rules: never delete inside /System…

What it can do on your machine

Read from SKILL.md and the folder at commit 4cfeb10. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python and Shell, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • brew
    • python3
    • docker
    • osascript
    • codex

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Maintaining macOS Health loads about 5.5k tokens when it runs, and up to ~30k if it reads all its reference files. Until then it costs about 184 tokens; SKILL.md has 2,714 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~184
When it runs · the whole SKILL.md, loaded when a task matches
~5.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~30k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteRuns commands with sudoSKILL.md:45
    that **must not** be deleted even under sudo (Mole-derived blacklist + incident-derived additions) |
  • NoteRuns commands with sudoSKILL.md:66
    , only escalate to project artifacts and sudo categories if needed. Mole's `mo purge` and `mo clean` are the right prima
  • NoteRuns commands with sudoSKILL.md:136
    r confirmation** for any tier ≥ 5 or any sudo operation.
  • NoteRuns commands with sudoSKILL.md:140
    5. **For sudo cleanup of `/Library`, `/private/var/db/*`**: only the allowlisted subpaths from `references/never-touch.m

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from CodeAlive-AI/ai-driven-development at commit 4cfeb10, republished under its MIT licence (© CodeAlive-AI). 2,714 words, ~5,460 tokens.

Download SKILL.mdSave it as .claude/skills/maintaining-macos-health/SKILL.md (or your agent's skills folder). This skill also uses 44 other files; get the full folder from GitHub.
name
maintaining-macos-health
description
Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting. Use when the Mac is full or slow, when a process persistently burns CPU, when a kernel panic / watchdog timeout / vm-compressor-space-shortage / Jetsam event happened, when the user asks to free disk space, audit storage, set up disk/memory/CPU alerts, or restore the same monitoring on a new Mac. Built around Mole (`mo` CLI) for safety guards plus a custom LaunchAgent-based alerter for active warnings. Covers Apple Silicon laptops with heavy AI/Docker workloads. Not for general macOS support, hardware diagnostics, networking issues, GUI / window-manager bugs, Time Machine recovery, or broken app installs.
version
1.4.0

Maintaining macOS Health

Recovery and prevention playbook for macOS disk and memory crises. Validated against a real watchdog-timeout kernel panic on Apple Silicon caused by vm_compressor segments saturated to 100 % with the disk over 90 % full. The same playbook works for routine cleanup or first-time setup on a new machine.

Table of contents

When to use

Trigger on any of:

  • Disk free < 20 % or user complains about being out of space
  • Watchdog-timeout / kernel panic / "no checkins from watchdogd"
  • New JetsamEvent-*.ips with vm-compressor-space-shortage
  • "Mac is slow", swap > 6 GB, sustained Critical memory pressure
  • A process persistently consumes a core, or the whole machine stays CPU-saturated
  • User wants to set up monitoring/alerting from scratch
  • Migration to a new Mac → restore the same alerter
  • General "clean my Mac" / "audit storage" / "free space" requests

Skill layout

FileUse for
references/triage.mdFirst 5 minutes — which signal fired, which tier of cleanup to start with
references/cleanup-tiers.mdTiered cleanup playbook (10 tiers, zero-risk → discuss-first), copy-paste-safe shell blocks
references/never-touch.mdCategories that must not be deleted even under sudo (Mole-derived blacklist + incident-derived additions)
references/mole-techniques.mdWhat Mole does that we borrow: marker→target map for mo purge, safe-path validators, age thresholds
references/alerting.mdFull alerter design: disk/memory/Jetsam critical triggers plus sustained CPU anomaly detection, incident lifecycle, hysteresis, notifier choices, install/restore commands
references/optional-disk-responses.mdFirst-use offer, installation and operation of two independent opt-ins: emergency Mole cache cleanup below 2%, and a Codex cleanup plan/page at or below 5% with exact-session continuation.
assets/mac-health-disk, assets/disk_*.pyConsent-gated disk controller, deterministic inventory, restricted Codex runner and authenticated local selection/confirmation page. Both modes default off.
assets/mole-exact-file.sh, assets/mole-core-1.39.0.jsonCompatibility-pinned exact-file adapter to Mole; no general mo clean, sudo, or shell commands from the agent.
assets/space-scan/, assets/build-space-scan.shRead-only bulk metadata scanner with explicit directory exclusions and a compact full folder tree; see references/storage-report.md for manual inventory
assets/render-storage-report.py, assets/storage-tree.jsAppend scanner output to the report; lazily expand folders and show largest files
assets/mac-health-checkProduction-ready bash script (~250 lines, bash 3.2 compatible)
assets/mac-health-actionBackground action dispatcher for read-only Codex/Claude investigations and explicitly confirmed graceful process stopping
assets/com.local.mac-health-check.plistLaunchAgent plist with StartCalendarInterval (StartInterval is broken on laptops)
assets/config.shDefault config with safe thresholds
assets/render-cleanup-plan.pyInteractive HTML cleanup-plan UI. Renders categorised checkboxes from a JSON of scan findings, serves on 127.0.0.1:18347, opens browser, waits for the user's selection, writes it to /tmp/cleanup-selection-<ts>.json. Used by Workflow A.
assets/apply-cleanup-selection.pyThe only sanctioned way to apply a cleanup selection. Reads selected_items from a selection JSON and executes each item's command field. Enforces protected-override check + path validation + Mole-compatible operations log. Prevents drift between what the user picked and what gets deleted. Supports --dry-run.

Read the relevant reference before acting. Do NOT operate from memory of these files — the details are calibrated to a real incident and small changes break safety.

Core mental model

  1. Monitor passively — Stats menubar (brew install --cask stats) — you see issues forming, not just when they explode.
  2. Alert actively, diagnose quietly — disk, memory, Jetsam, and whole-system CPU saturation are critical. A single process burning CPU is a silent advisory only after a long sustained window; routine samples stay in the log.
  3. Cleanup tiers — start zero-risk (caches, orphan data), only escalate to project artifacts and sudo categories if needed. Mole's mo purge and mo clean are the right primary tools.
  4. Mole is the safety floor — even when running shell commands by hand, follow Mole's path-validation rules: never delete inside /System, /bin, /usr, /etc, /var/db outside specific allowlisted subpaths; bin/ only under .NET; vendor/ only under PHP; protect AI/password/VPN/keychain bundle IDs.

Standard workflows

First interactive use: optional disk responses

On the first operational, interactive use on a Mac (including an existing installation upgraded to this skill), read references/optional-disk-responses.md and offer both options separately in the user's language. Do this before routine setup; during an incident, do not delay immediate triage. A request to edit or review this skill is not consent to activate it on the development machine. Background invocations must never prompt for enrollment.

  • Emergency cleanup, free space < 2%: permission for a bounded Mole cleanup of explicitly approved regenerable caches without another question at incident time. Explain the exact profile, irreversible deletion, possible cache rebuild/download cost, and exclusions before accepting consent. This is not permission for general mo clean, project purge, Trash emptying, sudo, or process termination.
  • Agent cleanup plan, free space <= 5%: permission to launch the chosen agent automatically, inspect non-secret storage metadata, and open the local selection page in the default browser. Explain provider usage/cost and what metadata leaves the Mac. The agent may propose deletion but may not perform it; Submit is a selection, and applying still requires a separate confirmation.

Record each explicit answer independently; silence, a generic "set up monitoring", or approval of one option does not authorize the other. Keep declined choices across sessions and upgrades. Ask again only on user request, a new machine, or a material change to the consent scope. Existing monitoring continues without either option.

Implementation scope: the bundled controller supports a pinned Mole 1.39.0 adapter and a restricted Codex CLI session with the same cleanup-plan UI used by Workflow A. Emergency cleanup covers only old Homebrew package downloads and npm content-cache files. Automated planning runs Workflow A's fixed read-only bulk metadata scan, Mole clean/purge preview, Docker inventory and Downloads audit. The automatic executor remains narrower: it can delete only controller-verified regenerable cache files; storage-map and possible user-data findings are visible but disabled and require a later interactive Workflow A session. Read the reference, disclose these limits and verify local compatibility before recording approval with mac-health-disk configure. Installation alone never enables a mode. No consent is inferred from a feature-development request.

A. "Free space NOW" (incident response)
  1. Triage — read references/triage.md, identify which signal fired and how urgent.
  2. Snapshot baseline — df -h /System/Volumes/Data and write down free GB.
  3. Run all scans, don't delete yet — for a large local disk inventory, use the bundled bulk scanner and full folder tree described in references/storage-report.md; build the scanner before use and report build or scan failures explicitly; do not silently substitute another scan method. Also run mo clean --dry-run, mo purge --dry-run --debug, docker system df -v, ~/Downloads audit. Capture everything; deletion comes only after user picks via the UI.
  4. Resolve unknown items before building JSON — for every candidate > 500 MB whose purpose you cannot explain in one sentence (unfamiliar app, unfamiliar bundle ID, unfamiliar dotfolder, vendor-specific cache, ML model weights, VM image, etc.), research it first: check references/never-touch.md for a known entry, then delegate a quick lookup to the web-searcher subagent ("what is <path or bundle id> on macOS, is it safe to delete in 2026"). Wait for the answer, then write a concrete description (1-3 sentences in the user's language) into the item — what it is, who created it, what feature uses it, what breaks if deleted, whether it auto-recreates. Never show the report with vague placeholders like "unknown" or "ML data" — that defeats the point of the UI. If a web lookup contradicts never-touch.md, prefer the web answer (it's fresher) and propose an update to the reference file.
  5. Build the data JSON — every candidate becomes a structured item (id, label, path, size_bytes, age_days, kind, command, mandatory description, optional protected + warning). Write to /tmp/cleanup-data-<ts>.json. Use schema from assets/render-cleanup-plan.py docstring. Append a read-only disk inventory at the bottom of the report: a collapsible folder-size hierarchy followed by the largest files in descending allocated size. Follow references/storage-report.md for the storage_scan input, coverage labels, and size semantics. These rows are informational and must not become deletion candidates automatically.
  6. Render and open the cleanup UI:
    bash
    python3 .../assets/render-cleanup-plan.py /tmp/cleanup-data-<ts>.json
    The script starts a one-shot HTTP server on 127.0.0.1:18347, opens the page in the user's default browser, and blocks until the user clicks Submit or Cancel. On submit it writes /tmp/cleanup-selection-<ts>.json and prints that path to stdout. Tell the user out loud: "браузер открыт — поставь галочки, нажми Submit, потом пингани меня". Then stop and wait.
  7. After the user pings — read the selection JSON, render the user's choices back in chat (categories, item list, total GB, any protected overrides flagged ⚠), and ask one explicit confirmation before deleting. Don't run anything until they say "go".
  8. Apply via the helper script — never hand-rolled rm:
    bash
    python3 .../assets/apply-cleanup-selection.py /tmp/cleanup-selection-<ts>.json
    The script reads selected_items from the selection JSON and executes each item's command field, with built-in safeguards: protected items must appear in protected_overrides or are skipped; commands are validated against a hard-protected path list and a ..-component check before execution; every action is logged to ~/.config/mole/operations.log in Mole-compatible TSV. --dry-run previews without executing. Do not write your own rm blocks in the apply phase — that's how you delete items the user explicitly unchecked. The selection JSON is the single source of truth; if it's not in selected_items, it does not get deleted. Run df -h /System/Volumes/Data before and after for the user-visible delta.
  9. Stop at goal — most users target 100 GB free. Don't go below that just for sport.

The Python script is bash-3.2-friendly, uses only stdlib, and is safe to run from inside the agent's shell. Hard-protected items (per references/never-touch.md) must always appear in the UI with "protected": true + a concrete warning string — the UI dims them and requires a per-item confirm dialog before they can be checked. Never omit a protected item that user data depends on (Telegram tdata, Bear database, password-manager containers, etc.) — visibility teaches the user the surrounding risk.

Show full SKILL.md (1,115 more words)Show less
B. "Set up alerting" (new machine or first time)

Complete the first-use offer above; preserve existing choices when restoring monitoring. For the optional disk responses, also follow references/optional-disk-responses.md to install the bundled helper and dependencies without enabling either mode. Record activation only after independent explicit consent.

  1. Copy assets/mac-health-check and assets/mac-health-action to ~/bin/ (mkdir first; chmod +x).
  2. Copy assets/com.local.mac-health-check.plist to ~/Library/LaunchAgents/.
  3. Copy assets/config.sh to ~/.config/mac-health/config.sh (mkdir first).
  4. brew install vjeantet/tap/alerter (NOT terminal-notifier — it's broken in 2026 on Sequoia/Tahoe).
  5. brew install --cask stats for passive layer.
  6. launchctl load -w ~/Library/LaunchAgents/com.local.mac-health-check.plist.
  7. First run permission prompt: open alerter once interactively (alerter --message test) so macOS asks for Notification Center permission.
  8. Tell the user: 7-day calibration is silent (logs only). Edit config.sh after a week if pattern noisy.

The calibration window applies to the original disk/memory/Jetsam critical sensors. CPU uses conservative developer-workstation defaults and starts immediately; process advisories are silent and deduplicated for the full incident lifetime.

Verify with launchctl list | grep mac-health (should show PID and exit 0) and tail -f ~/Library/Logs/mac-health/health.log.

C. "Already have alerter, but it stopped working / making noise"

Read references/alerting.md § Troubleshooting. Common causes:

  • Stuck/old terminal-notifier (the cask) instead of alerter — replace.
  • LaunchAgent not loading after macOS update — launchctl bootstrap gui/$(id -u) <plist>.
  • Notifications going to Script Editor — TCC permission was revoked, re-grant.
  • Constant alerts during heavy dev work — touch ~/.config/mac-health/silent to suppress.
D. "Uninstall an app cleanly"

mo uninstall <app> — Mole scans 12+ locations for app traces (Application Support, Containers, Group Containers, Caches, Preferences, Saved State, LaunchAgents, LaunchDaemons, login items, etc.). Always show dry-run first, never bypass.

Safety rules (non-negotiable)

  1. Never delete without dry-run + user confirmation for any tier ≥ 5 or any sudo operation.
  2. Never bypass references/never-touch.md — even if user explicitly asks. Push back, explain the consequence.
  3. mo purge and mo clean always with --dry-run first. Show estimated reclaim, get confirm.
  4. For Time Machine backups: tmutil delete <path>, never rm. TM-tagged paths require the tmutil API.
  5. For sudo cleanup of /Library, /private/var/db/*: only the allowlisted subpaths from references/never-touch.md § Sudo allowlist.
  6. No unrestricted auto-cleanup hooks tied to alerts. The only exception is the independently approved, bounded emergency Mole cache profile below 2% in references/optional-disk-responses.md. Its exact-file dry-run is mandatory; prior profile consent replaces the incident-time confirmation only for that profile. Planning at <= 5% never grants deletion permission. Emergency consent cannot authorize ordinary cleanup tiers or protected paths.
  7. No auto-kill hooks tied to CPU alerts. A CPU advisory may offer Stop Process…, but only as an explicit user action. Revalidate PID/executable identity and ownership, confirm, send SIGTERM first, and require a separate confirmation before SIGKILL.
  8. Don't delete swap files. rm /private/var/vm/swapfile* while running = guaranteed kernel panic.
  9. Apply phase reads only the selection JSON. Never hand-roll rm blocks or hard-code paths from the earlier scan when applying. Real incident: agent applied the default-selected recordings list from the original scan, ignoring that the user had unchecked them in the UI before submitting. The fix is structural — use assets/apply-cleanup-selection.py which iterates selected_items from the selection JSON only.

Automated planning uses the helper's typed format_version: 2 branch, with a separate confirmation on the local page bound to that exact selection. The emergency executor is the sole separate profile-consent path described in rule 6; it cannot reuse or broaden a user's interactive selection.

Domain quirks captured

  • macOS Tahoe (26.x) ships /bin/bash 3.2.57. set -u + local var (no init) = unbound on first reference. The shipped script handles this.
  • LaunchAgent does not inherit user PATH. Plist must declare EnvironmentVariables.PATH and use absolute paths for interpreters.
  • StartInterval clock pauses during sleep on Apple Silicon laptops (radar 6630231). Use StartCalendarInterval with explicit minute entries (the shipped plist has all 12).
  • terminal-notifier is effectively unmaintained (last release 2019-11) and silently fails on Sequoia/Tahoe Apple Silicon. Use alerter instead.
  • osascript display notification from launchd attributes to "Script Editor" and is unreliable. Use alerter from launchd context.
  • log show --last 6m is too slow (30+ s) for periodic checks. Poll /Library/Logs/DiagnosticReports/JetsamEvent-*.ips instead — async write delay is acceptable on a 5-min cadence.
  • JetsamEvent-*.ips files live in /Library/Logs/DiagnosticReports/ (system-wide), NOT ~/Library/Logs/DiagnosticReports/.
  • macOS ps %cpu is a decaying average over up to one minute and is measured relative to one logical core, so a process may exceed 100 %. Whole-system CPU from the second iostat sample is 0–100 % across the machine. iostat is much lighter than starting top every five minutes.
  • CPU notifications resolve an owning app without reading command arguments: first from known tool paths (Playwriter, SourceCraft, Logi Options+), then from the outer .app bundle in the executable/parent chain, then from the executable fallback. Alerts show both App and Process so helpers such as Codex (Renderer) are attributed to ChatGPT.
  • CPU counters reset after a gap longer than 15 minutes, so sleep and missed calendar firings cannot masquerade as consecutive high-CPU readings. Open incidents remain open but need fresh recovery readings before rearming.
  • APFS purgeable space lags behind actual deletion by minutes. After cleanup, df may not show the change immediately; wait or run diskutil info /System/Volumes/Data | grep "Container Free".
  • Claude Desktop vm_bundles/claudevm.bundle/ is Claude Cowork, not "Claude Code sandbox" — it's a ~10 GB Ubuntu VM image (rootfs.img, sessiondata.img, efivars.fd, vmIP) for Anthropic's sandboxed code-execution feature. It is auto-provisioned at every Claude Desktop launch via an SHA1 integrity check, so its recent mtime ≠ user activity. Technically safe to delete (no chat/MCP impact), but Claude Desktop silently re-downloads ~10 GB on next launch and runs at ~55 % CPU while doing so. The Claude Code CLI does NOT use this bundle. Recommended classification: Tier 10 discuss-first with quit-Claude-Desktop pre-step and a warning that the bundle returns until Anthropic ships an opt-out toggle (open in anthropics/claude-code#57371).
  • General rule: if you encounter a folder/bundle you can't describe in one sentence (especially > 500 MB), don't guess — delegate a quick lookup to the web-searcher subagent before writing the item's description. See Workflow A step 4.

Outcomes scale

A representative recovery from a Mac that hit ~8 % free after long memory-pressure sessions on a heavily-loaded dev profile (Docker, multiple AI tools, IDEs, browsers):

  • ~25 % of total disk capacity recovered in a 4-hour session
  • Largest single contribution: project build artifacts via mo purge (~30–50 GB across many scan paths)
  • Stale IDE installations + caches + preferences: ~10 GB
  • Docker reclaim (unused images, dead builders, orphan volumes): ~10 GB
  • ~/Downloads review (old installers, recordings, archived repos): ~15 GB
  • Package-manager caches (npm, pnpm, gradle, maven, cargo, brew): ~5 GB
  • Sudo-tier cleanup (system logs, vendor-app depots): ~5–10 GB

Active alerter installed with 7-day calibration window; verified via synthetic disk-trigger test before going live. Stats menubar app installed for passive monitoring.

Numbers scale with workload and disk size. Light users will see less; heavy AI/Docker/IDE users will see more.

© CodeAlive-AI, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 44 other files (references, assets) in skills/maintaining-macos-health of CodeAlive-AI/ai-driven-development.

  • SKILL.md
  • .gitignore
  • README.md
  • assets/apply-cleanup-selection.py
  • assets/build-space-scan.sh
  • assets/com.local.mac-health-check.plist
  • assets/config.sh
  • assets/disk_agent.py
  • assets/disk_responses.py
  • assets/disk_review.py
  • assets/disk_safety.py
  • assets/mac-health-action
  • assets/mac-health-check
  • assets/mac-health-disk
  • assets/mole-core-1.39.0.json
  • assets/mole-exact-file.sh
  • assets/render-cleanup-plan.py
  • assets/render-storage-report.py
  • assets/space-scan/.gitignore
  • … and 26 more

Open the folder on GitHubat commit 4cfeb10

Compare with similar skills

Maintaining macOS Health next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Maintaining macOS Health compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Maintaining macOS Health this skillCodeAlive-AI/ai-driven-development159—~5.5kAutomated safety check: NotesMIT
.NET Crash Dump Collectiondotnet/skills5.6k2 repos~1.1kAutomated safety check: PassMIT
Deploy Observabilityaliyun/alibabacloud-observability-mcp-server166—~2.6kAutomated safety check: NotesNone
Test Minecraft Exporterdirien/minecraft-prometheus-exporter142—~1.6kAutomated safety check: PassApache-2.0
Dashboard Previewm4r1k/Eneru149—~1.4kAutomated safety check: PassMIT
Vuiovuiodev/vuio172—~1.3kAutomated safety check: PassApache-2.0

Similar skills

  • Official

    Configures automatic crash dumps or captures dumps from running processes for modern .NET apps on Linux, macOS and Windows, including Docker and Kubernetes.

    5.6k GitHub starsUsed in 2 repos~1.1k tokens
    DevOps & CloudAuto-check passed
  • Deploy Observability

    aliyun/alibabacloud-observability-mcp-server

    Deploy, start, and update the Alibaba Cloud Observability MCP Server (阿里云可观测 MCP Server).

    166 GitHub stars~2.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check: notes
  • Test Minecraft Exporter

    dirien/minecraft-prometheus-exporter

    End-to-end docker-compose test harness for the minecraft-prometheus-exporter.

    142 GitHub stars~1.6k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Visually verify Eneru browser-dashboard changes against a live daemon or audit an exact deployment.

    149 GitHub stars~1.4k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Vuio

    vuiodev/vuio

    Browse, search and cast a VuIO media library, build playlists, and control DLNA, Chromecast and AirPlay devices on the local network.

    172 GitHub stars~1.3k tokensUpdated 16 days ago
    DevOps & CloudAuto-check passed
  • Agentdock User Guide

    uvwt/agentdock

    当用户询问 AgentDock 是什么、如何使用、配置在哪里、不同平台或安装方式怎样修改配置并生效、如何重启或验证配置、如何发现并配置 Codex/Claude/Grok 等 Coding Agent 的 ACP,以及常见运行问题时使用;覆盖 macOS Desktop、Windows Desktop、Linux 服务、Docker 和直接运行二进制,不用于源码开发与贡献流程。

    1.2k GitHub stars~1.6k tokensUpdated today
    DevOps & CloudAuto-check passed

More from CodeAlive-AI/ai-driven-development

All 22 skills in this repo
  • Investigating Repository History

    CodeAlive-AI/ai-driven-development

    Investigate GitHub repository history before risky code changes using git blame/log, GitHub PRs, review comments, squash/rebase/cherry-pick/rename heuristics, and cited evidence.

    159 GitHub stars~2k tokensUpdated 2 days ago
    Auto-check passed
  • Plugins Management

    CodeAlive-AI/ai-driven-development

    Create, publish, delete, and submit plugins for coding agents (Claude Code, OpenCode, Devin CLI/Desktop).

    159 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check: notes
  • Windows QA Engineer

    CodeAlive-AI/ai-driven-development

    A skill your agent uses when testing Windows 11 desktop apps (WinForms/WPF/UWP) via UFO UIA/Win32 automation MCP.

    159 GitHub stars~1.4k tokensUpdated 2 days ago
    Auto-check passed
  • Agentic Readiness

    CodeAlive-AI/ai-driven-development

    Audit and improve repositories for reliable agentic work across Codex and Codex App, Claude Code, and OpenCode.

    159 GitHub stars~1.2k tokensUpdated 2 days ago
    Auto-check passed
  • Hooks Management

    CodeAlive-AI/ai-driven-development

    Manage hooks and automation for coding agents (Claude Code, Codex CLI, OpenCode, Devin CLI/Desktop).

    159 GitHub stars~4.8k tokensUpdated 2 days ago
    Auto-check: notes
  • Semantic Scholar Deep

    CodeAlive-AI/ai-driven-development

    Deep research over the Semantic Scholar Graph API. An agent skill from CodeAlive-AI/ai-driven-development.

    159 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed

Works with

Categories

Questions about Maintaining macOS Health

What does Maintaining macOS Health do?

Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting. Maintaining macOS Health is an agent skill from CodeAlive-AI/ai-driven-development. Hands-on playbook for macOS disk cleanup, dev-machine optimization, and proactive health alerting.

When should I use Maintaining macOS Health?

Maintaining macOS Health fits situations like: the Mac is full; A process persistently burns CPU; A kernel panic / watchdog timeout / vm-compressor-space-shortage / Jetsam event happened; the user asks to free disk space.

How do I install Maintaining macOS Health in Claude Code?

Run `npx skills add CodeAlive-AI/ai-driven-development --skill maintaining-macos-health -a claude-code`. Or copy the skill folder (skills/maintaining-macos-health in CodeAlive-AI/ai-driven-development) into .claude/skills/maintaining-macos-health in your project. Claude Code loads it when a task matches its description.

How do I install Maintaining macOS Health in Codex?

Run `npx skills add CodeAlive-AI/ai-driven-development --skill maintaining-macos-health -a codex`. Or copy the skill folder (skills/maintaining-macos-health in CodeAlive-AI/ai-driven-development) into .agents/skills/maintaining-macos-health in your project. Codex loads it when a task matches its description.

Can I use Maintaining macOS Health in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add CodeAlive-AI/ai-driven-development --skill maintaining-macos-health -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/maintaining-macos-health, .gemini/skills/maintaining-macos-health, .github/skills/maintaining-macos-health and .opencode/skills/maintaining-macos-health in your project.

What does Maintaining macOS Health need to run?

Going by SKILL.md and its folder, Maintaining macOS Health needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (brew, python3, docker, osascript and codex). Our summary lists: Python 3; A Bash shell; Docker.

Does Maintaining macOS Health access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Maintaining macOS Health safe to install?

Our automated static check of SKILL.md found notes only (runs commands with sudo), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Maintaining macOS Health use?

Maintaining macOS Health is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Maintaining macOS Health use?

About 5.5k tokens (SKILL.md is roughly 22k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 25k tokens, read only when the agent opens those files.

What are the alternatives to Maintaining macOS Health?

Skills that share tags, products or a category with Maintaining macOS Health: .NET Crash Dump Collection (dotnet/skills, 5.6k stars), Deploy Observability (aliyun/alibabacloud-observability-mcp-server, 166 stars), Test Minecraft Exporter (dirien/minecraft-prometheus-exporter, 142 stars) and Dashboard Preview (m4r1k/Eneru, 149 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Maintaining macOS Health?

CodeAlive-AI (a GitHub organization) maintains it in CodeAlive-AI/ai-driven-development, which has 159 GitHub stars. The repository holds 22 skills in this directory. The repository was last updated on October 8, 2026.

Source: CodeAlive-AI/ai-driven-development on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.