PreToolUse
25monte-carlo-data/mc-agent-toolkit
Hook Claude Code
One of 4 in hooks.json
Runs before the agent uses a tool for ^(edit, write, multi_edit, apply_patch)$, ^bash$ and ^skill$ tool calls, executing pre_edit_hook.py, pre_commit_hook.py and skill-beacon.sh via python3 (3 commands). From monte-carlo-data/mc-agent-toolkit.