caffeinate

by Bruno Reis · ★ 0 · updated 8 days ago

PanesStatus lineCommandsvalidates

0

Keeps the computer awake while Claude works: runs caffeinate (or a command of your choice) during turns or for the whole session. Configure with /caffeinate.

install caffeinate

Install

/plugin marketplace add bfreis/claude-caffeinate
/plugin install caffeinate@caffeinate

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.completecommand.runui.render
API calls
$.clock.every$.command.register$.process.run$.process.spawn$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.log$.ui.open$.ui.resolve$.ui.status
Draws
Pane
Can see
classic hooks
Reach
level 2 of 3 other: $.process.spawnother: $.state.getother: $.state.setruns processespersists 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/bfreis/claude-caffeinate
Path in repo
plugins/caffeinate
Source commit
6c47944 the exact code the scan read
Author
Bruno Reis @bfreis
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.