Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
[!CAUTION] DEPRECATED AND UNMAINTAINED - Please use Amphetamine instead. Amphetamine supports keep-awake while screen is closed and session locked. Amphetamine can be disabled when battery fall below 10%.
Transform your 9-to-5 into 9:30-to-4:30. Arrive 30min later, leave 30min earlier, while getting the same work done because Claude Code stays powered in your backpack while commuting.
Work smarter, not longer.
Tired of your laptop going to sleep during that perfect coding session because you left your desk 10 minutes? Frustrated when Claude Code disconnects mid-commute because your computer decided it was "idle"?
cc-caffeine is your personal rebellion against screen timeout. It keeps your machine awake so you can:
/plugin marketplace add samber/cc
/plugin install cc-caffeine@samber
cc-caffine status:
- Claude Code is idle
- Claude Code is working hard
"I'll never choose between coding and traveling again. With cc-caffeine, I can do both. My laptop will never sleep while I traverse cities in 5G, my Claude Code will stay connected in my backpack, and my productivity will soar. The future of mobile development is here, and it smells like coffee."
Automatic Intelligence: cc-caffeine knows when Claude Code is working and prevents your computer from sleeping. Period.
System Tray Chic: A tiny ☕️ icon in your status bar to know instantly if you're protected.
Perfect Sessions: Multiple simultaneous Claude Code sessions? No problem.
Zero Configuration: Install, run, forget. It's like coffee, but for your computer.
Hooks will be configured automatically if you import the project as a Claude Code plugin.
Otherwise, configure your Claude Code hooks for a seamless experience:
{
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine caffeinate"
}
]
}
],
"PreToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine caffeinate"
}
]
}
],
"PostToolUse": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine caffeinate"
}
]
}
],
"Notification": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine uncaffeinate"
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine uncaffeinate"
}
]
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "npx cc-caffeine uncaffeinate"
}
]
}
]
}
cc-caffeine uses an intelligent client-server approach:
caffeinate/uncaffeinate) - No Electron loading, just fast JSON writesserver) - Headless Electron app that monitors sessions and manages powerBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
cc-caffeine@samber is listed by samber/cc — review the source before installing
npx claudepluginhub samber/cc --plugin cc-caffeinePlugins from other owners that cover similar ground