caffeinate

by Sgript · ★ 0 · updated 14 Oct 2026

ToastsCommandsvalidates

0

Keeps the Mac awake while Claude works on a long turn or background work, and lets it sleep again when done.

install caffeinate

Install

/plugin marketplace add sgript-labs/claude-mods
/plugin install caffeinate@sgript-labs

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startturn.startclassic.Stopturn.completesession.endcommand.run
API calls
$.clock.every$.clock.now$.command.register$.process.run$.state.get$.state.set$.ui.log$.ui.toast
Can see
classic hooks
Reach
level 2 of 3 runs processesreads mod statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/sgript-labs/claude-mods
Path in repo
caffeinate
Source commit
ad7e94a the exact code the scan read
Author
Sgript @sgript-labs
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from sgript-labs/claude-mods

session-hub

sgript-labs/claude-mods

Every open Claude Code session in a pane of its own, ordered by who needs you: needs you, your turn, working, idle.

★ 0PanesBandsStatus line

sprout

sgript-labs/claude-mods

A Clawd-style pixel creature above the prompt that reacts to your prompts and to what Claude is doing, and evolves as the context fills.

★ 0BandsGuardsCommands