Claude Code mod
caffeinate
Keeps the Mac awake while Claude works on a long turn or background work, and lets it sleep again when done.
Install
/plugin marketplace add sgript-labs/claude-mods
/plugin install caffeinate@sgript-labsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L2Writes or runs: runs processes, reads mod state, draws
- Sees
- classic hooks
- Hooks
session.startturn.startclassic.Stopturn.completesession.endcommand.run
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- sgript-labs/claude-mods
- Folder
caffeinate- Marketplace
sgript-labs- Author
- Sgript
- Type
- Workflow mods
- License
- MIT
- Last updated
- 14 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is caffeinate?
Keeps the Mac awake while Claude works on a long turn or background work, and lets it sleep again when done. It is a mod for Claude Code, from sgript-labs/claude-mods on GitHub.
What can the caffeinate mod access?
Its widest reach is "writes or runs" (runs processes, reads mod state, draws). It sees classic hooks. Like any mod, it runs with your permissions.
How do I install caffeinate?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add sgript-labs/claude-mods and then /plugin install caffeinate@sgript-labs.
More workflow mods
headspace-cut
3Xabilimon1/emcc-claude-code-mods
headspace's companion: answers the compactions headspace starts, replacing the marked tool results with one line each and summarizing nothing.
chat-roster
bhargava-gumpula/claude-mods
A floating Mac window with your Claude chats as an org chart of dots (filled = working, hover for the title)
read-cap
12VedantAndhale/claude-pro-kit
Stops Claude reading a file over 1,000 lines whole (with Read, cat or Get-Content) and gives it an outline tool (definitions with line numbers) so it reads only the range it needs. A retry still reads it whole.
compact-brief
Gooner44/ClaudeMods
Tells Claude Code's compaction what to keep: your own words near verbatim first, then what changed, then findings, with tool output described in a few words
lemo-ask
63lemomo-ai/lemo-mod
提问弹窗标题:在提问弹窗顶部显示消息编号和问题数,选项不变 / Question header: shows the message number and question count above the question dialog; options unchanged
config-sync
Berkay2002/berkays-mods
Pulls the shared claude-config repo at session start, tells you when settings.shared.json changed, and applies it with /config-sync apply
Browse the most popular Claude Code mods, all workflow mods, or the skills and MCP server directories.