PreToolUse
01Hook Claude Code
Runs before the agent uses a tool for Bash, Write, Edit, NotebookEdit and Agent tool calls, executing validate-bash.sh, guard-files.sh and guard-agents.sh (3 commands). From MokeyBytes/claude-baseline.
Reusable Claude Code baseline with safety hooks, audit logging, automatic formatting, cost controls, specialist agents, and tested workflows.
Hook Claude Code
Runs before the agent uses a tool for Bash, Write, Edit, NotebookEdit and Agent tool calls, executing validate-bash.sh, guard-files.sh and guard-agents.sh (3 commands). From MokeyBytes/claude-baseline.
Hook Claude Code
Runs after a tool call finishes for Write, Edit and NotebookEdit tool calls, executing format.sh. From MokeyBytes/claude-baseline.
Hook Claude Code
Runs when a session starts, executing session-init.sh. From MokeyBytes/claude-baseline.
Hook Claude Code
Runs when you submit a prompt, before the agent sees it, executing audit-prompt.sh. From MokeyBytes/claude-baseline.
Hook Claude Code
Runs on the ConfigChange event, executing audit-config.sh. From MokeyBytes/claude-baseline.
Hook Claude Code
Runs when the agent finishes a response, executing post-run-tests.sh and session-summary.sh (2 commands). From MokeyBytes/claude-baseline.