PreToolUse
01Hook
Runs before the agent uses a tool for local_shell, shell, shell_command, exec_command, terminal, Bash, Shell, sh, zsh, fish, powershell, pwsh, cmd, write_stdin, grep_files, mcp__, spawn_agent, collaboration, read_thread and codex_app tool calls, executing hook.cjs via node with --no-warnings. From hakiyaka/capsule.