PreToolUse
01Hook Claude Code
One of 8 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing danger-guard.ts and agent-state.sh via npx (2 commands). From mike-shevchuk/dotfiles.
This repository also configures its own agents. See what dotfiles tells them →
Hook Claude Code
One of 8 in settings.json
Runs before the agent uses a tool for Bash tool calls, executing danger-guard.ts and agent-state.sh via npx (2 commands). From mike-shevchuk/dotfiles.
Hook Claude Code
One of 8 in settings.json
Runs when the agent sends a notification, executing notification.ts and agent-state.sh via npx with --notify (2 commands). From mike-shevchuk/dotfiles.
Hook Claude Code
One of 8 in settings.json
Runs when the agent finishes a response, executing stop.ts, cost-logger.ts and agent-state.sh via npx with --chat (3 commands). From mike-shevchuk/dotfiles.
Hook Claude Code
One of 8 in settings.json
Runs when a subagent finishes, executing subagent_stop.ts via npx. From mike-shevchuk/dotfiles.
Hook Claude Code
One of 8 in settings.json
Runs after a tool call finishes for Edit and Write tool calls, running an inline shell check. From mike-shevchuk/dotfiles.
Hook Claude Code
One of 8 in settings.json
Runs when a session starts on ^(startup, resume, clear, compact and fork)$, executing herdr-agent-state.sh. From mike-shevchuk/dotfiles.
Hook Claude Code
One of 8 in settings.json
Runs when you submit a prompt, before the agent sees it, executing agent-state.sh. From mike-shevchuk/dotfiles.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: