Skip to content
Development
Hook

Hooks

What brooks-lint runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

Install
$ npx -y skills add hyhmrright/brooks-lint --agent claude-code

Ships with brooks-lint. Installing the plugin gets these hooks.

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Runs session-start.mjs".
Read hooks/hooks.json

Where it lives

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

Ships withbrooks-lint

AI code reviews grounded in 12 classic engineering books โ€” decay risk diagnostics with book citations, severity labels, and 6 analysis modes including full-sweep auto-fix

Get the whole plugin, auto-invoked