Unclear It is not stated whether this hook behaviour reaches every user or is switched on only for some.
A hook is a command or request that Claude Code runs automatically at set moments, such as before or after it uses a tool. Before this change, only command hooks, which run a program, could run on your machine. An http hook belonging to an agent can now run there too. An http hook is one that sends a web request instead of running a program. Any other kind of hook gets the message "only a command hook, or an agent's http hook, runs on this machine".
When the same hook is defined in more than one place, Claude Code now keeps one copy and ranks the sources in this order:
- Managed hooks, set by your organization's administrators, win first
- Hooks passed on the command line with a flag come next
- Personal hooks from your own settings come last
Hooks set by your organization now take priority over hooks from less trusted places, so a personal hook cannot replace one your administrators put in place.
It is not stated whether this hook behaviour reaches every user or is switched on only for some.