Back to Hooks

Notify Before Bash

Hooks pre-tool 234

Show notification before any Bash command execution for security awareness. This hook displays a simple echo message '🔔 About to run bash command...' before Claude executes any bash command, giving you visibility into when system commands are about to run. Useful for monitoring and auditing command execution.

Install Command
npx claude-code-templates@latest --hook pre-tool/notify-before-bash
View on GitHub
claude-code — notify-before-bash

Content

JSON
{
"description": "Show notification before any Bash command execution for security awareness. This..."
"hooks": {
"PreToolUse": [1 item]
}
}

Stack Builder

0 components

Your stack is empty

Browse components and click the + button to add them to your stack for easy installation.