BeforeTool
01Jamkris/everything-gemini-code
Hook Claude Code
One of 6 in hooks.json
Runs on the BeforeTool event for tool == "run_shell_command", tool == "run_shell_command", tool == "run_shell_command" && tool_input.command matches "^\\s*(npm (install, test, i, ci), pnpm (install, test, i), yarn (install, test, add, remove, upgrade), bun (install, test, i, add, remove), cargo build, make, docker…
not rated 90
+1 4mo ago A
tokens not measured
original MIT