notify-before-bash
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.
- Score
- Unranked
- Evidence
- No signals yet
- Last commit
- Not known
- Listed
Install
armory install notify-before-bash --cli claudewrites the file to.claude/hooks/notify-before-bashListed as compatible
# fetches the hook script into:
.claude/hooks/notify-before-bash
# then register it in your settings.json "hooks" block.โณ Add the hook entry to settings.json, then restart the harness.
Needs the armory CLI ยท not on npm yet, build it from cli/ in the repository
What it is
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.
When to use it
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.
How to install / invoke
# Wire this hook script into .claude/settings.json
curl -sL https://raw.githubusercontent.com/davila7/claude-code-templates/main/cli-tool/components/hooks/pre-tool/notify-before-bash.json -o .claude/hooks/notify-before-bash.json
Notes
Extracted from davila7/claude-code-templates, pre-tool category.