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 skills add donaldfilimon/abi --skill aggressive-macos-cleanupgit clone --depth 1 https://github.com/donaldfilimon/abiWrote 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/donaldfilimon/abi/aggressive-macos-cleanup)<a href="https://agentmods.dev/skills/donaldfilimon/abi/aggressive-macos-cleanup"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/aggressive-macos-cleanup/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/donaldfilimon/abi/aggressive-macos-cleanup"><img src="https://agentmods.dev/badge/skills/donaldfilimon/abi/aggressive-macos-cleanup.svg" alt="Reviewed on agentmods" width="80" 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.00044 | $0.03030 |
| Opus 5.5 | $0.00018 | $0.01212 |
| Sonnet 5.5 | $0.00009 | $0.00606 |
| Haiku 4.5 | $0.00004 | $0.00303 |
Grade D, and why
aggressive-macos-cleanup scanned grade D with 2 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 15d 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.
Trash are an admin boundary, not permission to recurse with `sudo rm -rf`. Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
Trash are an admin boundary, not permission to recurse with `sudo rm -rf`. How it starts
The opening of the file, as written. The whole thing — 284 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Aggressive macOS Cleanup
Overview
Be aggressive about proving what is disposable, not about widening deletion commands. A cleanup is complete only when exact targets, protected surfaces, reclaimed bytes, residual blockers, and retained recovery paths are all evidenced separately.
Load the machine's own home/disk, filing, iCloud-Git, and project-move guidance before acting when those skills or files exist. Local instructions can narrow this workflow further.
Non-negotiable boundaries
Never:
- delete by filename similarity, equal dimensions, similar timestamps, or equal byte size alone;
- issue recursive deletion against a home directory, workspace root, broad
Library,/Applications,/Library, mounted volume, unresolved variable, or glob; - use
sudo,chmod,chown, Full Disk Access, or another tool to bypass a permission boundary that has not been resolved to exact, authorized targets; - mutate files inside Photos, Music, or another application-managed library package with filesystem-level deduplication;
- clean UV while its lock or mapped environments have holders, or remove plugin/model/package caches while a process runs from them;
- delete iCloud-managed repositories, force their materialization, or run
git gc,git prune,git repack,git fsck --lost-found, or similar object-walking maintenance there; - combine repositories because names or source trees look alike;
- delete a dirty, unpushed, remote-less, or worktree-bearing checkout;
- empty Trash as one undifferentiated action when it contains projects, documents, personal media, recovery directories, or root-owned bundles;
- count logical duplicate bytes, APFS clone extents, hard-linked names, Trash moves, or snapshot-pinned blocks as physical storage already released.
- mutate a mounted backup destination or any external volume unless the user separately names that exact volume and exact content as cleanup scope.
“Reinstallable,” “generated,” “under the user's home,” “already in Trash,” and “the dependencies can be rehydrated” are triage signals, never sufficient destructive evidence by themselves.
What ships with it
1 file 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.
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.
- 15d ago First seen · 284 lines · 44 tokens per session scan D 7f4df1b71b9f
aggressive-macos-cleanup is a skill published in the GitHub repository donaldfilimon/abi (18 stars, last pushed 5d ago), licensed Apache-2.0. It adds 44 tokens to every session and 3,030 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-15.
aggressive-macos-cleanup compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aggressive-macos-cleanupdonaldfilimon/abi | Skill | 18 | 5d ago | Apache-2.0 | D | 44 | Claude Code, Codex |
| delegationsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 118 | Claude Code |
| clinical-reportssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 71 | Claude Code |
| imaging-data-commonssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |
| clinical-decision-supportsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 97 | Claude Code |
| clinical-imagingsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 69 | Claude Code, Codex |
| curated-bio-datasetssynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 79 | Claude Code, Codex |