What is mac-caffeinater?
mac-caffeinater is a Claude Code mod by tyastonotaufiq that keep your Mac awake for a while, until a time, or while an app runs, from a /mac-caffeinater 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 | Low risk (88/100) |
| Rank | #8,921 of 9,397 Claude Code mods; #3,716 in Interface |
| License | MIT |
| Last commit | 2026-11-01 |
| Hooks | 4 events |
| Sees | only the events it hooks |
| Draws on | Pane |
Is mac-caffeinater safe to install?
mac-caffeinater scores 88/100 on the MCPMods security check: Low risk. Things to review: starts processes outside the sandbox. It passed 7 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 |
| Doesn't read environment variables | Pass |
| 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 | |
$.fs.exists | reads files |
$.process.run | runs processes |
$.process.spawn | |
$.state.get | |
$.state.set | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.log | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.status | draws interface |
How do I install mac-caffeinater?
- 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-caffeinater
- 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-caffeinater@claude-mods
Or ask Claude to set it up
Paste this into Claude Code and it installs mac-caffeinater for you:
Install the "mac-caffeinater" Claude Code mod from https://github.com/tyastonotaufiq/claude-mods/tree/main/mac-caffeinater. 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-cleaner: Find what's using space on your Mac and move the junk to the Trash, from a /mac-cleaner pane inside Claude Code (Review before installing)
- 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)