From caffeinate-claude
After every Claude response: runs ${CLAUDE_PLUGIN_ROOT}/scripts/allow-sleep.sh. On every prompt you send: runs ${CLAUDE_PLUGIN_ROOT}/scripts/prevent-sleep.sh.
2 events · 2 hooks
Ships in caffeinate-claude. Installing the plugin adds it to Claude Code.
Event handlers and matchers — expand Raw configuration for the full JSON
${CLAUDE_PLUGIN_ROOT}/scripts/allow-sleep.sh5s${CLAUDE_PLUGIN_ROOT}/scripts/prevent-sleep.sh5sWhere this hook configuration is defined
Defined in hooks/hooks.json
stop-event, user-prompt-submit, validation, status-injection
189 plugins in 187 repositories ship this exact hooks config · first indexed Nov 28, 2025
Other plugins' hooks for the same job
npx claudepluginhub vladolaru/claude-code-plugins --plugin caffeinate-claude