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.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
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.
Prevents your Mac from sleeping while Claude Code is actively working. Close the lid and walk away - your Mac stays awake during Claude's turn and sleeps when it's waiting for your input.
caffeinate and jq commands)claude plugin marketplace add mrexodia/claude-marketplace
claude plugin install clamshell@mrexodia
Four lifecycle hooks coordinate caffeinate:
| Hook | What it does |
|---|---|
| SessionStart | Walks the process tree to find the Claude Code PID and caches it |
| UserPromptSubmit | Starts caffeinate -s -w <claude-pid> at the beginning of every turn |
| Stop | Kills caffeinate when Claude finishes, so your Mac can sleep between turns |
| StopFailure | Same cleanup when a turn ends due to an API error |
The -w <claude-pid> flag is a safety net: if Claude Code crashes, is force-killed, or exits unexpectedly, caffeinate dies automatically because the watched PID no longer exists. No orphan processes, no stale PID files.
/tmp/claude-clamshell-<session-id>.pid)-s flag on caffeinate prevents system sleep (keeps the system awake even on AC power with the lid closed)Stop will not kill caffeinate until after they finishBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
clamshell@mrexodia is listed by mrexodia/claude-marketplace — review the source before installing
npx claudepluginhub mrexodia/claude-marketplace --plugin clamshellPlugins from other owners that cover similar ground