Skip to main content
Data report

State of Claude Code Hooks 2026

A snapshot of the Claude Code hooks ecosystem, derived directly from the HeyClaude registry. Hooks run shell commands automatically on Claude Code events — this report covers which events they fire on, what they automate, how involved they are to set up, and how consistently they disclose what they do.

Data as of June 20, 2026 (UTC).

87
Total hooks
registry
5
Hook events covered
lifecycle
100
Disclose safety & privacy
100%
75
Simple to set up
75%

Hook event distribution

Which Claude Code lifecycle event each hook fires on, taken from the registry trigger field.

PostToolUse
52
60%
Stop
14
16%
PreToolUse
11
13%
Notification
8
9%
SessionStart
1
1%
Unspecified
1
1%

Most common hook use cases

The tasks hooks automate, from their registry tags (mechanism tags like “hooks” excluded). A hook can cover several use cases.

automation
18
21%
security
12
14%
performance
11
13%
validation
11
13%
testing
10
11%
monitoring
9
10%
optimization
9
10%
notification
8
9%
documentation
7
8%
code-quality
6
7%

Implementation complexity

Setup/maintenance complexity from the registry difficulty score; unscored hooks are omitted.

Simple (score 1–2)
65
75%
Involved (score 5+)
12
14%

Setup prerequisites

Whether a hook needs prerequisites (accounts, tools, or config) before it runs.

Requires prerequisites
20
23%
No prerequisites
67
77%

Download the data

Every figure in this report is available as a machine-readable export, regenerated from the registry. Free to reuse under CC BY 4.0 with attribution.

Methodology & citation

Figures are computed at build time from the 87 Claude Code hooks in the HeyClaude registry, snapshot dated June 20, 2026. The hook event is read from each entry's declared trigger; use cases come from registry tags (mechanism tags such as “hooks” are excluded); complexity uses the maintainer-assigned difficulty score. Safety and privacy disclosure is required during review, which is why coverage is near-total — the differentiator is that every hook says what it executes and what data it touches.

Citing this report? Link to heyclau.de/state-of-claude-code-hooks with the data-as-of date. See also the broader State of Claude Tooling. Browse all hooks.

Track the Claude Code ecosystem

A weekly digest of new hooks, agents, and MCP servers as they land in the registry.