braynee Docs

PreToolUse

5 braynee hooks on the PreToolUse Claude Code event.

PreToolUse

Before a tool call runs — used here to gate git operations.

braynee registers 5 hooks (1 script) on this event:

node

Runs the braynee node hook on the PreToolUse lifecycle event (node).

  • Matcher: Bash · Guard: Bash(git push *)
  • Matcher: Bash · Guard: Bash(git commit *)
  • Matcher: Bash · Guard: Bash(git checkout *)
  • Matcher: Bash · Guard: Bash(git switch *)
  • Matcher: Bash · Guard: Bash(git push *)

On this page