By mrexodia
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.
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 claude-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 finishOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub mrexodia/claude-marketplace --plugin claude-clamshellAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
Ultra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.