# Hooks

Scripts the agent runs automatically on events — before a commit, after a file changes.

Also called: hook, hooks.

## Covered in these lessons

- [Claude Code vs Codex](https://zero2vibecode.com/learn/ai-coding-tools/1-1-claude-code-vs-codex)

Source: https://zero2vibecode.com/glossary/hooks
