nosleep
by PhilRoli · ★ 0 · updated 27 days ago
/nosleep keeps the Mac awake with the lid closed (pmset disablesleep) until the session ends
Install
/plugin marketplace add PhilRoli/claude-mods/plugin install nosleep@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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.startcommand.runsession.end- API calls
$.command.register$.process.run$.store.delete$.store.get$.store.set$.ui.status- Reach
- level 2 of 3 runs 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/PhilRoli/claude-mods
- Path in repo
plugins/nosleep- Source commit
603946dthe exact code the scan read- Author
- @PhilRoli
- 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 PhilRoli/claude-mods
session-label
PhilRoli/claude-mods
After the first prompt, Haiku names the session and a color is picked, so ClaudePulse can show them.
session-limit-pause
PhilRoli/claude-mods
Tells Claude to wrap up when the 5-hour or weekly usage window is nearly used.
train-pause
PhilRoli/claude-mods
Tells every Claude Code session to finish up and pause shortly before your TrainTracker train arrives.