AI Coding Agent Hooks
A hook is a shell script your AI coding agent runs automatically at a defined event — before a tool call, after a file edit, before a shell command executes. Used well, hooks enforce the policy you can't rely on a prompt alone to guarantee: block a secret before it's committed, log every tool call for an audit trail, or require a second check before a production command runs. Every hook below is real, copy-paste code — not a concept.
6 results Clear filters →
📁 File & Environment Change Monitoring
6 hooksCatches drift on disk and in config that a tool-call log alone won't show — a file edited outside the agent, a directory added mid-session, a symlink swapped underneath a watched path.
Tell us what you want enforced automatically and we’ll build it — free and public.
Request a hook →