# Hooks guide

Practical examples for automating Claude Code with hooks\.

Canonical: https://claudelist.com/listings/hooks-guide

Category: Hooks

Source: official · Anthropic

Source checked: 2026-10-14

Website: https://code.claude.com/docs/en/hooks-guide

Use the guide to build formatters, validators and notifications around Claude Code events.

## Install or set up

1. Open the linked guide, choose a hook event and command, then add it through `/hooks` or project `.claude/settings.json`. Test it in a disposable session before relying on it.

Installation guide: https://code.claude.com/docs/en/hooks-guide
