Hook events

Setup

Fires once for preparation work when Claude Code starts with --init-only, or --init/--maintenance in -p mode, e.g. in CI.

Syntax

Setup

Type to search the reference, templates and lessons.