caffeinate

caffeinate is a Claude Code mod by sgript-labs that keeps the Mac awake while Claude works on a long turn or background work, and lets it sleep again when done.

Updated 2026-10-14

What is caffeinate?

caffeinate is a Claude Code mod by sgript-labs that keeps the Mac awake while Claude works on a long turn or background work, and lets it sleep again when done. It is listed under Interface and has no public popularity data yet.

TypeClaude code mod
Authorsgript-labs
Repositorysgript-labs/claude-mods
Popularityno public popularity data yet
CategoryInterface
SecurityLow risk (88/100)
Rank#8,326 of 9,397 Claude Code mods; #3,479 in Interface
LicenseMIT
Last commit2026-10-14
Hooks6 events
Seesclassic hooks
Draws onnothing

Is caffeinate safe to install?

caffeinate 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.

CheckResult
No network accessPass
Starts processes outside the sandboxReview
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.clock.every
$.clock.now
$.command.register
$.process.runruns processes
$.state.get
$.state.set
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install caffeinate?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/sgript-labs/claude-mods
    claude plugin validate ./claude-mods/caffeinate
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add sgript-labs/claude-mods && claude plugin install caffeinate@sgript-labs

Or ask Claude to set it up

Paste this into Claude Code and it installs caffeinate for you:

Install the "caffeinate" Claude Code mod from https://github.com/sgript-labs/claude-mods/tree/main/caffeinate. Run claude plugin validate on it first and show me what it can access before you enable it.

More from sgript-labs/claude-mods

This repository has 3 Claude Code mods on MCPMods.

  • session-hub: Every open Claude Code session in a pane of its own, ordered by who needs you: needs you, your turn, working, idle. (High risk)
  • sprout: A Clawd-style pixel creature above the prompt that reacts to your prompts and to what Claude is doing, and evolves as th (Low risk)