What is mac-cleaner?
mac-cleaner is a Claude Code mod by tyastonotaufiq that find what's using space on your Mac and move the junk to the Trash, from a /mac-cleaner pane inside Claude Code. It is listed under Interface and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | tyastonotaufiq |
| Repository | tyastonotaufiq/claude-mods |
| Popularity | no public popularity data yet |
| Category | Interface |
| Security | Review before installing (76/100) |
| Rank | #8,922 of 9,397 Claude Code mods; #3,717 in Interface |
| License | MIT |
| Last commit | 2026-11-01 |
| Hooks | 6 events |
| Sees | mcp__mac-cleaner__mac_cleaner_state calls |
| Draws on | Pane |
Is mac-cleaner safe to install?
mac-cleaner scores 76/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables. It passed 6 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| No network access | Pass |
| Starts processes outside the sandbox | Review |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.process.run | runs processes |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.ask | draws interface |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
How do I install mac-cleaner?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/tyastonotaufiq/claude-mods claude plugin validate ./claude-mods/mac-cleaner
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add tyastonotaufiq/claude-mods && claude plugin install mac-cleaner@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs mac-cleaner for you:
Install the "mac-cleaner" Claude Code mod from https://github.com/tyastonotaufiq/claude-mods/tree/main/mac-cleaner. Run claude plugin validate on it first and show me what it can access before you enable it.
More from tyastonotaufiq/claude-mods
This repository has 7 Claude Code mods on MCPMods.
- adb-explorer: Browse, pull, push and clean files on an Android device over adb, in an /adb-explorer pane inside Claude Code (Review before installing)
- english-improver: Shows how a native speaker would write each prompt you send, with short notes, in a band above the prompt (Low risk)
- mac-caffeinater: Keep your Mac awake for a while, until a time, or while an app runs, from a /mac-caffeinater pane inside Claude Code (Low risk)
- mac-monitor: See your Mac's CPU, memory, disk and battery in a line above the prompt, with details and the busiest processes in a /ma (Review before installing)
- mac-uninstaller: Uninstall Mac apps completely, with the files they leave in ~/Library, from a /mac-uninstaller pane inside Claude Code (Review before installing)
- note-taker: Keep notes in a /note-taker pane inside Claude Code, the same notes as on your Note Taker page on claude.ai, and ask Cla (Low risk)