AgentStack
SKILL verified MIT Self-run

Mac Software Storage Cleanup

skill-yangsonhung-awesome-agent-skills-mac-software-storage-cleanup · by YangsonHung

Use when auditing macOS app storage, cleaning priority caches, or recommending reclaimable disk space.

No reviews yet
0 installs
14 views
0.0% view→install

Install

$ agentstack add skill-yangsonhung-awesome-agent-skills-mac-software-storage-cleanup

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

Are you the author of Mac Software Storage Cleanup? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Mac Software Storage Cleanup

Overview

Audit installed software and storage usage on macOS, produce prioritized cleanup recommendations, and execute low-risk cleanup only after confirmation. The skill separates app inventory, cache cleanup, simulator data, and medium-risk application data so destructive actions remain explicit and reversible where possible.

When to Use

Use this skill when the user:

  • Wants to inspect software installed under /Applications, ~/Applications, Homebrew Formula, or Homebrew Cask
  • Wants storage usage ranked by size across apps and common cache locations
  • Wants to clean low-risk paths such as ~/Library/Caches and ~/Library/Developer/CoreSimulator
  • Wants reclaim recommendations with low-risk and medium-risk cleanup separated clearly

Do not use

Do not use this skill when:

  • The user wants to uninstall one specific app instead of doing storage governance
  • The user asks to delete application data directly without explicit confirmation
  • The environment is not macOS or the target paths do not apply

Instructions

  1. Run scripts/report_sizes.sh first to inventory install sources and major storage consumers.
  2. Classify cleanup candidates by priority:
  • Priority 1: caches and simulator data, generally low risk.
  • Priority 2: application data directories, report only and never delete by default.
  • Priority 3: low-yield small caches or logs.
  1. Reports must show category totals, counts, and Top N largest entries.
  2. To inspect priority-2 candidates, run scripts/list_priority2_candidates.sh [target_dir] [TopN].
  3. Only after explicit user confirmation, run scripts/cleanup_priority1.sh or an equivalent low-risk cleanup action.
  4. After cleanup, recompute usage and show a before -> after -> reclaimed summary.

Workflow

Inventory install sources and storage usage
  -> identify high-value cleanup targets
  -> present prioritized recommendations
  -> wait for user confirmation
  -> run low-risk cleanup
  -> verify reclaimed space

Run commands

bash scripts/report_sizes.sh
bash scripts/list_priority2_candidates.sh ~/Library/Application\\ Support 20
bash scripts/cleanup_priority1.sh

Output requirements

  • Show counts and total size for each path category
  • List Top N largest consumers so the user can decide quickly
  • Every cleanup action must include before-and-after comparison
  • Do not delete priority-2 directories without explicit user approval

Boundaries

  • Do not use destructive git commands
  • Do not delete unconfirmed application data
  • If a script fails, fall back to read-only inspection or the smallest safe cleanup scope

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.